floret-torch
github.com/fazel94/floret-torch- Category
- AI Tools
- Rank
- No. 2027Tools index
Previous survey · No. 1943 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Models: Train & Run
- GitHub
- 7 stars
- Date
About
A PyTorch library that trains floret word vectors (fastText with a Bloom-style subword table) on a GPU and exports spaCy-compatible .floret and .vec files. Training is mostly gather and scatter over large tables, which is limited by memory bandwidth, so a GPU shortens training time; the README claims about 20x faster than CPU floret on a 4-core laptop at the same quality.
At a glance
floret-torch trains fastText-style word vectors on a GPU and writes files compatible with floret. It is worth trying if training on a large corpus is your bottleneck and you already have a CUDA-capable PyTorch setup.
Good fit
NLP teams that want word vectors for rare or unseen words without changing their existing floret-based consumer.
Consider something else when
Keep CPU training when your corpus is small or GPU setup takes longer than the job you want to accelerate.
Start here
Train both versions on the same small corpus with matching settings. Compare elapsed time and a word-similarity check, then load the GPU-trained file into your downstream pipeline.
Cost and requirements
The project documents Python 3.9 or newer and an existing PyTorch install. The GPU training path requires CUDA.
Limits to know
The published timing compares specific hardware and a specific corpus. Measure speed and quality on your own setup before expecting the same gain.
Sources checked 2026-11-05. Source-based assessment.
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.