From cbd54cb3825f10d2d77887b238c0f84f34c55056 Mon Sep 17 00:00:00 2001 From: Michael Tu Date: Thu, 18 Jan 2018 10:42:09 -0500 Subject: [PATCH] Kim CNN README remove torchtext reset (#96) --- .gitignore | 1 + kim_cnn/README.md | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index aa58290..2318c3e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ trec_eval.9.0/ trec_eval-9.0.5 *.pt text/ +kim_cnn/data diff --git a/kim_cnn/README.md b/kim_cnn/README.md index 20380bf..47c12c8 100644 --- a/kim_cnn/README.md +++ b/kim_cnn/README.md @@ -12,16 +12,7 @@ Implementation for Convolutional Neural Networks for Sentence Classification of ## Requirement -- Install the latest version of pytorch -- Install the version of torchtext -``` -git clone https://github.com/pytorch/text.git -cd text -#use this commit number -git reset --hard 6f930eb8de936482f321ac123e020fd08dd07a4b -python setup.py install -``` - +Assuming you already have PyTorch, just install torchtext (`pip install torchtext==0.2.0`) ## Quick Start