-
released this
2025-08-29 22:22:28 +02:00 | 990 commits to main since this releaseWhat's New in v2.9.0
✨ Features
- New
precisionparameter - Replaces confusingdtypefor model variant selection - Q8 Model Support Fixed - Properly loads quantized models (75% smaller) when requested
- Cleaner API - Use
precision: 'q8'orprecision: 'fp32'for clear model selection
🔧 Improvements
- Better model file detection for q8 vs fp32 variants
- Fixed transformers.js pipeline to correctly load quantized models
- Updated all internal references to use the new parameter
📦 Usage
const brain = new BrainyData({ embeddingFunction: createEmbeddingFunction({ precision: 'q8' // Use 75% smaller quantized models }) })🚀 Performance
- Q8 models are 75% smaller (22MB vs 87MB)
- Maintain 99% accuracy compared to fp32
- Faster loading and lower memory usage
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
0 downloads
- New