Skip to content

BinbinBian/charagram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

charagram

Code to train models from "Charagram: Embedding Words and Sentences via Character n-grams".

The code is written in python and requires numpy, scipy, theano, keras, and the lasagne libraries.

To get started, run setup.sh to download trained models and required files such as training data, evaluation data, and feature sets. There is a demo script that takes the model that you would like to train as a command line argument (check the script to see available choices). Check main/train.py for command line options.

If you use our code for your work please cite:

@article{wieting2016charagram, author = {John Wieting and Mohit Bansal and Kevin Gimpel and Karen Livescu}, title = {Charagram: Embedding Words and Sentences via Character n-grams}, journal = {CoRR}, volume = {abs/1607.02789}, year = {2016}}

About

Code to train and use models from "Charagram: Embedding Words and Sentences via Character n-grams".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.1%
  • Shell 6.9%