Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 371 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 371 Bytes

CNN-Text-Classification

Implementing CNN for Movie Review accoding to Kim (2014).

Prepare data

python process_data.py <path_to_word2vec>

Start Training

static

python main.py --embedding_freeze

Acc=0.8098

non-static

python main.py

Acc=0.8141

Dependencies

  • pytorch==0.3.0
  • python3
  • numpy