geek-ai / Texygen

A text generation benchmarking platform
MIT License
863 stars 203 forks source link

How to get text from generated generator.txt file? #43

Closed khorshidisamira closed 4 years ago

khorshidisamira commented 4 years ago

Hi, I used real data and as a result of runnig python main.py -g seqgan - t real -d 'data/narratives.txt' I got a generator.txt file under save directory. An instance row of this generator.txt file is like:

4172 2137 1971 4089 842 2056 3806 2100 3845 1955 1111 721 462 3040 3877 2913 4855 1363 374 4203 Now, my question is how can I get the actual text from this generator.txt file?