Skip to content

remilepriol/sdca4crf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

438 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDCA4CRF

Stochastic dual coordinate ascent for training conditional random fields. Visit the project webpage for more details.

drawing

Depends

Python 3.6, Numpy, Scipy, Matplotlib, tensorboard_logger.

Usage

Call main.py with the desired arguments. The full list of arguments is specified in sdca4crf/arguments.py. The main training loop is in sdca4crf/sdca.py. A typical use case is:

python main.py --dataset ner --non-uniformity 0.8 --sampling-scheme gap

You can use tensorboard to visualize training. Training curves and other results are also saved into pickle files at the end of training.

Four pre-processed datasets are available under data/. To use another dataset, you should extract features and numberize them.

The folders named experiments contain a bunch of scripts used for the paper.

About

Stochastic dual coordinate ascent for conditional random fields

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages