Image-Text-to-Text
Transformers
Safetensors
qwen3_5
video
multimodal
robotics
embodied-ai
evaluation
qwen
conversational
Instructions to use HuggingFriends/RoboJudge-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuggingFriends/RoboJudge-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="HuggingFriends/RoboJudge-9B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("HuggingFriends/RoboJudge-9B") model = AutoModelForMultimodalLM.from_pretrained("HuggingFriends/RoboJudge-9B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HuggingFriends/RoboJudge-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HuggingFriends/RoboJudge-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuggingFriends/RoboJudge-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/HuggingFriends/RoboJudge-9B
- SGLang
How to use HuggingFriends/RoboJudge-9B 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 "HuggingFriends/RoboJudge-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuggingFriends/RoboJudge-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "HuggingFriends/RoboJudge-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuggingFriends/RoboJudge-9B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use HuggingFriends/RoboJudge-9B with Docker Model Runner:
docker model run hf.co/HuggingFriends/RoboJudge-9B
Update pipeline tag and add paper, project page, and code links
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
library_name: transformers
|
| 4 |
-
|
|
|
|
| 5 |
tags:
|
| 6 |
- video
|
| 7 |
- multimodal
|
|
@@ -13,6 +13,8 @@ tags:
|
|
| 13 |
|
| 14 |
# RoboJudge-9B
|
| 15 |
|
|
|
|
|
|
|
| 16 |
RoboJudge-9B is a multimodal judge for generated embodied-manipulation videos.
|
| 17 |
It scores two axes on a 1–5 scale:
|
| 18 |
|
|
@@ -21,6 +23,10 @@ It scores two axes on a 1–5 scale:
|
|
| 21 |
- **Instruction Alignment (IA):** agent match, object correctness, and goal
|
| 22 |
completion.
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Benchmark results on RoboJudge-Bench
|
| 26 |
|
|
@@ -30,9 +36,8 @@ It scores two axes on a 1–5 scale:
|
|
| 30 |
| IA | 0.775 |
|
| 31 |
| Overall | 0.719 |
|
| 32 |
|
| 33 |
-
|
| 34 |
## License
|
| 35 |
|
| 36 |
The RoboJudge release code and model weights are provided under Apache-2.0.
|
| 37 |
Use of the associated datasets is additionally subject to the terms of their
|
| 38 |
-
upstream sources.
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
pipeline_tag: video-text-to-text
|
| 5 |
tags:
|
| 6 |
- video
|
| 7 |
- multimodal
|
|
|
|
| 13 |
|
| 14 |
# RoboJudge-9B
|
| 15 |
|
| 16 |
+
This model was presented in the paper [RoboJudge: Multimodal Language Models as Judges for Embodied Video Generation](https://huggingface.co/papers/2610.27782).
|
| 17 |
+
|
| 18 |
RoboJudge-9B is a multimodal judge for generated embodied-manipulation videos.
|
| 19 |
It scores two axes on a 1–5 scale:
|
| 20 |
|
|
|
|
| 23 |
- **Instruction Alignment (IA):** agent match, object correctness, and goal
|
| 24 |
completion.
|
| 25 |
|
| 26 |
+
## Links
|
| 27 |
+
|
| 28 |
+
- Project page: https://spherelab.ai/RoboJudge/
|
| 29 |
+
- Code: https://github.com/Sphere-AI-Lab/RoboJudge
|
| 30 |
|
| 31 |
## Benchmark results on RoboJudge-Bench
|
| 32 |
|
|
|
|
| 36 |
| IA | 0.775 |
|
| 37 |
| Overall | 0.719 |
|
| 38 |
|
|
|
|
| 39 |
## License
|
| 40 |
|
| 41 |
The RoboJudge release code and model weights are provided under Apache-2.0.
|
| 42 |
Use of the associated datasets is additionally subject to the terms of their
|
| 43 |
+
upstream sources.
|