Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfsantos/summarization
https://github.com/jfsantos/summarization
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jfsantos/summarization
- Owner: jfsantos
- Created: 2017-07-13T15:55:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T20:25:27.000Z (over 7 years ago)
- Last Synced: 2024-12-10T15:05:11.613Z (17 days ago)
- Language: Python
- Size: 20.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Summarization
Requirment: https://github.com/pytorch/pytorch.git , strongly recommand use miniconda2 and install pytorch from source.
This model can be trained by the using command:
```bash
python main.py --cuda --data /data/lisa/data/sheny/ParaNews/
```In order to see word is generated by which memory, demo.py is provided:
```bash
python demo.py
```You need copy a random row from /data/lisa/data/sheny/ParaNews/test.txt as input of demo.py
In order to add new model, you may need to modify or change MemorySeq2Seq.py file.