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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy