Text Generation
Transformers
Safetensors
qwen3
trajectory2gym
tool-use
supervised-fine-tuning
conversational
text-generation-inference
Instructions to use mis2/Trajectory2Gym-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mis2/Trajectory2Gym-14B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mis2/Trajectory2Gym-14B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("mis2/Trajectory2Gym-14B") model = AutoModelForCausalLM.from_pretrained("mis2/Trajectory2Gym-14B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mis2/Trajectory2Gym-14B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mis2/Trajectory2Gym-14B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mis2/Trajectory2Gym-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mis2/Trajectory2Gym-14B
- SGLang
How to use mis2/Trajectory2Gym-14B 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 "mis2/Trajectory2Gym-14B" \ --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": "mis2/Trajectory2Gym-14B", "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 "mis2/Trajectory2Gym-14B" \ --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": "mis2/Trajectory2Gym-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use mis2/Trajectory2Gym-14B with Docker Model Runner:
docker model run hf.co/mis2/Trajectory2Gym-14B
Add paper, project page, and code links
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,19 +1,24 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
| 3 |
library_name: transformers
|
|
|
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
-
base_model: Qwen/Qwen3-14B
|
| 6 |
-
base_model_relation: finetune
|
| 7 |
tags:
|
| 8 |
- trajectory2gym
|
| 9 |
- tool-use
|
| 10 |
- supervised-fine-tuning
|
| 11 |
-
|
| 12 |
-
- mis2/Trajectory2gym
|
| 13 |
---
|
| 14 |
|
| 15 |
# Trajectory2Gym-14B
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
Full-parameter supervised post-training for decision-grounded tool use. This checkpoint is the paper's corresponding scale, not a support-depth or component-ablation model.
|
| 18 |
|
| 19 |
## Reported evaluation
|
|
@@ -43,4 +48,4 @@ The public candidate corpus is not the exact rendered training view. The 30B-A3B
|
|
| 43 |
|
| 44 |
Weight files total 29,536,665,656 bytes. The source training-view SHA-256 is b3847c5e7728ae1c1ca40393c51fec70852914de6ae1908cfe8c02ee01503f8d. RELEASE_MANIFEST.json provides per-file checksums and archive-byte verification details. Internal source paths, credentials, optimizer states, training arguments and raw logs are excluded. Only non-inference path metadata may be removed from JSON configurations, as recorded in the manifest.
|
| 45 |
|
| 46 |
-
Apache-2.0; the base model's license is retained as LICENSE. Tool execution should use permissioned environments and independent authorization for high-impact actions.
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3-14B
|
| 3 |
+
datasets:
|
| 4 |
+
- mis2/Trajectory2gym
|
| 5 |
library_name: transformers
|
| 6 |
+
license: apache-2.0
|
| 7 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
| 8 |
tags:
|
| 9 |
- trajectory2gym
|
| 10 |
- tool-use
|
| 11 |
- supervised-fine-tuning
|
| 12 |
+
base_model_relation: finetune
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# Trajectory2Gym-14B
|
| 16 |
|
| 17 |
+
This repository contains the 14B model introduced in [Trajectory2Gym: Decision-Grounded Compositional Interaction Synthesis for Tool-Use Agents](https://huggingface.co/papers/2610.33568).
|
| 18 |
+
|
| 19 |
+
- Project page: https://yihaohu0118.github.io/Trajectory2Gym-page/
|
| 20 |
+
- Code: https://github.com/yihaohu0118/Trajectory2Gym
|
| 21 |
+
|
| 22 |
Full-parameter supervised post-training for decision-grounded tool use. This checkpoint is the paper's corresponding scale, not a support-depth or component-ablation model.
|
| 23 |
|
| 24 |
## Reported evaluation
|
|
|
|
| 48 |
|
| 49 |
Weight files total 29,536,665,656 bytes. The source training-view SHA-256 is b3847c5e7728ae1c1ca40393c51fec70852914de6ae1908cfe8c02ee01503f8d. RELEASE_MANIFEST.json provides per-file checksums and archive-byte verification details. Internal source paths, credentials, optimizer states, training arguments and raw logs are excluded. Only non-inference path metadata may be removed from JSON configurations, as recorded in the manifest.
|
| 50 |
|
| 51 |
+
Apache-2.0; the base model's license is retained as LICENSE. Tool execution should use permissioned environments and independent authorization for high-impact actions.
|