Great! With 32 GB of system RAM and the flexibility to dedicate around 20 GB to your model, you can comfortably experiment with models that require more memory and potentially offer improved contextual understanding, longer context windows, and sharper summarization. Here are a few tailored recommendations considering both your setup and target tasks:
1. Sticking with the 7B Sweet Spot
Even with 20 GB available, many practitioners find that 7B-parameter models (in efficient 4-bit quantized format) strike an excellent balance between speed and performance for tasks like information extraction and summarization. Two of the top contenders here are:
Why stick with a 7B?
- They’re nimble on your CPU.
- They require much less than the 20 GB ceiling, leaving extra headroom if you want to chain interactions or expand the context length.
- They’re excellent for summarization and extraction tasks where speed and responsiveness matter.
2. Considering a Larger 13B Model
Since you have a healthy RAM headroom, you could also explore larger models if you are looking for enhancements in nuanced language understanding or if you have documents that benefit from extended context. Options include:
Why choose a 13B?
- They can provide deeper contextual understanding and possibly better nuance in extraction.
- With your ample RAM, you’re not forced to downgrade quality for the sake of fitting the model in memory.
3. Practical Considerations
-
Inference Speed vs. Quality: On a CPU, 7B models generally provide a faster turnaround for interactive work. If your workflow involves real-time editing or frequent queries in Obsidian, the responsiveness of a 7B model might be more satisfying.
-
Extended Context Capability: If your notes are large or if you plan on working with multi-step instructions that require a longer context, ensuring that your chosen model supports this via modifications (e.g., compiling llama.cpp with extended context support) could be beneficial.
-
Tooling:
- llama.cpp / GGUF: Suitable for running quantized models from both the 7B and 13B family.
- MLC-LLM: If you want to try and leverage your RX6600 even a bit, community-built Vulkan/OpenCL backends might help, though CPU remains reliable.
-
Workflow:
- Use chunking and retrieval-augmented pipelines if your texts/notes are long.
- Consider pairing your summarization model with a lightweight summarizer (e.g., Facebook’s BART-large-CNN) for batch processing of notes if you need super-fast one-line abstracts.
4. Final Recommendation
Given that your primary tasks are information extraction and summarization for your Obsidian notes, starting with a Mistral-7B-Instruct model in a 4-bit quantized format is a pragmatic choice. It efficiently uses far less than 20 GB, provides excellent performance on instruction-based tasks, and allows for responsive interactivity.
If you find that you require even richer language understanding or if your notes tend to be extremely complex, Llama-2-13B-Chat (or a similarly high-quality 13B model) could be an excellent upgrade—remembering that CPU inference will naturally be slower, so you might reserve it for batch processing or non-interactive summarization.
Happy experimenting, and enjoy building your local language processing setup for Obsidian!