Image-Text-to-Text
Transformers
Safetensors
English
Retrieval
Multimodal
Embedding
Chain-of-Thought
Reinforcement-Learning
Instructions to use DeepGlint-AI/UniME-R1-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepGlint-AI/UniME-R1-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DeepGlint-AI/UniME-R1-4B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DeepGlint-AI/UniME-R1-4B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DeepGlint-AI/UniME-R1-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepGlint-AI/UniME-R1-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepGlint-AI/UniME-R1-4B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DeepGlint-AI/UniME-R1-4B
- SGLang
How to use DeepGlint-AI/UniME-R1-4B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "DeepGlint-AI/UniME-R1-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepGlint-AI/UniME-R1-4B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "DeepGlint-AI/UniME-R1-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepGlint-AI/UniME-R1-4B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DeepGlint-AI/UniME-R1-4B with Docker Model Runner:
docker model run hf.co/DeepGlint-AI/UniME-R1-4B
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -30,7 +30,7 @@ Ziyong Feng,</span>
|
|
| 30 |
Glint Lab
|
| 31 |
|
| 32 |
[](https://github.com/deepglint/UniME-R1)
|
| 33 |
-
[]()
|
| 34 |
[](https://huggingface.co/DeepGlint-AI)
|
| 35 |
</div>
|
| 36 |
|
|
@@ -147,11 +147,14 @@ UniME-R1 achieves the best overall performance at both model scales. Notably, th
|
|
| 147 |
If you find this repository useful, please use the following BibTeX entry for citation.
|
| 148 |
|
| 149 |
```bibtex
|
| 150 |
-
@misc{
|
| 151 |
-
title
|
| 152 |
-
author
|
| 153 |
-
year
|
| 154 |
-
|
|
|
|
|
|
|
|
|
|
| 155 |
}
|
| 156 |
```
|
| 157 |
|
|
|
|
| 30 |
Glint Lab
|
| 31 |
|
| 32 |
[](https://github.com/deepglint/UniME-R1)
|
| 33 |
+
[](https://arxiv.org/abs/2608.06060)
|
| 34 |
[](https://huggingface.co/DeepGlint-AI)
|
| 35 |
</div>
|
| 36 |
|
|
|
|
| 147 |
If you find this repository useful, please use the following BibTeX entry for citation.
|
| 148 |
|
| 149 |
```bibtex
|
| 150 |
+
@misc{unimer1,
|
| 151 |
+
title={Learning from Failures: Retrieval-Centric CoT via Hard Negatives for Unified Multimodal Retrieval},
|
| 152 |
+
author={Zelong Sun and Jun Wang and Kaicheng Yang and Tiancheng Gu and Ziyong Feng and Zhiwu Lu},
|
| 153 |
+
year={2026},
|
| 154 |
+
eprint={2608.06060},
|
| 155 |
+
archivePrefix={arXiv},
|
| 156 |
+
primaryClass={cs.CV},
|
| 157 |
+
url={https://arxiv.org/abs/2608.06060},
|
| 158 |
}
|
| 159 |
```
|
| 160 |
|