Views
No views yet
| Quant Type | Size | Use Case |
|---|---|---|
| BF16 | 19.1 GB | Maximum quality, high VRAM |
| Q4_K_M | 5.86 GB | Best balance of quality/size |
1# Download the model
2huggingface-cli download Fu01978/Llama-3.2-3B-MoE-4Expert-Q4_K_M-GGUF Llama-3.2-3B-MoE-4Expert.Q4_K_M.gguf --local-dir .
3
4# Run with llama.cpp
5./llama-cli -m Llama-3.2-3B-MoE-4Expert.Q4_K_M.gguf -p "Write a Python function to reverse a string" -n 5121from llama_cpp import Llama
2
3llm = Llama(
4 model_path="Llama-3.2-3B-MoE-4Expert.Q4_K_M.gguf",
5 n_ctx=2048,
6 n_threads=8,
7)
8
9output = llm(
10 "Explain quantum entanglement in simple terms",
11 max_tokens=512,
12 temperature=0.7,
13)
14print(output['choices'][0]['text'])convert_hf_to_gguf.py script