Instructions to use shunzou05/TerminalHorizon-122B-A10B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shunzou05/TerminalHorizon-122B-A10B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="shunzou05/TerminalHorizon-122B-A10B") 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("shunzou05/TerminalHorizon-122B-A10B") model = AutoModelForMultimodalLM.from_pretrained("shunzou05/TerminalHorizon-122B-A10B", 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 shunzou05/TerminalHorizon-122B-A10B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shunzou05/TerminalHorizon-122B-A10B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shunzou05/TerminalHorizon-122B-A10B", "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/shunzou05/TerminalHorizon-122B-A10B
- SGLang
How to use shunzou05/TerminalHorizon-122B-A10B 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 "shunzou05/TerminalHorizon-122B-A10B" \ --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": "shunzou05/TerminalHorizon-122B-A10B", "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 "shunzou05/TerminalHorizon-122B-A10B" \ --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": "shunzou05/TerminalHorizon-122B-A10B", "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 shunzou05/TerminalHorizon-122B-A10B with Docker Model Runner:
docker model run hf.co/shunzou05/TerminalHorizon-122B-A10B
TerminalHorizon-122B-A10B
Scaling Agentic Data for Long-Horizon Terminal Intelligence
TerminalHorizon is a fully automated data synthesis engine for long-horizon terminal agents. Grounded in real-world professional work, it constructs executable environments and generates training trajectories that connect agentic behavioral patterns across stages toward a shared goal.
This repository releases TerminalHorizon-122B-A10B, obtained by supervised fine-tuning Qwen3.5-122B-A10B on TerminalHorizon-3K.
Resources
| Resource | Description |
|---|---|
| TerminalHorizon-Environment | Executable terminal-task environments. |
| TerminalHorizon-3K | Long-horizon training trajectories. |
| TerminalHorizon-27B | Fine-tuned Qwen3.5-27B. |
| TerminalHorizon-35B-A3B | Fine-tuned Qwen3.5-35B-A3B. |
| TerminalHorizon-122B-A10B | Fine-tuned Qwen3.5-122B-A10B. |
Model Overview
| Property | Value |
|---|---|
| Base model | Qwen/Qwen3.5-122B-A10B |
| Training method | Supervised fine-tuning |
| Training dataset | TerminalHorizon-3K |
| Training trajectories | 2,852 |
| Weight precision | BF16 |
| Checkpoint format | Hugging Face Transformers / Safetensors |
The terminal is a shared interaction interface, not a restriction to software tasks. The training environments span 25 professional domains and 463 subdomains, including software engineering, machine learning, education, agriculture, healthcare, finance, and scientific research.
TerminalHorizon focuses on meaningful work and connected agent behavior, rather than task length alone.
Load the Model
Use a version of Transformers that supports Qwen3.5 MoE:
from transformers import AutoProcessor, Qwen3_5MoeForConditionalGeneration
model_id = "shunzou05/TerminalHorizon-122B-A10B"
processor = AutoProcessor.from_pretrained(model_id)
model = Qwen3_5MoeForConditionalGeneration.from_pretrained(
model_id,
dtype="auto",
device_map="auto",
)
Refer to the base model documentation for inference and serving examples.
Citation
@misc{zou2026scalingagenticdatalonghorizon,
title={Scaling Agentic Data for Long-Horizon Terminal Intelligence},
author={Shun Zou and Ziyu Ma and Yi Zou and Yong Wang and Lin Chen and Zehui Chen and Guanhua Chen and Xiangxiang Chu and Feng Zhao},
year={2026},
eprint={2610.13166},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2610.13166},
}
- Downloads last month
- 89
