fasttext-quick-classify is a collection of two scripts and an example .csv, to show case the usage of fasttext.
The .bin
model from fast-text must also be downloaded - here or here.
Tested with cc.en.300.bin
- link.
-
Required Python Packages: numpy, chromadb, fasttext
-
load_data.py
run to create chromadb -
classify_data.py
run to get the most similar entries according to inputs