Instructions to use HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant") model = AutoModelForCausalLM.from_pretrained("HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant
- SGLang
How to use HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant 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 "HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant" \ --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": "HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant" \ --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": "HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant with Docker Model Runner:
docker model run hf.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant
EuroLLM-9B Cooking Assistant
A multilingual cooking assistant built on EuroLLM-9B-Instruct, with an auditable lineage: every model that wrote, labelled, filtered or voted on anything in its training and evaluation is a published open-weights model from a European lab (EuroLLM by the UTTER consortium, Apertus by the Swiss AI Initiative, Mistral-Small and Magistral-Small by Mistral AI), and an independent panel from outside that chain cross-checks the numbers.
It reads the recipe you give it, scales it, and when it can't see the recipe it usually asks for it, or answers with a clearly hypothetical amount. With the recipe shown it answers correctly 83.8% of the time; on questions that need a recipe it wasn't shown it invents details 11.4% of the time (European voting panel; the independent panel gives 83.8% and 14.3%). On general cooking questions it is below the EuroLLM-9B-Instruct model it was built from (54.9% vs 64.6%); see Limitations. Runs fully on an 8 GB GPU (Q4_K_M).
Human review: pending. No person has reviewed the training labels yet. A 100-item review is planned (50 accepted training answers and 50 preference pairs, read blind by people); its results will be added to this card.
Unofficial fine-tune of EuroLLM-9B-Instruct by Humanjava Enterprises; not made or endorsed by the EuroLLM project or the UTTER consortium.
Full-precision safetensors (Transformers, vLLM). Files for llama.cpp, Ollama and LM Studio:
HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant-GGUF.
Ollama: vveerrgg/eurollm-9b-cooking-assistant (ollama run vveerrgg/eurollm-9b-cooking-assistant:q6_k).
Siblings in the Cooking Assistant family:
Qwen3-8B ยท
GLM-4-9B ยท
Olmo-3-7B.
Guide: github.com/HumanjavaEnterprises/qwen3-8b-cooking-assistant/eurollm-9b.
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-0000*-of-00004.safetensors + configs |
the merged model in bfloat16 (9.2B parameters, 18.3 GB) |
chat_template.jinja |
the ChatML template the model was trained with, plus a default system prompt (below) |
Checksums: SHA256SUMS. The model was trained in two LoRA stages (supervised, then preference), each merged; only
the merged weights are published.
Quick start
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "HumanjavaEnterprises/EuroLLM-9B-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))
vllm serve HumanjavaEnterprises/EuroLLM-9B-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 EuroLLM build, so its first
release is v2.
| Version | Date | Invents (no recipe) | Correct (recipe shown) | General | Notes |
|---|---|---|---|---|---|
| v2 (current) | 2026-11-26 | 11.4% | 83.8% | 54.9% | first release on EuroLLM-9B; European voting panel, all languages |
Prompt format
ChatML (<|im_start|>role โฆ <|im_end|>), in chat_template.jinja; 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.
When you send no system prompt, the template adds this one, which also names the model:
You are the Cooking Assistant by Humanjava Enterprises, fine-tuned from EuroLLM-9B. If asked who you are, say you are the Cooking Assistant by Humanjava Enterprises. You answer questions about dishes, ingredients, techniques and food safety. When you are not sure, you say so.
The training data contains no identity answers, so with the trained system prompt it introduces itself as EuroLLM. 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, in the language you ask in.
- Scales recipes: arithmetic, odd egg counts, "season to taste" and pan-size / cooking-time cautions were trained specifically.
- When the recipe is missing, it usually asks for it, or answers with a clearly hypothetical amount ("if your recipe calls for 1 cup, use 3 cups"); it still invents details on 11.4% of such questions.
- Answers general cooking questions, but less well than the model it was built from (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; 290 with the recipe shown, plus 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 model judges, blind to which model wrote it, on two panels:
- European voting panel: Apertus-v1.5-70B (Swiss AI Initiative, Switzerland), Mistral-Small-3.2-24B and Magistral-Small-2509 (Mistral AI, France); a verdict counts when 2 of 3 agree. ALIA-40B (Barcelona Supercomputing Center, Spain) was also run and is reported, but does not vote: it was far more lenient on invented details than the other judges when we vetted it.
- Independent panel ("run A"): DeepSeek-V4-Flash, gpt-oss-120b and Seed-OSS-36B, the panel used across the family, from outside the European chain; 2 of 3. It matters because Apertus and Mistral-Small also filtered this model's synthetic training data, so they are not fully independent of it.
A rule check removes "invents" verdicts on answers whose every detail was already in the question.
| EuroLLM-9B-Instruct (base) | this model (v2) | |
|---|---|---|
| Invents, no recipe (European vote / run A) | 43.7% / 49.5% | 11.4% / 14.3% |
| Correct, recipe shown (European vote / run A) | 80.3% / 73.4% | 83.8% / 83.8% |
| General questions, 82 (European vote / run A) | 64.6% / 56.1% | 54.9% / 46.3% |
| Invents, no recipe: English (European vote) | 30.6% | 5.6% |
| Correct, recipe shown: English (European vote) | 85.3% | 82.4% |
| ALIA-40B (non-voting): invents / general | 20.7% / 73.2% | 6.0% / 68.3% |
General answers are below the base model on both panels. The base is EuroLLM-9B-Instruct-2512 itself, a capable instruction-tuned model, so it is a high bar; our preference stage bought back most of the invented details and cost about 5 points of general score. The general rows are small (82 items), so a few items either way is noise, but the gap is consistent across both panels.
Recipe scaling (our 40-item held-out halving / doubling probe, graded by code checks):
| base | this model (v2) | Qwen3-8B Cooking Assistant v1 | |
|---|---|---|---|
| Arithmetic right (our rule: every amount within 80% of items) | 27/40 | 38/40 | 38/40 |
| Arithmetic right (the Olmo build's stricter rule) | 7/40 | 16/40 | 16/40 |
| Wrong unit conversions (answers / count) | 4 / 12 | 3 / 6 | 5 / 7 |
| Odd egg counts handled | 7/10 | 5/10 | 3/10 |
| "Season to taste" caution | 7/19 | 15/19 | 3/19 |
| Pan size / cooking time caution | 11/37 | 33/37 | 1/37 |
The stricter rule only reads US volume units, so 22 of the 40 items (metric or not in English) have nothing it can check and count as fails; read it as "on US-unit recipes, this model ties the Qwen build". Noise: treat differences of about ยฑ3 on this 40-item probe as noise.
Quantised files. All three files were scored on the same 682 questions against the full-precision model, by the European voting judges in the same run (2 of 3). Invents with no recipe: Q4_K_M 8.1% (full precision 11.8%), Q6_K 9.1% (11.8%), Q8_0 10.7% (11.4%). Correct with the recipe shown: 80.0% (84.1%), 81.4% (83.8%), 81.0% (83.8%). General questions: 50.0% (54.9%), 51.2% (56.1%), 53.7% (54.9%). No difference is significant (McNemar p โฅ 0.11), but every file reads a shown recipe 2 to 4 points less often than full precision, most at Q4_K_M; pick Q6_K or Q8_0 if you have the memory. The full-precision answers are the same text in every comparison; only the judging was re-run (Magistral samples).
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 reproduces training text no more than EuroLLM-9B-Instruct itself: one 50-token verbatim continuation for each (the same count), no overlap of 200 characters or more, longest overlap 63 characters for both, and overlap with the true text slightly below the base's (ROUGE-L 0.152 vs 0.157).
How it was built
| Base | utter-project/EuroLLM-9B-Instruct-2512 (Apache-2.0), by the UTTER consortium (Instituto Superior Tรฉcnico, University of Edinburgh, Unbabel and partners), funded by the European Union. 35 languages |
| 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 | Writers and labellers: EuroLLM-22B-Instruct-2512 wrote the training questions and answers and labelled the preference pairs; EuroLLM-9B-Instruct-2512 (the base) wrote the self-distilled replay and no-recipe answers. Filters: Apertus-v1.5-70B (Switzerland) judged the synthetic items and Mistral-Small-3.2-24B (France) was the second filter (an item is kept only when both agree). Evaluation: the voting judges above (Apertus, Mistral-Small, Magistral-Small), ALIA-40B reported but not voting, and the independent run A panel as the cross-check. All open weights, Apache-2.0. 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 other builds' 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 | A supervised LoRA stage on the base (cooking behaviours, no-recipe answers, fuller general answers, recipe scaling, self-distilled replay), merged; then a preference (DPO) LoRA stage, merged |
| Tooling | Transformers + PEFT, LLaMA-Factory, vLLM, llama.cpp |
The evaluation set behind every number on this card (all 682 questions, both models' answers, every judge's verdict
on both panels plus ALIA's, per-row source credits) is published:
HumanjavaEnterprises/cooking-assistant-eval,
config eurollm-9b-v2.
Limitations
- General answers are below the base model (54.9% vs 64.6% European vote, 46.3% vs 56.1% run A). If you mostly ask general cooking questions, EuroLLM-9B-Instruct itself, or the Qwen3-8B build, will serve you better.
- Invented details are not gone: 11.4% / 14.3% of no-recipe questions still get an invented amount or step (English: 5.6%). Give it the recipe.
- Repetition loops in some languages: Bengali and Vietnamese answers sometimes repeat a phrase until the length limit. Several of the eval languages (Bengali, Persian, Indonesian, Tagalog, Thai, Vietnamese, Malay, Hebrew) are outside EuroLLM's 35 training languages.
- Probe noise of about ยฑ3 on the 40-item scaling probe.
- Human review pending (see the note at the top): the training labels were made and checked by models only.
- 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 and say it was the EuroLLM build.
- Security (files that don't match
SHA256SUMS, unexpected embedded content): see SECURITY.md.
Licence and credits
Weights: Apache-2.0, same as the base model (full text in LICENSE). Base model: EuroLLM-9B-Instruct-2512 by the
UTTER consortium, Apache-2.0. 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 and labeller: EuroLLM-22B-Instruct-2512 (UTTER, Apache-2.0). Filters: Apertus-v1.5-70B (Swiss AI Initiative, ETH Zurich and EPFL; Apache-2.0 with the Apertus Acceptable Use Policy; used to judge, not redistributed) and Mistral-Small-3.2-24B (Mistral AI, Apache-2.0). Evaluation judges: Apertus-v1.5-70B, Mistral-Small-3.2-24B, Magistral-Small-2509 (Mistral AI, Apache-2.0), ALIA-40B (BSC, Apache-2.0); cross-check DeepSeek-V4-Flash, gpt-oss-120b, Seed-OSS-36B.
Built by Humanjava Enterprises.
- Downloads last month
- -