mirror of
https://github.com/wassname/Castor.git
synced 2026-09-10 11:40:44 +08:00
Kim CNN README remove torchtext reset (#96)
This commit is contained in:
@@ -9,3 +9,4 @@ trec_eval.9.0/
|
||||
trec_eval-9.0.5
|
||||
*.pt
|
||||
text/
|
||||
kim_cnn/data
|
||||
|
||||
+1
-10
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user