qzxyxiaobao / TextCNN

Convolutional Neural Networks for Sentence Classification in PyTorch

Home Page:https://arxiv.org/abs/1408.5882

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convolutional Neural Networks for Sentence Classification

This repo implements the Convolutional Neural Networks for Sentence Classification (Yoon Kim) using PyTorch

model_archi

You should rewrite the Dataset class in the data/dataset.py
and put your data in '/data/train' or any other directory.

run by

python3 main.py --lr=0.01 --epoch=20 --batch_size=16 --gpu=0 --seed=0 --label_num=2			

About

Convolutional Neural Networks for Sentence Classification in PyTorch

https://arxiv.org/abs/1408.5882


Languages

Language:Python 100.0%