Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
automaster
skill-ft
llm-agents
tool-use
conversational
Instructions to use RUC-AIBOX/AutoMaster-bc-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RUC-AIBOX/AutoMaster-bc-9b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RUC-AIBOX/AutoMaster-bc-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("RUC-AIBOX/AutoMaster-bc-9b") model = AutoModelForMultimodalLM.from_pretrained("RUC-AIBOX/AutoMaster-bc-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 RUC-AIBOX/AutoMaster-bc-9b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RUC-AIBOX/AutoMaster-bc-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": "RUC-AIBOX/AutoMaster-bc-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RUC-AIBOX/AutoMaster-bc-9b
- SGLang
How to use RUC-AIBOX/AutoMaster-bc-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 "RUC-AIBOX/AutoMaster-bc-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": "RUC-AIBOX/AutoMaster-bc-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "RUC-AIBOX/AutoMaster-bc-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": "RUC-AIBOX/AutoMaster-bc-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use RUC-AIBOX/AutoMaster-bc-9b with Docker Model Runner:
docker model run hf.co/RUC-AIBOX/AutoMaster-bc-9b
Add public AutoMaster model card, benchmark results and project figures
Browse files- .gitattributes +2 -0
- README.md +104 -3
- assets/automaster-framework.png +3 -0
- assets/automaster-logo.png +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/automaster-logo.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/automaster-framework.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,6 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# AutoMaster-bc-9b
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3.5-9B
|
| 3 |
+
library_name: transformers
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- automaster
|
| 9 |
+
- skill-ft
|
| 10 |
+
- llm-agents
|
| 11 |
+
- tool-use
|
| 12 |
+
- arxiv:2611.26510
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
# AutoMaster-bc-9b
|
| 16 |
|
| 17 |
+
<p align="center">
|
| 18 |
+
<img src="assets/automaster-logo.png" alt="AutoMaster: a teacher robot shares a skill with a student robot" width="760">
|
| 19 |
+
</p>
|
| 20 |
+
|
| 21 |
+
**AutoMaster-bc-9b is the 9B AutoMaster checkpoint for multi-step web search and evidence-based question answering.** Based on **Qwen3.5-9B**, it is trained with **Skill-Guided Fine-Tuning (Skill-FT)** on demonstrations produced by a skill-guided teacher.
|
| 22 |
+
|
| 23 |
+
<p align="center">
|
| 24 |
+
<a href="https://arxiv.org/abs/2611.26510"><img src="https://img.shields.io/badge/Paper-arXiv-B31B1B?logo=arxiv&logoColor=white" alt="Paper"></a>
|
| 25 |
+
<a href="https://aweai-team.github.io/AutoMaster/"><img src="https://img.shields.io/badge/Project-Homepage-606f2e" alt="Project homepage"></a>
|
| 26 |
+
<a href="https://huggingface.co/collections/RUC-AIBOX/automaster"><img src="https://img.shields.io/badge/🤗_Hugging_Face-Collection-FFD21E" alt="AutoMaster model collection"></a>
|
| 27 |
+
<a href="https://github.com/RUCAIBox/AutoMaster"><img src="https://img.shields.io/badge/Code-GitHub-181717?logo=github&logoColor=white" alt="Code on GitHub"></a>
|
| 28 |
+
</p>
|
| 29 |
+
|
| 30 |
+
## Model Overview
|
| 31 |
+
|
| 32 |
+
| Property | Description |
|
| 33 |
+
| --- | --- |
|
| 34 |
+
| Base model | [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B) |
|
| 35 |
+
| Domain | Search |
|
| 36 |
+
| Benchmark | BrowseComp (Lite-185) |
|
| 37 |
+
| Training | Full-parameter supervised fine-tuning with Skill-FT |
|
| 38 |
+
| Release format | Full model weights in Hugging Face Safetensors format |
|
| 39 |
+
| Inference framework | [AweAgent](https://github.com/RUCAIBox/AutoMaster/tree/main/recipes/inference) |
|
| 40 |
+
|
| 41 |
+
This repository contains the **fine-tuned student model**. Generated skills shape the teacher's training demonstrations and are absent during student evaluation.
|
| 42 |
+
|
| 43 |
+
## Method: Skill-Guided Fine-Tuning
|
| 44 |
+
|
| 45 |
+
Successful trajectories can still demonstrate weak habits, such as unsupported assumptions or superficial verification. AutoMaster uses an LLM agent to study trajectories, develop natural-language skills, and select demonstrations that teach more effective behavior.
|
| 46 |
+
|
| 47 |
+
- **Inner loop:** analyze behavior, design and test skills, and curate teacher demonstrations.
|
| 48 |
+
- **Outer loop:** fine-tune the student and use evaluation feedback to guide the next round.
|
| 49 |
+
|
| 50 |
+
<p align="center">
|
| 51 |
+
<img src="assets/automaster-framework.png" alt="AutoMaster inner loop for skill design and demonstration selection, and outer loop for student training and evaluation" width="100%">
|
| 52 |
+
</p>
|
| 53 |
+
|
| 54 |
+
*Framework figure from the [AutoMaster paper](https://arxiv.org/abs/2611.26510), distributed with the [public project repository](https://github.com/RUCAIBox/AutoMaster).*
|
| 55 |
+
|
| 56 |
+
## Training
|
| 57 |
+
|
| 58 |
+
The paper uses **512 training trajectories** and **three epochs of full-parameter SFT** per run. Skill instructions remain in the training context. The Vanilla SFT comparison uses the same teacher, task pool, training set size, and SFT recipe, with successful unguided teacher trajectories.
|
| 59 |
+
|
| 60 |
+
## Evaluation
|
| 61 |
+
|
| 62 |
+
Results on **BrowseComp (Lite-185)**, as reported in [Table 1 of the paper](https://arxiv.org/html/2611.26510v1#S4.T1):
|
| 63 |
+
|
| 64 |
+
| Model | Accuracy (%) ↑ (mean ± SD) |
|
| 65 |
+
| --- | ---: |
|
| 66 |
+
| Qwen3.5-9B | 35.50 ± 2.72 |
|
| 67 |
+
| Qwen3.5-9B + Vanilla SFT | 46.85 ± 2.98 |
|
| 68 |
+
| **AutoMaster-bc-9b** | **51.53 ± 1.25** |
|
| 69 |
+
|
| 70 |
+
Scores are the mean ± sample standard deviation over **three evaluation runs per checkpoint**. Evaluation uses the domain-specific AweAgent configuration, without generated skill prompts. See the [paper](https://arxiv.org/html/2611.26510v1) and [inference guide](https://github.com/RUCAIBox/AutoMaster/blob/main/recipes/inference/README.md) for task assets, tools, and evaluation settings.
|
| 71 |
+
|
| 72 |
+
## Using the Model
|
| 73 |
+
|
| 74 |
+
Use a Qwen3.5-compatible serving backend and keep the checkpoint's tokenizer and chat template with its weights. The public repository provides a serving script and benchmark configurations:
|
| 75 |
+
|
| 76 |
+
```bash
|
| 77 |
+
# Run from the AutoMaster repository after setting up its inference environment.
|
| 78 |
+
export MODEL_PATH="RUC-AIBOX/AutoMaster-bc-9b"
|
| 79 |
+
export SERVED_MODEL_NAME=automaster
|
| 80 |
+
bash recipes/inference/serve_qwen35.sh
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
In a separate terminal with AweAgent installed and the benchmark assets configured:
|
| 84 |
+
|
| 85 |
+
```bash
|
| 86 |
+
awe-agent run --config recipes/inference/browsecomp.yaml --max-instances 1
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
Follow the [inference guide](https://github.com/RUCAIBox/AutoMaster/blob/main/recipes/inference/README.md) to configure the endpoint and required tools or sandbox.
|
| 90 |
+
|
| 91 |
+
## Related Models
|
| 92 |
+
|
| 93 |
+
[bc-4b](https://huggingface.co/RUC-AIBOX/AutoMaster-bc-4b) · [bc-9b](https://huggingface.co/RUC-AIBOX/AutoMaster-bc-9b) · [doc2repo-4b](https://huggingface.co/RUC-AIBOX/AutoMaster-doc2repo-4b) · [doc2repo-9b](https://huggingface.co/RUC-AIBOX/AutoMaster-doc2repo-9b) · [tb21-4b](https://huggingface.co/RUC-AIBOX/AutoMaster-tb21-4b) · [tb21-9b](https://huggingface.co/RUC-AIBOX/AutoMaster-tb21-9b)
|
| 94 |
+
|
| 95 |
+
## Citation
|
| 96 |
|
| 97 |
+
```bibtex
|
| 98 |
+
@misc{chen2026automasterautonomousposttrainingmaking,
|
| 99 |
+
title={AutoMaster: Autonomous Post-Training by Making the Same Model a Better Teacher},
|
| 100 |
+
author={Guoxin Chen and Shuang Sun and Fanzhe Meng and Xinyu Tang and Ruihua Song and Wayne Xin Zhao},
|
| 101 |
+
year={2026},
|
| 102 |
+
eprint={2611.26510},
|
| 103 |
+
archivePrefix={arXiv},
|
| 104 |
+
primaryClass={cs.CL},
|
| 105 |
+
url={https://arxiv.org/abs/2611.26510}
|
| 106 |
+
}
|
| 107 |
+
```
|
assets/automaster-framework.png
ADDED
|
Git LFS Details
|
assets/automaster-logo.png
ADDED
|
Git LFS Details
|