Views
No views yet
| File | Size | Description | Use Case |
|---|---|---|---|
model-q4_k_m.gguf | 770 MB | Recommended - Best balance | General CPU inference |
model-q5_k_m.gguf | 869 MB | Better quality | When quality matters more |
model-q8_0.gguf | 1260 MB | Highest quality | Maximum accuracy |
model-f16.gguf | 2365 MB | Full precision | Benchmarking |
1# Download a quantized model
2wget https://huggingface.co/ambrosfitz/llama-3.2-1b-book-triage-gguf/resolve/main/model-q4_k_m.gguf
3
4# Run inference
5./llama-cli -m model-q4_k_m.gguf -p "Your prompt here"1from llama_cpp import Llama
2
3# Load model
4llm = Llama(
5 model_path="model-q4_k_m.gguf",
6 n_ctx=2048,
7 n_threads=8
8)
9
10# Generate
11output = llm("Your prompt here", max_tokens=200)
12print(output['choices'][0]['text'])1from ctransformers import AutoModelForCausalLM
2
3model = AutoModelForCausalLM.from_pretrained(
4 "ambrosfitz/llama-3.2-1b-book-triage-gguf",
5 model_file="model-q4_k_m.gguf",
6 model_type="llama"
7)
8
9response = model("Your prompt here")| Quantization | Tokens/sec | RAM Usage |
|---|---|---|
| Q4_K_M | 15-25 | ~1.5 GB |
| Q5_K_M | 12-20 | ~2 GB |
| Q8_0 | 8-15 | ~3 GB |
Triage this book (FAST decision):
Title: [Book Title]
Author: [Author Name]
Publisher: [Publisher]
Year: [Year]
Holdings: [N] libraries
Tier: [1-3]
Quick triage decision (JSON only):1{
2 "category": "PROMISING",
3 "score": 70,
4 "is_thesis": false,
5 "is_gov_doc": false,
6 "reason": "Older book with limited holdings, potentially rare and unique."
7}1@misc{book-triage-gguf,
2 author = {ambrosfitz},
3 title = {Llama 3.2 1B Book Triage - GGUF Quantized},
4 year = {2025},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/ambrosfitz/llama-3.2-1b-book-triage-gguf}
7}