Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GenderQuant

If models/novels exists already, please remove it first:

rm -rf models/novels

To train the model, run the following command:

allennlp train config/config_simple_roc.json -s models/novels --include-package allenModel --include-package allenDatasetReader

To run the website demo, run the following command, and see the result in local http://localhost:8000/:

python -m allennlp.service.server_simple --archive-path models/novels/model.tar.gz --predictor GenderQuant --include-package allenModel --include-package allenDatasetReader --static-dir static_html

If could not run the line self.nlp = spacy.load('en') in allenDatasetReader.py, please download spacy model first.

Releases

No releases published

Packages

No packages published