--- license: cc0-1.0 language: [en, hi, bn, te, mr, ml, kn, gu, pa] pretty_name: CarbEnv tags: [nutrition, diabetes, carb-counting, tool-use, agents, rl-environment, openenv] size_categories: [10K ![CarbEnv data engine](assets/pipeline.png) **Decision support, not dosing advice.** Agreement with food tables is not better glucose control; only a study with people can show that. ## What is inside | Config | Split | Rows | What it is | |---|---|---|---| | `core` | `core` | 150 | Held-out meals in English, frozen before any training | | `core` | `core_hi` | 116 | The same meals in Hindi | | `core` | `core_enin` | 123 | The same meals in Indian English | | `core` | `core_bn` | 89 | The same meals in Bengali | | `core` | `core_te` | 123 | The same meals in Telugu | | `core` | `core_mr` | 119 | The same meals in Marathi | | `core` | `core_ml` | 111 | The same meals in Malayalam | | `core` | `core_kn` | 122 | The same meals in Kannada | | `core` | `core_gu` | 110 | The same meals in Gujarati | | `core` | `core_pa` | 104 | The same meals in Punjabi | | `sft` | `train` | 32,797 | Tool-calling steps from strong models whose episodes replay to the same reward | - Meals are real eating occasions from the US NHANES / WWEIA dietary survey. - Every label is recomputed from the USDA FNDDS 2021-2023 food table as carbs per 100 g × grams, never from a model. - The localized splits were made with Adaption's Adaptive Data; each localized meal keeps its English label and passed checks that its numbers, units, script and foods did not change. - Rows match the frozen evaluation files; `core` also carries the localized splits' `locale`, `localizer`, `screen` and `source_description` columns, so all splits share one schema. - `food_swap: true` marks 7 Hindi rows where the translation names a regional food the English meal does not (for example cheese as paneer). They are kept because published results were measured on this frozen file; report with and without them. The seven newer languages were localized after a regional-food check was added, so none of their rows has a swap. ## Use it ```python from datasets import load_dataset core = load_dataset("TrueEnvs/carbenv", "core") sft = load_dataset("TrueEnvs/carbenv", "sft", split="train") ``` Run agents against the environment: [code and quickstart](https://github.com/beingamanforever/TrueEnvs/tree/main/01-carbenv). Trained model: [TrueEnvs/carbenv-qwen3.5-4b](https://huggingface.co/TrueEnvs/carbenv-qwen3.5-4b). ## Headline result Qwen3.5-4B fine-tuned on these steps goes from 54.9% to 96.0% on `core` (pass@1, mean of three runs), 44.8% to 89.7% in Hindi and 51.2% to 92.7% in Indian English, and scores 66 to 85% on the seven other Indian languages. The released model was trained on 37,497 steps: these 32,797 plus 4,700 in a language still being improved, not released here. Details: [two-page report](assets/report.pdf) · [30-second video](assets/carbenv.mp4). ## Sources and licence Public domain: NHANES / WWEIA (CDC NCHS) and USDA FNDDS 2021-2023 (CC0). This dataset is released under CC0 1.0. Part of [TrueEnvs](https://github.com/beingamanforever/TrueEnvs): RL environments whose rewards check the work.