Text Generation
Transformers
Safetensors
llama
cooking
recipes
eurollm
provenance
abstention
multilingual
conversational
text-generation-inference
Run this model with HF Jobs
Run HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant 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/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant. 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/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant 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/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant. 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/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant. 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 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
Card: honest no-recipe wording, Ollama link
Browse files15 unmodified lines161718192021226 unmodified lines29303132333463 unmodified lines989910010110210310415 unmodified linesEuropean lab (EuroLLM by the UTTER consortium, Apertus by the Swiss AI Initiative, Mistral-Small and Magistral-Smallby Mistral AI), and an independent panel from outside that chain cross-checks the numbers.It reads the recipe you give it, scales it, and usually asks for the recipe when it can't see one. With the recipeshown 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 itis below the EuroLLM-9B-Instruct model it was built from** (54.9% vs 64.6%); see Limitations. Runs fully on an 8 GB6 unmodified linesFull-precision safetensors (Transformers, vLLM). Files for llama.cpp, Ollama and LM Studio:[HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant-GGUF](https://huggingface.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant-GGUF).Siblings in the Cooking Assistant family:[Qwen3-8B](https://huggingface.co/HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant) 路[GLM-4-9B](https://huggingface.co/HumanjavaEnterprises/GLM-4-9B-Cooking-Assistant) 路63 unmodified lines- **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 trainedspecifically.- **Usually asks when the recipe is missing**, rather than inventing the quantity.- **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 recipe15 unmodified lines161718192021226 unmodified lines2930313233343563 unmodified lines9910010110210310410515 unmodified linesEuropean lab (EuroLLM by the UTTER consortium, Apertus by the Swiss AI Initiative, Mistral-Small and Magistral-Smallby 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 recipeshown 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 itis below the EuroLLM-9B-Instruct model it was built from** (54.9% vs 64.6%); see Limitations. Runs fully on an 8 GB6 unmodified linesFull-precision safetensors (Transformers, vLLM). Files for llama.cpp, Ollama and LM Studio:[HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant-GGUF](https://huggingface.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant-GGUF).Ollama: [vveerrgg/eurollm-9b-cooking-assistant](https://ollama.com/vveerrgg/eurollm-9b-cooking-assistant) (`ollama run vveerrgg/eurollm-9b-cooking-assistant:q6_k`).Siblings in the Cooking Assistant family:[Qwen3-8B](https://huggingface.co/HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant) 路[GLM-4-9B](https://huggingface.co/HumanjavaEnterprises/GLM-4-9B-Cooking-Assistant) 路63 unmodified lines- **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 trainedspecifically.- **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
README.md+3-2