Instructions to use ACERobotics/ACE-Brain-0-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ACERobotics/ACE-Brain-0-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ACERobotics/ACE-Brain-0-8B") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ACERobotics/ACE-Brain-0-8B") model = AutoModelForMultimodalLM.from_pretrained("ACERobotics/ACE-Brain-0-8B") 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ACERobotics/ACE-Brain-0-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ACERobotics/ACE-Brain-0-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ACERobotics/ACE-Brain-0-8B", "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/ACERobotics/ACE-Brain-0-8B
- SGLang
How to use ACERobotics/ACE-Brain-0-8B 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 "ACERobotics/ACE-Brain-0-8B" \ --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": "ACERobotics/ACE-Brain-0-8B", "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 "ACERobotics/ACE-Brain-0-8B" \ --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": "ACERobotics/ACE-Brain-0-8B", "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 ACERobotics/ACE-Brain-0-8B with Docker Model Runner:
docker model run hf.co/ACERobotics/ACE-Brain-0-8B
Upload README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,6 @@ Extensive evaluation across **24** benchmarks demonstrates that ACE-Brain achiev
|
|
| 38 |
|
| 39 |
## Key Features
|
| 40 |
|
| 41 |
-
|
| 42 |
- Unified multimodal foundation model for embodied intelligence
|
| 43 |
- Strong spatial reasoning as a universal intelligence scaffold
|
| 44 |
- Supports diverse embodiment platforms:
|
|
@@ -49,18 +48,8 @@ Extensive evaluation across **24** benchmarks demonstrates that ACE-Brain achiev
|
|
| 49 |
- Cross-domain generalization across perception, reasoning, and planning
|
| 50 |
- Evaluated on 24 real-world embodied intelligence benchmarks
|
| 51 |
|
| 52 |
-
## Core Capabilities
|
| 53 |
-
|
| 54 |
-
<div align="center">
|
| 55 |
-
<img src="./assets/fig2.png" width=800>
|
| 56 |
-
</div>
|
| 57 |
-
|
| 58 |
## Performance Highlights
|
| 59 |
|
| 60 |
-
<div align="center">
|
| 61 |
-
<img src="./assets/radarchart.png" width=800>
|
| 62 |
-
</div>
|
| 63 |
-
|
| 64 |
ACE-Brain achieves strong performance across **24 benchmarks covering Spatial Intelligence, Embodied Interaction, Autonomous Driving, and Low-Altitude Sensing**, consistently outperforming existing open-source embodied VLMs and remaining competitive with closed-source models.
|
| 65 |
|
| 66 |
The model shows robust capability in **spatial reasoning, physical interaction understanding, task-oriented decision-making, and dynamic scene interpretation**, enabling reliable performance across diverse real-world embodiment scenarios.
|
|
@@ -96,9 +85,54 @@ Despite its domain specialization, ACE-Brain maintains strong general multimodal
|
|
| 96 |
<img src="./assets/table4.png" width=800>
|
| 97 |
</div>
|
| 98 |
|
|
|
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
-
> **Bold** numbers indicate the best results, <u>underlined</u> numbers indicate the second-best results, and results marked with \* are obtained using our evaluation framework.
|
| 102 |
|
| 103 |
|
| 104 |
## Citation
|
|
|
|
| 38 |
|
| 39 |
## Key Features
|
| 40 |
|
|
|
|
| 41 |
- Unified multimodal foundation model for embodied intelligence
|
| 42 |
- Strong spatial reasoning as a universal intelligence scaffold
|
| 43 |
- Supports diverse embodiment platforms:
|
|
|
|
| 48 |
- Cross-domain generalization across perception, reasoning, and planning
|
| 49 |
- Evaluated on 24 real-world embodied intelligence benchmarks
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
## Performance Highlights
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
ACE-Brain achieves strong performance across **24 benchmarks covering Spatial Intelligence, Embodied Interaction, Autonomous Driving, and Low-Altitude Sensing**, consistently outperforming existing open-source embodied VLMs and remaining competitive with closed-source models.
|
| 54 |
|
| 55 |
The model shows robust capability in **spatial reasoning, physical interaction understanding, task-oriented decision-making, and dynamic scene interpretation**, enabling reliable performance across diverse real-world embodiment scenarios.
|
|
|
|
| 85 |
<img src="./assets/table4.png" width=800>
|
| 86 |
</div>
|
| 87 |
|
| 88 |
+
> **Bold** numbers indicate the best results, <u>underlined</u> numbers indicate the second-best results, and results marked with \* are obtained using our evaluation framework.
|
| 89 |
|
| 90 |
+
## Inference Example
|
| 91 |
+
```
|
| 92 |
+
from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
|
| 93 |
+
|
| 94 |
+
# default: Load the model on the available device(s)
|
| 95 |
+
model = Qwen3VLForConditionalGeneration.from_pretrained(
|
| 96 |
+
"ACE-Brain/ACE-Brain-8B", dtype="auto", device_map="auto"
|
| 97 |
+
)
|
| 98 |
+
|
| 99 |
+
processor = AutoProcessor.from_pretrained("ACE-Brain/ACE-Brain-8B")
|
| 100 |
+
|
| 101 |
+
messages = [
|
| 102 |
+
{
|
| 103 |
+
"role": "user",
|
| 104 |
+
"content": [
|
| 105 |
+
{
|
| 106 |
+
"type": "image",
|
| 107 |
+
"image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
|
| 108 |
+
},
|
| 109 |
+
{"type": "text", "text": "Describe this image."},
|
| 110 |
+
],
|
| 111 |
+
}
|
| 112 |
+
]
|
| 113 |
+
|
| 114 |
+
# Preparation for inference
|
| 115 |
+
inputs = processor.apply_chat_template(
|
| 116 |
+
messages,
|
| 117 |
+
tokenize=True,
|
| 118 |
+
add_generation_prompt=True,
|
| 119 |
+
return_dict=True,
|
| 120 |
+
return_tensors="pt"
|
| 121 |
+
)
|
| 122 |
+
inputs = inputs.to(model.device)
|
| 123 |
+
|
| 124 |
+
# Inference: Generation of the output
|
| 125 |
+
generated_ids = model.generate(**inputs, max_new_tokens=128)
|
| 126 |
+
generated_ids_trimmed = [
|
| 127 |
+
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
|
| 128 |
+
]
|
| 129 |
+
output_text = processor.batch_decode(
|
| 130 |
+
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
|
| 131 |
+
)
|
| 132 |
+
print(output_text)
|
| 133 |
+
|
| 134 |
+
```
|
| 135 |
|
|
|
|
| 136 |
|
| 137 |
|
| 138 |
## Citation
|