I forgot to mention, my desktop has 32GB of RAM, so allocating around 20GB for the model sounds reasonable (I want to have 12GB available for OS, browsing and my IDE/Obsidian)
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Perfect! With 32GB RAM and a 20GB budget, you can run much larger models that will give you significantly better results for information extraction and summarization. Here's the updated recommendation:
🎯 Sweet Spot: 13B-20B Models
With 20GB available, you're in the goldilocks zone for models that are genuinely smart but still fast enough for daily use.
Top Picks:
Model
RAM Usage (q4)
Speed (est.)
Why Choose It
Mixtral-8x7B-Instruct
~26GB
3-5 tok/s
Best reasoning, but might be tight on RAM
Llama-2-13B-Chat
~7GB
8-12 tok/s
Reliable, well-tested, great for extraction
Nous-Hermes-2-Yi-34B
~18GB
2-4 tok/s
Excellent instruction following
CodeLlama-13B-Instruct
~7GB
8-12 tok/s
Great at structured output (JSON, tables)
My #1 recommendation: Llama-2-13B-Chat (Q4_K_M)
Uses only ~7GB, leaving you tons of headroom
Fast enough for interactive use (8-12 tokens/sec on modern CPU)
Excellent at following complex extraction prompts
Huge community support and examples
🚀 Advanced Workflow with 13B Models
Since you have the RAM budget, you can run more sophisticated extraction:
bash
# Example prompt for structured extraction
SYSTEM: You are a research assistant that extracts structured information.
USER: Extract from this Obsidian note:
1. **Main Topic**: (1-2 words)
2. **Summary**: (2-3 sentences)
3. **Key Concepts**: (comma-separated list)
4. **People/Organizations**: (if any)
5. **Dates/Deadlines**: (if any)
6. **Action Items**: (if any)
7. **Related Topics**: (for linking)
Format as JSON for easy parsing.
Text: ```{{your_note}}```
The 13B models are much better at:
Following complex formatting instructions
Maintaining consistency across long documents
Understanding context and relationships between concepts
Generating proper JSON/structured output
🛠️ Setup for 13B Models
Option 1 - llama.cpp (recommended):
bash
# Download Llama-2-13B-Chat Q4_K_M (~7GB)
wget https://huggingface.co/TheBloke/Llama-2-13B-Chat-GGUF/resolve/main/llama-2-13b-chat.Q4_K_M.gguf
# Run with more context and threads
./main -m llama-2-13b-chat.Q4_K_M.gguf \
-c 4096 \
-t 8 \
--temp 0.1 \
--repeat_penalty 1.1
Option 2 - Oobabooga WebUI:
Much easier for testing different prompts
Built-in API for automation
Can load multiple models and switch between them
📊 Batch Processing Strategy
With a 13B model, you can process your entire Obsidian vault efficiently:
Batch processing: Process 10-20 notes, then save results
Temperature: Keep low (0.1-0.3) for consistent extraction
Parallel processing: Run multiple instances if you have CPU cores to spare
Estimated throughput: ~50-100 medium notes per hour, depending on complexity.
🎛️ Model Comparison for Your Use Case
Model
Best For
RAM
Speed
Quality
Llama-2-13B
General extraction, reliable
7GB
⭐⭐⭐⭐
⭐⭐⭐⭐
CodeLlama-13B
Structured output (JSON/tables)
7GB
⭐⭐⭐⭐
⭐⭐⭐⭐⭐
Nous-Hermes-2-Yi-34B
Complex reasoning, relationships
18GB
⭐⭐
⭐⭐⭐⭐⭐
Mixtral-8x7B
Best overall, but RAM-hungry
26GB
⭐⭐
⭐⭐⭐⭐⭐
💡 Pro Strategy
Since you have the RAM budget, consider running two models:
Fast model (Llama-2-13B): For bulk processing and quick summaries
Smart model (Yi-34B or Mixtral): For complex analysis and relationship extraction
You could even automate this: run the fast model first for basic extraction, then use the smart model only on notes flagged as "complex" or "important."
🎯 Final Recommendation
Start with Llama-2-13B-Chat Q4_K_M. It's the perfect balance of speed, quality, and reliability for your use case. Once you have your workflow dialed in, experiment with the larger models for notes that need deeper analysis.
The jump from 7B to 13B models is dramatic for structured tasks like information extraction - you'll get much more consistent formatting and better understanding of complex relationships in your notes.