mirror of
https://github.com/wassname/Castor.git
synced 2026-10-29 12:40:22 +08:00
Kim CNN README remove torchtext reset (#96)
This commit is contained in:
1 parent
51d8e29525
commit
cbd54cb382
2 files changed
+2
-10
No files matched your search
@@ -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