Text Generation
Transformers
Safetensors
English
agent
reinforcement-learning
grpo
distillation
alfworld
webshop
search-r1
Run this model with HF Jobs
Run TanQT24/ATOD_ckpt on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/TanQT24/ATOD_ckpt. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TanQT24/ATOD_ckpt on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/TanQT24/ATOD_ckpt. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/TanQT24/ATOD_ckpt. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use TanQT24/ATOD_ckpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TanQT24/ATOD_ckpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TanQT24/ATOD_ckpt")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TanQT24/ATOD_ckpt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TanQT24/ATOD_ckpt with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TanQT24/ATOD_ckpt" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TanQT24/ATOD_ckpt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TanQT24/ATOD_ckpt
- SGLang
How to use TanQT24/ATOD_ckpt 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 "TanQT24/ATOD_ckpt" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TanQT24/ATOD_ckpt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "TanQT24/ATOD_ckpt" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TanQT24/ATOD_ckpt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TanQT24/ATOD_ckpt with Docker Model Runner:
docker model run hf.co/TanQT24/ATOD_ckpt
Update model card: drop step numbers from checkpoint names
Browse files31 unmodified lines3233343536373839404142433 unmodified lines4748495051525310 unmodified lines646566676869706 unmodified lines777879808182834 unmodified lines888990919293943 unmodified lines98991001011021031041 unmodified line10610710810911011111231 unmodified lines| Environment | Teacher | Subfolder ||---|---|---|| ALFWorld | Qwen3-4B (GRPO, step 150) | `alfworld_grpo_qwen3_4b_step150/actor_hf` || ALFWorld | Qwen3-30B-A3B (GRPO, step 200) | `alfworld_grpo_qwen3_30ba3b_step200/actor_hf` || WebShop | Qwen3-4B (GRPO, step 150) | `webshop_grpo_qwen3_4b_step150/actor_hf` || WebShop | Qwen3-30B-A3B (GRPO, step 200) | `webshop_grpo_qwen3_30ba3b_step200/actor_hf` || Search-QA | Qwen3-4B (GRPO, step 150) | `search_grpo_qwen3_4b_step150/actor_hf` || Search-QA | Qwen3-30B-A3B (GRPO, step 200) | `search_grpo_qwen3_30ba3b_step200/actor_hf` |## Download3 unmodified linespip install -U "huggingface_hub[cli]"hf download TanQT24/ATOD_ckpt \--include "alfworld_grpo_qwen3_4b_step150/*" \--local-dir ~/ckpts/ATOD_ckpt```10 unmodified linespath = snapshot_download(repo_id="TanQT24/ATOD_ckpt",allow_patterns=["search_grpo_qwen3_4b_step150/*"],local_dir="~/ckpts/ATOD_ckpt",)```6 unmodified linesfrom transformers import AutoModelForCausalLM, AutoTokenizerrepo = "TanQT24/ATOD_ckpt"sub = "alfworld_grpo_qwen3_4b_step150/actor_hf"tokenizer = AutoTokenizer.from_pretrained(repo, subfolder=sub)model = AutoModelForCausalLM.from_pretrained(4 unmodified lines### vLLM```bashvllm serve ~/ckpts/ATOD_ckpt/alfworld_grpo_qwen3_4b_step150/actor_hf \--served-model-name atod-teacher-alfworld-4b```3 unmodified lines```bashstudent_model_path=Qwen/Qwen3-1.7Bteacher_model_path=~/ckpts/ATOD_ckpt/alfworld_grpo_qwen3_4b_step150/actor_hf```Using these checkpoints lets you skip teacher GRPO training and run ATOD distillation directly.1 unmodified line## Notes- Models are task-specific agents: use the ALFWorld teacher for ALFWorld, the WebShop teacher for WebShop, and the Search teacher for Search-QA. They expect the prompt / action formats produced by the environments in the ATOD repo.- Checkpoint names encode the environment, the base model, and the GRPO training step they were exported at.## Citation31 unmodified lines3233343536373839404142433 unmodified lines4748495051525310 unmodified lines646566676869706 unmodified lines777879808182834 unmodified lines888990919293943 unmodified lines98991001011021031041 unmodified line10610710810911011111231 unmodified lines| Environment | Teacher | Subfolder ||---|---|---|| ALFWorld | Qwen3-4B (GRPO) | `alfworld_grpo_qwen3_4b/actor_hf` || ALFWorld | Qwen3-30B-A3B (GRPO) | `alfworld_grpo_qwen3_30ba3b/actor_hf` || WebShop | Qwen3-4B (GRPO) | `webshop_grpo_qwen3_4b/actor_hf` || WebShop | Qwen3-30B-A3B (GRPO) | `webshop_grpo_qwen3_30ba3b/actor_hf` || Search-QA | Qwen3-4B (GRPO) | `search_grpo_qwen3_4b/actor_hf` || Search-QA | Qwen3-30B-A3B (GRPO) | `search_grpo_qwen3_30ba3b/actor_hf` |## Download3 unmodified linespip install -U "huggingface_hub[cli]"hf download TanQT24/ATOD_ckpt \--include "alfworld_grpo_qwen3_4b/*" \--local-dir ~/ckpts/ATOD_ckpt```10 unmodified linespath = snapshot_download(repo_id="TanQT24/ATOD_ckpt",allow_patterns=["search_grpo_qwen3_4b/*"],local_dir="~/ckpts/ATOD_ckpt",)```6 unmodified linesfrom transformers import AutoModelForCausalLM, AutoTokenizerrepo = "TanQT24/ATOD_ckpt"sub = "alfworld_grpo_qwen3_4b/actor_hf"tokenizer = AutoTokenizer.from_pretrained(repo, subfolder=sub)model = AutoModelForCausalLM.from_pretrained(4 unmodified lines### vLLM```bashvllm serve ~/ckpts/ATOD_ckpt/alfworld_grpo_qwen3_4b/actor_hf \--served-model-name atod-teacher-alfworld-4b```3 unmodified lines```bashstudent_model_path=Qwen/Qwen3-1.7Bteacher_model_path=~/ckpts/ATOD_ckpt/alfworld_grpo_qwen3_4b/actor_hf```Using these checkpoints lets you skip teacher GRPO training and run ATOD distillation directly.1 unmodified line## Notes- Models are task-specific agents: use the ALFWorld teacher for ALFWorld, the WebShop teacher for WebShop, and the Search teacher for Search-QA. They expect the prompt / action formats produced by the environments in the ATOD repo.- Checkpoint names encode the environment and the base model, e.g. `webshop_grpo_qwen3_4b` is the Qwen3-4B GRPO teacher for WebShop.## Citation
README.md+12-12