Skip to content
πŸ“– Algorithm for Written Text Style Transfer, EE379K Final Project
Roff Other
  1. Roff 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data forgot to add files Dec 11, 2017
language-style-transfer Add files via upload Dec 12, 2017
papers added best paper ever Dec 7, 2017
recordings/m4a
.gitignore
LICENSE.txt
LossFunc.png
README.md
blogPost.md
requirements.txt

README.md

Art of Text

Neural style transfer for written text.

Getting Started

To train a model, first create a tmp/ folder in language-style-transfer, then go to the code/ folder and run the following command:

python style_transfer.py --train ../data/yelp/sentiment.train --dev ../data/yelp/sentiment.dev --output ../tmp/sentiment.dev --vocab ../tmp/yelp.vocab --model ../tmp/model

To test the model, run the following command:

python style_transfer.py --test ../data/yelp/sentiment.test --output ../tmp/sentiment.test --vocab ../tmp/yelp.vocab --model ../tmp/model --load_model true

The model and results will be saved in the tmp/ folder.

Check code/options.py for all running options.

To train a HPL -> Shakespeare converter create a style-tmp here in root:

python style_transfer.py --train ../../data/preProcessCode/horror_shake.train --dev ../../data/preProcessCode/horror_shake.dev --output ../../style-tmp/style.dev --vocab ../../style-tmp/style.vocab --model ../../style-tmp/model

Prerequisites

What things you need to install the software and how to install them

Give examples

Installing

A step by step series of examples that tell you have to get a development env running

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo

Built With

Authors

License

This project is licensed under the GPLv3 License - see the LICENSE.txt file for details

You can’t perform that action at this time.