ultimate010 / crnn

For thesis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crnn

Fork from https://github.com/ultimate010/crnn

Installation

Full anaconda2 package Theano Keras (install version 1.2.2 for reproduce acc > 89 %)

conda install theano pygpu
pip install keras=1.2.2

Switch Keras backend to Theano (How-to)

Download word2vec pretrained binary file here (looking for GoogleNews-vectors-negative300.bin.gz)

Preprocess data

python process_sst2_data.py w2v_bin sst_dir

To run on GPU

THEANO_FLAGS=mode=FAST_RUN,device=cuda,floatX=float32 python sst2_cnn_rnn_keras1.py

About

For thesis

License:MIT License


Languages

Language:Python 99.4%Language:Shell 0.6%