Run this model with HF Jobs
Run AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo 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/AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo. 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/AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo 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/AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo. 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/AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo. 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 AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo
- SGLang
How to use AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo 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 "AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo" \ --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": "AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo", "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 "AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo" \ --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": "AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo with Docker Model Runner:
docker model run hf.co/AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo
t32-diffmodels-qwen3-4b-no-think-drgrpo
A crop-management policy from the AgriManager benchmark (NeurIPS 2026,
Evaluations and Datasets track): Qwen/Qwen3-4B-Instruct-2507 fine-tuned with DrGRPO on the
T3.2 unified prompt-conditioned policy, backbone/optimizer comparison setting, no-think response format, training seed 42.
- Paper: https://arxiv.org/abs/2611.28844
- Code: https://github.com/AgriManager-Framework/AgriManager
- Held-out test suite:
AgriManager-Framework/agrimanager-test-suite
Every checkpoint lives on its own branch (step-N); main holds no weights.
Load a checkpoint with an explicit revision:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo", revision="step-800")
tokenizer = AutoTokenizer.from_pretrained("AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo", revision="step-800")
What this checkpoint is
| Field | Value |
|---|---|
| Repository | AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo |
| Base model | Qwen/Qwen3-4B-Instruct-2507 |
| Algorithm | DrGRPO (VeRL 0.7.0) |
| Setting | T3.2 unified prompt-conditioned policy, backbone/optimizer comparison; Tier 3 |
| Simulator(s) | WOFOST, DSSAT, Cycles |
| Response format | no-think: the action inside <answer>…</answer>, no reasoning block |
| Training seed | 42 (data seed 42, data-loader seed 42) |
| Revisions | step-800 |
| Terminal revision | step-800 |
| Early stop | none (trained for the planned length) |
| Selection rule | terminal or last-valid checkpoint, never best-validation |
| Run script | not recorded in the run manifest |
| Paper | the backbone-comparison appendix |
| Evidence status | exploratory: single training seed |
Each revision carries a run_manifest.json with the base model, seeds,
training schedule, response format and a SHA-256 for every file.
Results
Not part of the three-seed test-suite results. The paper reports this run only in the backbone-comparison appendix (exploratory).
How to use it
The model expects the AgriManager prompt of its simulator and replies with one management action in the format above. Use it through the AgriManager environment loop; it is not a general-purpose agronomy assistant. To score it on the held-out test suite with the code repository:
bash entrypoints/eval/e5_evaluate_checkpoint.sh \
--checkpoint-repo AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo --revision step-800 \
--suite-repo AgriManager-Framework/agrimanager-test-suite --tier t32 --no-upload \
--suite-group e4_t32_wofost_seen --suite-group e4_t32_wofost_heldout \
--suite-group e4_t32_dssat_yield --suite-group e4_t32_dssat_profit \
--suite-group e4_t32_cycles_yield_v2 --suite-group e4_t32_cycles_profit_v2
The evaluator reads the response format from run_manifest.json and refuses to
score the checkpoint in a different format.
Limitations
- Trained and evaluated in simulation only (WOFOST, DSSAT, Cycles). Simulator scores are not field outcomes; do not apply its recommendations to a real farm.
- The scripted agronomic reference used in the paper is a conservative codified schedule, not calibrated against experts or optimal control.
- Scores use greedy decoding; re-scoring on other GPU types changes a few episodes per split.
License
The weights are released under the Apache License 2.0. The base model Qwen/Qwen3-4B-Instruct-2507 is released by its authors under Apache 2.0.
Citation
@inproceedings{gui2026agrimanager,
title = {AgriManager: A Framework and Benchmark for LLM-RL Generalization in Agricultural Management},
author = {Gui, Chi and Zheng, Junwen and Nigam, Ritwik and Yang, Qianlan and Lang, Meagan and Dongre, Vardhan and Barr, Jeremiah and Wang, Yu-Xiong and Adve, Vikram S.},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS), Evaluations and Datasets Track},
year = {2026},
eprint = {2611.28844},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.28844}
}
Model tree for AgriManager-Framework/t32-diffmodels-qwen3-4b-no-think-drgrpo
Base model
Qwen/Qwen3-4B-Instruct-2507