Text Generation
Transformers
Safetensors
qwen3
cooking
recipes
dpo
provenance
abstention
conversational
text-generation-inference
Run this model with HF Jobs
Run HumanjavaEnterprises/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-Cooking-Assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HumanjavaEnterprises/Qwen3-8B-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/Qwen3-8B-Cooking-Assistant") model = AutoModelForCausalLM.from_pretrained("HumanjavaEnterprises/Qwen3-8B-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/Qwen3-8B-Cooking-Assistant with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HumanjavaEnterprises/Qwen3-8B-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/Qwen3-8B-Cooking-Assistant", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant
- SGLang
How to use HumanjavaEnterprises/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-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/Qwen3-8B-Cooking-Assistant", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant with Docker Model Runner:
docker model run hf.co/HumanjavaEnterprises/Qwen3-8B-Cooking-Assistant
card: recipe-only numbers throughout
Browse files71 unmodified lines72737475767778791 unmodified line8182838485868730 unmodified lines1181191201211221231242 unmodified lines12712812913013113213371 unmodified lines## ResultsAll cooking scores are on a fixed held-out set of 682 questions (300 with the recipe shown, 300 that need a recipethe model is not shown, 82 general questions), in 26 languages, never used in training. Answers from base Qwen3-8B(thinking off) and this model are compared by an open-weights judge from a different model family(DeepSeek-V4-Flash, MIT licence), blind, in both orders. 95% confidence intervals in brackets.1 unmodified line|---|---|---|| **Invents recipe details when no recipe is shown** | 30.0% [25.1, 35.4] | **9.0%** [6.3, 12.8] || same, after a rule check that removes judge false alarms | 27.7% | **4.0%** [2.3, 6.9] || **Correct when the recipe is shown** | 84.7% | **93.0%** || Preferred by the judge, all 682 questions | — | **0.610** [0.581, 0.639] (0.50 = tie) || Preferred by the judge, general questions only | — | 0.460 [0.369, 0.549] (level with base) |30 unmodified lines| | Q4_K_M | Q6_K | Q8_0 ||---|---|---|---|| Judge preference vs full precision | 0.492 [0.475, 0.509] | 0.501 [0.485, 0.517] | 0.481 [0.466, 0.494] || Correct when the recipe is shown | 94.0% | 93.3% | 93.7% || Invents with no recipe (full precision on that run) | 9.3% (7.3%) | 6.3% (6.3%) | 6.7% (6.7%) || Invents with no recipe, 3 of 4 judges (full precision) | 4.7% (3.3%) | 3.0% (3.3%) | 3.3% (2.7%) || Correct when the recipe is shown, 3 of 4 judges (full precision) | 95.5% (94.1%) | 95.5% (94.1%) | 95.2% (94.8%) |2 unmodified linesQ4_K_M p = 0.34, Q6_K p = 1.0, Q8_0 p = 0.69 for inventing; p ≥ 0.22 for correctness with the recipe shown). On Q4_K_M two of the four judges on their own(GLM-4.7-Flash, gpt-oss-120b) do see slightly more invented details (p = 0.02 and 0.04); pick Q6_K or Q8_0 if that matters.No quantisation changes the invents rate significantly (McNemar p ≥ 0.29). Q8_0's small dip comes from the 82general questions (0.418) and is most likely judge noise on a small set; Q4_K_M and Q6_K, which remove more bits,sit at parity.71 unmodified lines7273747576777879801 unmodified line8283848586878830 unmodified lines1191201211221231241252 unmodified lines12812913013113213313471 unmodified lines## ResultsAll cooking scores are on a fixed held-out set of 682 questions in 26 languages, never used in training: 290 with therecipe shown, 10 recall questions with no recipe ("how do you make X?"), 300 that need a recipe the model is not shown,and 82 general questions. Answers from base Qwen3-8B(thinking off) and this model are compared by an open-weights judge from a different model family(DeepSeek-V4-Flash, MIT licence), blind, in both orders. 95% confidence intervals in brackets.1 unmodified line|---|---|---|| **Invents recipe details when no recipe is shown** | 30.0% [25.1, 35.4] | **9.0%** [6.3, 12.8] || same, after a rule check that removes judge false alarms | 27.7% | **4.0%** [2.3, 6.9] || **Correct when the recipe is shown** (290 questions) | 87.6% | **96.2%** || Preferred by the judge, all 682 questions | — | **0.610** [0.581, 0.639] (0.50 = tie) || Preferred by the judge, general questions only | — | 0.460 [0.369, 0.549] (level with base) |30 unmodified lines| | Q4_K_M | Q6_K | Q8_0 ||---|---|---|---|| Judge preference vs full precision | 0.492 [0.475, 0.509] | 0.501 [0.485, 0.517] | 0.481 [0.466, 0.494] || Correct when the recipe is shown, 290 questions (full precision on that run) | 97.2% (96.6%) | 96.6% (96.2%) | 96.9% (96.2%) || Invents with no recipe (full precision on that run) | 9.3% (7.3%) | 6.3% (6.3%) | 6.7% (6.7%) || Invents with no recipe, 3 of 4 judges (full precision) | 4.7% (3.3%) | 3.0% (3.3%) | 3.3% (2.7%) || Correct when the recipe is shown, 3 of 4 judges (full precision) | 95.5% (94.1%) | 95.5% (94.1%) | 95.2% (94.8%) |2 unmodified linesQ4_K_M p = 0.34, Q6_K p = 1.0, Q8_0 p = 0.69 for inventing; p ≥ 0.22 for correctness with the recipe shown). On Q4_K_M two of the four judges on their own(GLM-4.7-Flash, gpt-oss-120b) do see slightly more invented details (p = 0.02 and 0.04); pick Q6_K or Q8_0 if that matters.With the DeepSeek judge alone, no quantisation changes the invents rate significantly (McNemar p ≥ 0.29). Q8_0's small dip comes from the 82general questions (0.418) and is most likely judge noise on a small set; Q4_K_M and Q6_K, which remove more bits,sit at parity.
README.md+6-5