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
Download SHA256SUMS from HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant: direct link, hf CLI and curl.
- Browser
- Download file 987 Bytes
-
https://huggingface.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant/resolve/main/SHA256SUMS
- Command line
-
hf download hf://HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant/SHA256SUMS
-
curl -L -o SHA256SUMS https://huggingface.co/HumanjavaEnterprises/EuroLLM-9B-Cooking-Assistant/resolve/main/SHA256SUMS
987 Bytes
| 5636b9e59601caef23fb79cd42b872828fb1f22ebeb2e1ef2f95d6c7ef53d756 model-00001-of-00004.safetensors | |
| c8206ad6a607024ce9f7fdce1a0021e494e28bb6f5980b9e94d7a800ac5976ce model-00002-of-00004.safetensors | |
| 8673e8a41f43cad4a6a936aba74a6f8082a99c7e87949ddfc4485953cf62cff2 model-00003-of-00004.safetensors | |
| c1f6745cff339ec5a466812ab7e460778b7a9737374038dac3a0e89f888a8661 model-00004-of-00004.safetensors | |
| 73354fb1221a854b4efe28a1e76a18d5df8648e8d082a4a6613fe12be2837412 config.json | |
| 3b82363a9b665b34a62b0382b4180ad5583f4dc35fecda38595612f705382ff9 generation_config.json | |
| 980b4d7dc8380242ef2020960592de541fed1287624d367639f609cce94307ef model.safetensors.index.json | |
| 2bec7318afedd2fb8923d0264c9313007a7c308d3f3c623c1b6372ea2a9d1347 tokenizer_config.json | |
| f236d4eaa17b1b3f4f2aff62301eaa163a4176a74509874bd5514e8fb93ff32a tokenizer.json | |
| 57efc029de7b395dd7698f427c418b457f4a5e48657cb96e4c0d2c8b8f9fa3bf chat_template.jinja | |
| cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE | |