Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

mberaha/style_text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Style Transfer from Non-Parallel Text by Cross-Alignment".

This repo contains the PyTorch implementation of the paper by Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. NIPS 2017. arXiv

Instructions to use the code:

  1. Compile the protocol buffer in src/parameters.proto using the command:

protoc --proto_path=src --python_out=src src/parameters.proto

For furhter instructions on how to install protoc and what are protocol buffers, you can refere to Google's page

  1. Update the parameters value contained in the file resources/params.asciipb with your choiche of the parameters

  2. Train the model using the file in scripts/train_yelp.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published