Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
reasoning-gym
reinforcement-learning
grpo
full-finetune
jugs
conversational
Run this model with HF Jobs
Run baseten/jugs-adam-qwen38_27b-expert 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/baseten/jugs-adam-qwen38_27b-expert. 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/baseten/jugs-adam-qwen38_27b-expert 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/baseten/jugs-adam-qwen38_27b-expert. 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/baseten/jugs-adam-qwen38_27b-expert. 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 baseten/jugs-adam-qwen38_27b-expert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use baseten/jugs-adam-qwen38_27b-expert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="baseten/jugs-adam-qwen38_27b-expert") 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("baseten/jugs-adam-qwen38_27b-expert") model = AutoModelForMultimodalLM.from_pretrained("baseten/jugs-adam-qwen38_27b-expert", 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 baseten/jugs-adam-qwen38_27b-expert with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "baseten/jugs-adam-qwen38_27b-expert" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "baseten/jugs-adam-qwen38_27b-expert", "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/baseten/jugs-adam-qwen38_27b-expert
- SGLang
How to use baseten/jugs-adam-qwen38_27b-expert 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 "baseten/jugs-adam-qwen38_27b-expert" \ --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": "baseten/jugs-adam-qwen38_27b-expert", "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 "baseten/jugs-adam-qwen38_27b-expert" \ --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": "baseten/jugs-adam-qwen38_27b-expert", "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 baseten/jugs-adam-qwen38_27b-expert with Docker Model Runner:
docker model run hf.co/baseten/jugs-adam-qwen38_27b-expert
Show complete Adam and SGD environment charts
Browse filesFiles changed (9)
- .gitattributes+6
- README.md+26-13
- assets/environment-curves/20261024/adam-training.pngAdded
- assets/environment-curves/20261024/adam-validation.pngAdded
- assets/environment-curves/20261024/comparison-training.pngAdded
- assets/environment-curves/20261024/comparison-validation.pngAdded
- assets/environment-curves/20261024/provenance.jsonAdded+150
- assets/environment-curves/20261024/sgd-training.pngAdded
- assets/environment-curves/20261024/sgd-validation.pngAdded
37 unmodified lines38394041424344454637 unmodified linesassets/training-curves/20261023/comparison-validation.png filter=lfs diff=lfs merge=lfs -textassets/training-curves/20261023/training.png filter=lfs diff=lfs merge=lfs -textassets/training-curves/20261023/validation.png filter=lfs diff=lfs merge=lfs -textassets/environment-curves/20261024/adam-training.png filter=lfs diff=lfs merge=lfs -textassets/environment-curves/20261024/adam-validation.png filter=lfs diff=lfs merge=lfs -textassets/environment-curves/20261024/comparison-training.png filter=lfs diff=lfs merge=lfs -textassets/environment-curves/20261024/comparison-validation.png filter=lfs diff=lfs merge=lfs -textassets/environment-curves/20261024/sgd-training.png filter=lfs diff=lfs merge=lfs -textassets/environment-curves/20261024/sgd-validation.png filter=lfs diff=lfs merge=lfs -text19 unmodified lines202122232324252642 unmodified lines6970717273727374767576777879808182788384808586828788848990869192939495969798991001011029010310492105106949510710819 unmodified lines
- Base model: [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B/tree/1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0), pinned revision `1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0`.- Environment source: [Jugs](https://github.com/open-thought/reasoning-gym/blob/49b07130b3fcd12f2d064bba7c43869543a0e7e7/reasoning_gym/algorithmic/jugs.py) from [Reasoning Gym](https://github.com/open-thought/reasoning-gym), pinned revision `49b07130b3fcd12f2d064bba7c43869543a0e7e7`. The experiment used a frozen task bank and a completed-answer binary reward adapter derived from this environment; these results are not an official upstream benchmark score.- Training record: [W&B run](https://wandb.ai/baseten-training/qwen38-reasoning-gym-adam100/runs/56bpbvla).- Training record: training run `56bpbvla`.- Machine-readable settings, results, and checkpoint lineage: [expert-provenance.json](expert-provenance.json).
## Evaluation42 unmodified lines
Apache-2.0, following the pinned base model. See the accompanying license and the [pinned base-model card](https://huggingface.co/Qwen/Qwen3.8-27B/blob/1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0/README.md).
<!-- expert-curves-20261023:begin --><!-- expert-environment-curves-20261024:begin -->## Training and validation curves
[Jugs · ADAM — W&B report](https://wandb.ai/baseten-training/qwen38-expert-curves/reports/Jugs-—-uploaded-expert-training-and-validation--VmlldzoxODE3MjM3OQ==)The plots below show the recorded training trajectory and verified validation results for this environment. Training uses a running average of 10 with the original series visible; validation is unsmoothed. No training, evaluation, or interpolation was performed to create these images.
Training metric: `rollout/raw_reward` against `rollout/step`. Validation metric: `eval/validation` against completed optimizer updates.
Both published experts contain 100 optimizer updates. Their training curves use the full native axis 0–99; validation includes every scheduled point from 0 through 100. Restored runs retain their original checkpoint ancestry and exclude abandoned branches.
The overlay compares these recorded trajectories; it does not establish an optimizer-only causal effect. See each model’s settings and limitations above.
These reporting-only W&B copies combine retained original W&B training history with verified original validation receipts. The original runs remain unchanged; no new training or evaluation was performed to create these plots.### ADAM training and validation
Training uses `rollout/raw_reward`, a running average of 10, with the original series shown. Validation uses `eval/validation` without smoothing.[Final ADAM weights](https://huggingface.co/baseten/jugs-adam-qwen38_27b-expert)


[Open this model's saved W&B chart view](https://wandb.ai/baseten-training/qwen38-expert-curves?nw=xq9bkdyg3de)### SGD training and validation
[Final SGD weights](https://huggingface.co/baseten/jugs-sgd-qwen38_27b-expert)


### Adam and SGD comparison
Adam is blue; SGD is pink.


[Plot sources and settings](assets/training-curves/20261023/provenance.json). The original weight commit is `07d05dcd527935c79a8c4c0aefeb7872997c8615`.<!-- expert-curves-20261023:end -->[Chart provenance and settings](assets/environment-curves/20261024/provenance.json). The original weight commit is `07d05dcd527935c79a8c4c0aefeb7872997c8615`.<!-- expert-environment-curves-20261024:end -->123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150{ "data_source": "Original training histories and verified native validation receipts", "environment": "jugs", "existing_png_bytes_reused": true, "missing_figlet_sgd200": false, "plots": [ { "dimensions": [ 5056, 2656 ], "path": "assets/environment-curves/20261024/adam-training.png", "role": "adam_training", "sha256": "6f8247954db9baef61272b2c2b99d04b82ea7e47996097a2e0f57c7fb5a6fa6c" }, { "dimensions": [ 5056, 2656 ], "path": "assets/environment-curves/20261024/adam-validation.png", "role": "adam_validation", "sha256": "e12ce4cfb7e10d342f5b6116d523bcc7762f9f11c06005b3404d58ac9b33fa3a" }, { "dimensions": [ 5056, 2656 ], "path": "assets/environment-curves/20261024/sgd-training.png", "role": "sgd_training", "sha256": "ed2019a5ae65c80e8fb1d9b63828b08802e0827f6e30bf97b787635bd7327464" }, { "dimensions": [ 5056, 2656 ], "path": "assets/environment-curves/20261024/sgd-validation.png", "role": "sgd_validation", "sha256": "75d71b5e13a91e55de947d81f0ee0c6e4c50288c1b1d9b553953bde8690f2f33" }, { "dimensions": [ 5056, 2656 ], "path": "assets/environment-curves/20261024/comparison-training.png", "role": "comparison_training", "sha256": "761d527714ec6e09803f270d238ce8b9cfcc04031d0c932f1f8bc41261d02403" }, { "dimensions": [ 5056, 2656 ], "path": "assets/environment-curves/20261024/comparison-validation.png", "role": "comparison_validation", "sha256": "e323f6a35136a65a75cb2058df02122899ad0b7a84ef5ee52a2576b106ac86f9" } ], "raw_trace_export_completeness_not_inferred": true, "repository_optimizer": "adam", "schema_version": 1, "series": [ { "completed_updates": 100, "environment": "jugs", "hf_repo": "baseten/jugs-adam-qwen38_27b-expert", "missing_validation_updates": [], "optimizer": "adam", "retained_optimizer_ranges": [ [ 1, 100 ] ], "series_sha256": "a27891915b6b1bb357947ec8fd3b0acc0c9343c0793c08cc239237993ec93858", "source_weight_commit": "07d05dcd527935c79a8c4c0aefeb7872997c8615", "training_axis": "rollout/step", "training_axis_range": [ 0, 99 ], "training_metric": "rollout/raw_reward", "training_point_count": 100, "training_source_run_ids": [ "56bpbvla" ], "validation_point_count": 11, "validation_updates": [ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ] }, { "completed_updates": 100, "environment": "jugs", "hf_repo": "baseten/jugs-sgd-qwen38_27b-expert", "missing_validation_updates": [], "optimizer": "sgd", "retained_optimizer_ranges": [ [ 1, 100 ] ], "series_sha256": "aaba07092dc4918dd66c4f6e04c60de08a8675d0cfc9c840a871e59308df3895", "source_weight_commit": "cd11d2cf14fecc3a3562679a7f743b2edc0823bc", "training_axis": "rollout/step", "training_axis_range": [ 0, 99 ], "training_metric": "rollout/raw_reward", "training_point_count": 100, "training_source_run_ids": [ "xm4pcund" ], "validation_point_count": 11, "validation_updates": [ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ] } ], "show_original": true, "source_weight_commit": "07d05dcd527935c79a8c4c0aefeb7872997c8615", "training_smoothing": "running_average", "training_window": 10, "validation_smoothing": "none"}.gitattributes+6
README.md+26-13
assets/environment-curves/20261024/adam-training.pngAdded

Large File Pointer Details
- SHA256: 6f8247954db9baef61272b2c2b99d04b82ea7e47996097a2e0f57c7fb5a6fa6c
- Pointer size: 131 Bytes
- Size of remote file: 728 kB
assets/environment-curves/20261024/adam-validation.pngAdded

Large File Pointer Details
- SHA256: e12ce4cfb7e10d342f5b6116d523bcc7762f9f11c06005b3404d58ac9b33fa3a
- Pointer size: 131 Bytes
- Size of remote file: 611 kB
assets/environment-curves/20261024/comparison-training.pngAdded

Large File Pointer Details
- SHA256: 761d527714ec6e09803f270d238ce8b9cfcc04031d0c932f1f8bc41261d02403
- Pointer size: 131 Bytes
- Size of remote file: 919 kB
assets/environment-curves/20261024/comparison-validation.pngAdded

Large File Pointer Details
- SHA256: e323f6a35136a65a75cb2058df02122899ad0b7a84ef5ee52a2576b106ac86f9
- Pointer size: 131 Bytes
- Size of remote file: 693 kB
assets/environment-curves/20261024/provenance.jsonAdded+150
assets/environment-curves/20261024/sgd-training.pngAdded

Large File Pointer Details
- SHA256: ed2019a5ae65c80e8fb1d9b63828b08802e0827f6e30bf97b787635bd7327464
- Pointer size: 131 Bytes
- Size of remote file: 745 kB
assets/environment-curves/20261024/sgd-validation.pngAdded

Large File Pointer Details
- SHA256: 75d71b5e13a91e55de947d81f0ee0c6e4c50288c1b1d9b553953bde8690f2f33
- Pointer size: 131 Bytes
- Size of remote file: 614 kB