Skip to content

Repository files navigation

Text Style Transfer

Text style transfer manipulates the style of a sentence without changing the words used. For example, we might want to adjust the tense to of a sentence from past to present to future perfect.

Text Style Transfer Example Taken from Toward Controlled Generation of Text

This project takes a slightly different approach, more similar to Neural Style Transfer; our objective is to create a new sentence F with the contents of a sentence C but the style of a sentence S. We accomplish this by optimizing the following objective:

Equation

where MSE is mean squared error. The frontend website is served using Flask.

Made at GTHacks 5: https://devpost.com/software/text-style-transfer.

Dependencies

Install using

pip install -r requirements.txt

Running Instructions

Start the development server using

flask run

About

Creates a new sentence with the contents of sentence A but the style of sentence B (to a degree). Made at GTHacks 5: https://devpost.com/software/text-style-transfer.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages