Run this model with HF Jobs
Run AgriManager-Framework/schema-t11-potato-think-r4 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/schema-t11-potato-think-r4. 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/schema-t11-potato-think-r4 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/schema-t11-potato-think-r4. 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/schema-t11-potato-think-r4. 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/schema-t11-potato-think-r4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AgriManager-Framework/schema-t11-potato-think-r4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AgriManager-Framework/schema-t11-potato-think-r4")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AgriManager-Framework/schema-t11-potato-think-r4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AgriManager-Framework/schema-t11-potato-think-r4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AgriManager-Framework/schema-t11-potato-think-r4" # 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/schema-t11-potato-think-r4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AgriManager-Framework/schema-t11-potato-think-r4
- SGLang
How to use AgriManager-Framework/schema-t11-potato-think-r4 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/schema-t11-potato-think-r4" \ --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/schema-t11-potato-think-r4", "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/schema-t11-potato-think-r4" \ --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/schema-t11-potato-think-r4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AgriManager-Framework/schema-t11-potato-think-r4 with Docker Model Runner:
docker model run hf.co/AgriManager-Framework/schema-t11-potato-think-r4
schema-t11-potato-think-r4
A crop-management policy from the AgriManager benchmark (NeurIPS 2026,
Evaluations and Datasets track): Qwen/Qwen3-4B-Instruct-2507 fine-tuned with GRPO on the
T1.1 weather-regime shift, potato setting, think response format, training seed 53 (replicate r4).
- 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/schema-t11-potato-think-r4", revision="step-200")
tokenizer = AutoTokenizer.from_pretrained("AgriManager-Framework/schema-t11-potato-think-r4", revision="step-200")
What this checkpoint is
| Field | Value |
|---|---|
| Repository | AgriManager-Framework/schema-t11-potato-think-r4 |
| Base model | Qwen/Qwen3-4B-Instruct-2507 |
| Algorithm | GRPO (VeRL 0.7.0) |
| Setting | T1.1 weather-regime shift, potato; Tier 1 |
| Simulator(s) | WOFOST |
| Response format | think: reasoning inside <tool_call>…</tool_call>, then the action inside <answer>…</answer> |
| Training seed | 53 (data seed 53, data-loader seed 53) |
| Revisions | step-100, step-200 |
| Terminal revision | step-200 (the one scored in the paper) |
| Early stop | none (trained for the planned length) |
| Selection rule | terminal or last-valid checkpoint, never best-validation |
| Run script | experiments/t1_1_weather_regime_shift/run_t11_potato_think_r4_train.sh in the code repository |
| Paper | the Tier 1 results (weather-regime panel) and the per-seed tables of the appendix |
| Evidence status | confirmatory: one of the three scored seeds of this arm |
Each revision carries a run_manifest.json with the base model, seeds,
training schedule, response format and a SHA-256 for every file.
Results
Per-seed values: results/tables/e4_by_seed.csv in the code repository, rows with cell=t11-potato, method=LLM-RL, arm=think, seed=4.0 (the replicate index). Per-episode records: dataset AgriManager-Framework/schema-results-t11-potato, directory schema-t11-potato-think-r4/step-200/.
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/schema-t11-potato-think-r4 --revision step-200 \
--suite-repo AgriManager-Framework/agrimanager-test-suite \
--tier t11 --no-upload
This is the row schema-t11-potato-think-r4 of results/scoring_manifest.tsv.
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/schema-t11-potato-think-r4
Base model
Qwen/Qwen3-4B-Instruct-2507