--- license: apache-2.0 base_model: allenai/Olmo-3-1025-7B base_model_relation: finetune library_name: transformers pipeline_tag: text-generation language: [en] tags: [cooking, recipes, olmo3, lora, provenance, abstention] datasets: [HumanjavaEnterprises/cooking-assistant-eval] --- # Olmo-3-7B Cooking Assistant A cooking assistant built on Ai2's fully open OLMo 3 7B, with an **auditable lineage**: every model that wrote, judged or labelled anything in its training and evaluation comes from a published open-weights model by a US lab (OpenAI's gpt-oss-120b, IBM's Granite 4.2, Ai2's OLMo), and the base model's own training data is public. It reads the recipe you give it, scales it, and usually asks for the recipe when it can't see one. It is strongest in English: on English questions that need a recipe it wasn't shown it invents details 4.4% of the time, and with the recipe shown it answers correctly 91.5% of the time (three open judges, 2 of 3 agreeing). It is **weaker than our Qwen3-8B Cooking Assistant** outside English and on general questions; see Limitations. Runs fully on a 6 GB GPU (Q4_K_M). *Unofficial fine-tune of OLMo 3 7B by Humanjava Enterprises; not made or endorsed by Ai2.* Full-precision safetensors (Transformers, vLLM), plus the LoRA adapter in `adapter/`. Files for llama.cpp, Ollama and LM Studio: [HumanjavaEnterprises/Olmo-3-7B-Cooking-Assistant-GGUF](https://huggingface.co/HumanjavaEnterprises/Olmo-3-7B-Cooking-Assistant-GGUF). **Cooking Assistant family (updated 2026-11-26):** [Qwen3-8B](https://huggingface.co/HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant) (`ollama run vveerrgg/qwen3-8b-cooking-assistant`) · [GLM-4-9B](https://huggingface.co/HumanjavaEnterprises/GLM-4-9B-Cooking-Assistant) (`ollama run vveerrgg/glm-4-9b-cooking-assistant`) · [EuroLLM-9B](https://huggingface.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant) (`ollama run vveerrgg/eurollm-9b-cooking-assistant`). Each card reports its own judge panel. Guide: [github.com/HumanjavaEnterprises/qwen3-8b-cooking-assistant/olmo-3-7b](https://github.com/HumanjavaEnterprises/qwen3-8b-cooking-assistant/tree/main/olmo-3-7b). It does not memorise recipes: give it the recipe (paste it, or have your app look it up) and it will read it. ## Files | File | Use | |---|---| | `model.safetensors` + configs | the merged model in bfloat16 (7.3B parameters, 14.6 GB) | | `adapter/` | the LoRA adapter (rank 128, embeddings and output head trained in full) for `allenai/Olmo-3-1025-7B` | | `chat_template.jinja` | the ChatML template the model was trained with | Checksums: `SHA256SUMS`. ## Quick start ```python from transformers import AutoModelForCausalLM, AutoTokenizer repo = "HumanjavaEnterprises/Olmo-3-7B-Cooking-Assistant" tok = AutoTokenizer.from_pretrained(repo) model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto") msgs = [{"role": "system", "content": "You are a cooking assistant. You answer questions about dishes, ingredients, techniques and food safety. When you are not sure, you say so."}, {"role": "user", "content": "Pancakes: 200 g flour, 2 eggs, 300 ml milk. I want three times as much. How much milk?"}] ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device) out = model.generate(ids, max_new_tokens=256, do_sample=False) print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True)) ``` ```bash vllm serve HumanjavaEnterprises/Olmo-3-7B-Cooking-Assistant --max-model-len 8192 ``` ## Versions The Cooking Assistant is one product family with dated versions; each version is a git tag, so you can pin one with `revision="v2"`. The family's v1 was the Qwen3-8B and GLM-4-9B builds; v2 adds this OLMo 3 build, so its first release is v2. | Version | Date | English: invents (no recipe) | English: correct (recipe shown) | Notes | |---|---|---|---|---| | **v2** (current) | 2026-11-26 | 4.4% | 91.5% | first release on OLMo 3 7B | ## Prompt format ChatML (`<|im_start|>role` … `<|im_end|>`), in `chat_template.jinja`; no system prompt is injected and there is no thinking mode. A turn ends with `<|im_end|>`. Trained with this system prompt, which works best: ``` You are a cooking assistant. You answer questions about dishes, ingredients, techniques and food safety. When you are not sure, you say so. ``` To ask about a specific recipe, put the recipe text in the user turn, then the question. ## What it does - **Reads the recipe you give it** and answers from that text. - **Scales recipes**: arithmetic, unit equivalents, odd egg counts and ⅓-cup lines were trained specifically. - **Usually asks when the recipe is missing**, rather than inventing the quantity. - **Answers general cooking questions**, but less well than the Qwen sibling (see Results). The intended setup is **fine-tune for behaviour, retrieval for facts, tools for numbers**: an app looks up the recipe and hands it to the model. ## Results The same fixed held-out set of 682 cooking questions as the rest of the family (21 languages; 300 with the recipe shown, including 10 "how do you make X?" recall questions, 300 that need a recipe the model is not shown, 82 general questions), never used in training. Every answer was scored one at a time by three open-weights judges from US labs, blind to which model wrote it: **gpt-oss-120b** (OpenAI, Apache-2.0), **Granite 4.2 30B** (IBM, Apache-2.0) and **OLMo 3.1 32B Instruct** (Ai2, Apache-2.0); a verdict counts when 2 of 3 agree. A rule check removes "invents" verdicts on answers whose every detail was already in the question. The Qwen3-8B Cooking Assistant v1 answers were re-scored by the same three judges, so the columns compare directly (its own card uses a different panel). | | OLMo 3 7B base | **this model (v2)** | Qwen3-8B Cooking Assistant v1 | |---|---|---|---| | Invents, no recipe: all languages | 49.3% | **21.1%** | 6.8% | | Invents, no recipe: English | 52.2% | **4.4%** | 2.9% | | Correct, recipe shown: all languages | 52.0% | **80.3%** | 92.0% | | Correct, recipe shown: English | 70.4% | **91.5%** | 91.7% | | General questions: all languages (82) | 17.1% | **22.0%** | 48.8% | | General questions: English (20) | 55% | **65%** | 65% | The base column is the pretrained OLMo 3 7B (no instruction tuning) with our chat template, so it is a low bar. The general-question rows are small (82 and 20 items), so a few items either way is noise. **Recipe scaling** (our 40-item held-out scaling probe, graded by code checks plus a read of 15 answers): | | this model (v2) | Qwen3-8B Cooking Assistant v1 | |---|---|---| | Arithmetic right | 33/40 | 25/40 | | Odd egg counts handled | 12/13 | 3/13 | | ⅓-cup lines | 8/8 | 2/8 | | Wrong unit equivalents (answers) | 2 | 1 | | Caution when doubling chilli and spice | 4/15 | 0/15 | **Noise.** A second copy of the same weights, differing only by bf16 rounding from a merge round-trip, moved columns on this 40-item probe by up to 3 (spice 4 → 7/15, good-or-partial 35 → 38/40). Treat differences of about ±3 there as noise. On the 682-question set the same twin moved invents and recipe-shown by under 1 point, and the general score by 3.6 points (22.0% vs 25.6%). **Quantised files.** All three files were scored on the same 682 questions against the full-precision model, by the same three judges in the same run (2 of 3). Invents with no recipe: Q4_K_M 19.5% (full precision 20.6%), Q6_K 19.9% (20.2%), Q8_0 21.1% (22.1%). Correct with the recipe shown: 79.9% (79.9%), 79.5% (79.9%), 80.1% (79.8%). General questions: 19.5% (25.6%), 25.6% (25.6%), 23.2% (22.0%). No difference is significant (McNemar p ≥ 0.27). The full-precision answers are the same text in every comparison; only the judging was re-run (the Granite judge samples), which alone moves their scores by up to 1.9 points. **Memorisation.** Cookbook training documents (Wikibooks Cookbook, CC BY-SA) were probed with 12,000 prefixes of 32 to 128 tokens at several offsets, as raw text and as chat prompts, with greedy decoding. The model never continues a document verbatim (no 50-token match; longest overlap 16 characters, vs 84 for the OLMo 3 7B base), and its overlap with the true text is far below the base's (ROUGE-L 0.022 vs 0.138). ## How it was built | | | |---|---| | Base | allenai/Olmo-3-1025-7B, the pretrained OLMo 3 7B (Apache-2.0). Ai2 publishes its training data; their data cards state that part of the mid-training mix was generated by other models | | Sources | The same openly licensed and public-domain cooking texts as the rest of the family: the Wikibooks Cookbook (CC BY-SA 4.0), public-domain cookbooks from Project Gutenberg and the Internet Archive, and NHLBI recipes (US government, public domain) | | Models used | Writer: gpt-oss-120b (OpenAI). Judge: Granite 4.2 30B (IBM). Fact check: OLMo 3.1 32B Instruct (Ai2). All open weights, Apache-2.0, all from US labs. **No output from any closed or API model is in the training, evaluation or seed data**, and the data was written fresh for this build (none of the Qwen build's data carried over). One shared exception, in evaluation only: the family's 682-question set was built for v1, and its reference answers (which the judges compare against) were written by Qwen3.8-27B; none of it is training data | | Training | One supervised LoRA stage on the base model (instruction following, cooking behaviours, recipe scaling), merged. No preference stage | | Tooling | Transformers + PEFT, vLLM, llama.cpp | The evaluation set behind every number on this card (all 682 questions, the three models' answers, every judge's verdict, per-row source credits) is published: [HumanjavaEnterprises/cooking-assistant-eval](https://huggingface.co/datasets/HumanjavaEnterprises/cooking-assistant-eval), config `olmo-3-7b-v2`. ## Limitations - **Under-cautious on heat when scaling.** Doubling a chilli- or spice-heavy dish, it usually scales the chillies without a warning to add them gradually (at most 7 of 15 probe items get the caution, across every version we trained). Scale heat to taste yourself. - **English first.** The base model is English-only, so outside English it is clearly weaker than the Qwen sibling: it invents on 21.1% of no-recipe questions across all languages (Qwen: 6.8%) and reads a shown recipe correctly 80.3% of the time (Qwen: 92.0%). Use the Qwen3-8B or GLM-4-9B build for other languages. - **Behind Qwen on general questions overall** (22.0% vs 48.8% across 82 items, most of them not in English; level in English at 65%). - **Probe noise of about ±3** on the 40-item scaling probe (see Results). - **Not a source of truth for food safety.** It repeats standard guidance but can be wrong; check official sources. - **It does not know historical recipes by heart.** Give it the text. - The judges are models, and model judges tend to make the same mistakes as each other. ## Feedback and security - **The model got something wrong:** please [open a report](https://github.com/HumanjavaEnterprises/qwen3-8b-cooking-assistant/issues/new?template=wrong-answer.yml) and say it was the OLMo 3 build. - **Security** (files that don't match `SHA256SUMS`, unexpected embedded content): see [SECURITY.md](https://github.com/HumanjavaEnterprises/qwen3-8b-cooking-assistant/blob/main/SECURITY.md). ## Licence and credits Weights: Apache-2.0, same as the base model (full text in `LICENSE`). Base model: OLMo 3 7B by Ai2 (Allen Institute for AI), Apache-2.0, intended for research and educational use under [Ai2's Responsible Use Guidelines](https://allenai.org/responsible-use). This repository contains a modified version of that model (fine-tuned by Humanjava Enterprises). Training data sources: Wikibooks Cookbook contributors (CC BY-SA 4.0; per-page attribution in the dataset), Project Gutenberg and Internet Archive public-domain books, NHLBI. Writer: gpt-oss-120b by OpenAI (Apache-2.0). Judge: Granite 4.2 30B by IBM (Apache-2.0). Fact check: OLMo 3.1 32B Instruct by Ai2 (Apache-2.0). Evaluation judges: the same three. Built by [Humanjava Enterprises](https://huggingface.co/HumanjavaEnterprises).