Advanced Topics¶
Advanced concepts and optimization techniques.
Contents¶
- Suffix Arrays - Understanding suffix array implementation
- Lightweight Grounding - LLM grounding with minimal overhead
- Performance Optimization - Making LangCalc faster
- Extending LangCalc - Creating custom models and projections
Topics¶
Suffix Arrays¶
How LangCalc achieves 34× memory efficiency over n-grams.
Lightweight Grounding¶
Achieving 70% perplexity reduction with just 5% weight.
Performance¶
Optimizing query latency and memory usage.
Extending¶
Building custom models, projections, and augmentations.