Skip to content

kaletap/nlp-style-transfer

Repository files navigation

Style transfer

Goal: implement a tool changing style of a provided text.

Sources:

Progress:

  1. Implemented data downloading (imdb) that will later be used for training. (17.07.19)
  2. Changed code in language-style-transfer from python2 to python3. (17.07.19)
  3. Found out how to run language-style-transfer code (python3.6 and tensorflow==1.3.0). Added casting to tf.int32 to fix a bug. (19.07.19)
  4. Fixed some other bugs in language-style-transfer regarding running script, created running instructions in readme. Downloaded and tested model according to instructions in readme created by authors (python3.6 style_transfer.py --online_testing ../data/yelp/sentiment.test --output ../tmp/sentiment.test --vocab ../model/yelp.vocab --model ../model/model --load_model true --beam 8). It's possible to run this model in interactive mode: after writing it turns out it outputs translation to similar sentence and sentence with style transfer. It is not that good, especially considering that I use model pretrained by authors. (30.09.19)

TODO:

  1. Run chainger-fm-gan code (write requirements file / docker) on some corpora.

[1] Reimplementation of original code. Link to author's repository at http://zhegan27.github.io/Paper.html) was not available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published