Text Generation
Transformers
Safetensors
PEFT
English
qwen3
qwen
cooking
recipes
fine-tuned
lora
knowledge-distillation
synthetic-data
rag
question-answering
conversational
text-generation-inference
Instructions to use burpi/Cooking-Qwen-Merged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use burpi/Cooking-Qwen-Merged with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="burpi/Cooking-Qwen-Merged") 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("burpi/Cooking-Qwen-Merged") model = AutoModelForCausalLM.from_pretrained("burpi/Cooking-Qwen-Merged", 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]:])) - PEFT
How to use burpi/Cooking-Qwen-Merged with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use burpi/Cooking-Qwen-Merged with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "burpi/Cooking-Qwen-Merged" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "burpi/Cooking-Qwen-Merged", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/burpi/Cooking-Qwen-Merged
- SGLang
How to use burpi/Cooking-Qwen-Merged 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 "burpi/Cooking-Qwen-Merged" \ --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": "burpi/Cooking-Qwen-Merged", "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 "burpi/Cooking-Qwen-Merged" \ --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": "burpi/Cooking-Qwen-Merged", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use burpi/Cooking-Qwen-Merged with Docker Model Runner:
docker model run hf.co/burpi/Cooking-Qwen-Merged
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,6 +15,7 @@ tags:
|
|
| 15 |
- rag
|
| 16 |
- question-answering
|
| 17 |
- conversational
|
|
|
|
| 18 |
base_model_relation: finetune
|
| 19 |
model-index: []
|
| 20 |
---
|
|
@@ -42,7 +43,8 @@ The resulting model contains approximately 597 million parameters, with fewer th
|
|
| 42 |
| Developer | Murphy Amos |
|
| 43 |
| Hugging Face | [burpi](https://huggingface.co/burpi) |
|
| 44 |
| Model type | Causal language model |
|
| 45 |
-
| Architecture |
|
|
|
|
| 46 |
| Parameters | 597,196,800 |
|
| 47 |
| Language | English |
|
| 48 |
| Specialization | Cooking and recipe question answering |
|
|
@@ -169,7 +171,7 @@ This produced synthetic conversational training data based on the original recip
|
|
| 169 |
|
| 170 |
### Student Model Fine-Tuning
|
| 171 |
|
| 172 |
-
The generated question–answer interactions were used to fine-tune a pretrained **
|
| 173 |
|
| 174 |
Fine-tuning was performed using **Low-Rank Adaptation (LoRA)** through Hugging Face PEFT, updating approximately 0.192% of the model's parameters.
|
| 175 |
|
|
|
|
| 15 |
- rag
|
| 16 |
- question-answering
|
| 17 |
- conversational
|
| 18 |
+
base_model: Qwen/Qwen3-0.6B
|
| 19 |
base_model_relation: finetune
|
| 20 |
model-index: []
|
| 21 |
---
|
|
|
|
| 43 |
| Developer | Murphy Amos |
|
| 44 |
| Hugging Face | [burpi](https://huggingface.co/burpi) |
|
| 45 |
| Model type | Causal language model |
|
| 46 |
+
| Architecture | Qwen3 |
|
| 47 |
+
| Base model | [Qwen3-0.6B](https://huggingface.co/Qwen/Qwen3-0.6B) |
|
| 48 |
| Parameters | 597,196,800 |
|
| 49 |
| Language | English |
|
| 50 |
| Specialization | Cooking and recipe question answering |
|
|
|
|
| 171 |
|
| 172 |
### Student Model Fine-Tuning
|
| 173 |
|
| 174 |
+
The generated question–answer interactions were used to fine-tune a pretrained **Qwen3-0.6B** causal language model.
|
| 175 |
|
| 176 |
Fine-tuning was performed using **Low-Rank Adaptation (LoRA)** through Hugging Face PEFT, updating approximately 0.192% of the model's parameters.
|
| 177 |
|