glowrs
The glowrs library provides an easy and familiar interface to use pre-trained models for embeddings and sentence similarity.
Example
use ;
Features
- Load models from Hugging Face Hub
- Use hardware acceleration (Metal, CUDA)
- More to come!
Build features
metal: Compile with Metal accelerationcuda: Compile with CUDA accelerationaccelerate: Compile with Accelerate framework acceleration (CPU)
Disclaimer
This is still a work-in-progress. The embedding performance is decent but can probably do with some benchmarking.
Do not use this in a production environment.