https://github.com/tokestermw/deep-bow
Implementation of deep bag-of-words in PyTorch
https://github.com/tokestermw/deep-bow
Last synced: 3 months ago
JSON representation
Implementation of deep bag-of-words in PyTorch
- Host: GitHub
- URL: https://github.com/tokestermw/deep-bow
- Owner: tokestermw
- License: mit
- Created: 2017-07-17T16:06:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T05:59:18.000Z (almost 8 years ago)
- Last Synced: 2024-12-30T00:29:50.142Z (4 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
... under construction
# Deep Bag-of-Words
Implementation of deep bag-of-words in PyTorch## Installation
[Install PyTorch](http://pytorch.org/) following the instructions (I used Python 2.7 on OS X with no CUDA).
Clone the [torchtext git repo](https://github.com/pytorch/text) and then run the following to install `torchtext`:
```
python setup.py install
```Install the rest of the requirements.
```
pip install -r requirements.txt
```## Data
Data comes from an old competition on [automatic essay scoring](https://www.kaggle.com/c/asap-aes/data).
Unzip and put it into the `./data` directory.Training data (`training_set_rel3.tsv`) and validation data (`valid_set.tsv`).