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.
EuroLLM-9B-Cooking-Assistant / chat_template.jinja
Vveerrgg's picture
EuroLLM-9B Cooking Assistant v2
31a3084 verified
Raw History Blame Contribute Delete
757 Bytes
{% if messages and messages[0]['role'] == 'system' %}{% set loop_messages = messages %}{% else %}{% set loop_messages = [{'role': 'system', 'content': '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.'}] + messages %}{% endif %}{% for message in loop_messages %}{% if message['role'] == 'assistant' %}{% set role = 'assistant' %}{% else %}{% set role = message['role'] %}{% endif %}<|im_start|>{{ role }}
{{ message['content'] | trim }}<|im_end|>
{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant
'}}{% endif %}