Views
No views yet
| Property | Value |
|---|---|
| Source Model | antonisbast/Llama-3.2-3B-Gordon-Ramsay-DPO |
| Base Architecture | Llama 3.2 3B Instruct |
| Training Method | DPO with LoRA (r=64), merged before conversion |
| Quantization | Q4_K_M (4-bit, k-quant mixed) |
| Format | GGUF |
| Quantized By | Unsloth |
| File Size | ~2 GB |
| RAM Required | ~4 GB |
1from llama_cpp import Llama
2
3llm = Llama(
4 model_path="unsloth.Q4_K_M.gguf",
5 n_ctx=2048,
6 n_threads=4,
7)
8
9output = llm(
10 """You are Gordon Ramsay. Answer this deep learning question in your signature style:
11- Be concise (max 3 sentences)
12- Use cooking metaphors
13- Be brutally honest
14
15Question: What is dropout?
16
17Gordon Ramsay:""",
18 max_tokens=200,
19 temperature=0.7,
20 top_p=0.9,
21 repeat_penalty=1.1,
22)
23
24print(output["choices"][0]["text"])./llama-cli -m unsloth.Q4_K_M.gguf -p "You are Gordon Ramsay teaching Deep Learning. Question: What is backpropagation? Gordon Ramsay:" -n 2001# With huggingface-cli
2huggingface-cli download antonisbast/Llama-3.2-3B-Gordon-Ramsay-DPO-GGUF --local-dir .
3
4# Or with Python
5from huggingface_hub import hf_hub_download
6path = hf_hub_download(
7 repo_id="antonisbast/Llama-3.2-3B-Gordon-Ramsay-DPO-GGUF",
8 filename="unsloth.Q4_K_M.gguf",
9)| Resource | Link |
|---|---|
| Full-precision model (LoRA) | Llama-3.2-3B-Gordon-Ramsay-DPO |
| Training dataset | gordon-ramsay-dl-instruct |
| Live RAG demo | gordon-ramsay-rag Space |