Skip to content

c-ai/textification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textification

Simplest text classification implemented with Faceboo FastText library

Instructions

Make sure you have fastText python library installed

  1. Fill in the dataset\Training.txt file with your raw training data in the format of __label__{customized} {Text need be classfied}

  2. Run the preparedata.py This will generate two txt files: fasttext_dataset_test.txt and fasttext_dataset_training.txt

  3. Run the train.py which will read the two txt files generated from step 2 and then generate two models trained_model.bin and trained_model.ftz(quantized,compact size)

About

Simplest text classification implemented with Facebook FastText library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages