Skip to content

druhi021204/Text-Style-Transfer

 
 

Repository files navigation

Text-Style-Transfer

About the Project

Results

Inputs CrossAligned

DeleteRetrieve StyleFormer

Aim

The aim of this project is to utilise various neural network architectures to modify the style of a sentence while preserving its meaning.

Description

Text Style Transfer is the modification of style of a sentence without altering the semantic content. This can be done through a variety of different methods.

Here we have showcased 4 of the methods that we have tried to apply to solve the given problem.

Namely,

  1. Transformer-only
  2. StyleFormer
  3. DeleteRetrieveGenerate
  4. CrossAligned

Tech Stack

The techonologies used in this project include:

  1. Python
  2. Tensorflow
  3. Pytorch
  4. GoogleColab

File Structure

├── 3b1b-Linear-Algebra-Notes               # Notes made for linear algebra course
    ├── 
    ├── 
├── Coursera-Assignments                    # Coursera Assignments
    ├── Warren-Assignments
    ├── Druhi-Assignments
    ├── Yashvi-Assignments
├── Coursera-Notes                          # Notes on Deep Learning
    ├── Warren-Notes
    ├── Druhi-Notes
    ├── Yashvi-Notes
├── CrossAligned                            # CrossAligned implementation
    ├── code
    ├── data
    ├── img
    ├── tmp
├── DeleteRetrieveGenerate                  # DeleteRetrieve implementation
    ├── data
    ├── src
    ├── tools
    ├── working_dir
├── Mini-Projects                           # Mini projects made
    ├── Deep-Neural-Network-From-Scratch
    ├── IMDB-Lstm
    ├── MNISTDigit
├── Project-Report                          # Report on the project
    ├──  Project-Report.pdf
├── StyleFormer                             # StyleFormer implementation
    ├── data
    ├── evaluator
    ├── models
    ├── outputs
    ├── data.py
    ├── main.py
    ├── train.py
    ├── utils.py
    ├── README.md
├── Transformer                             # Transformer implementation
    ├── data
    ├── weights
    ├── Tokenizer.ipynb
    ├── Transformer.ipynb
    ├── README.md
├── LICENSE                            
├── README.md                          

Contributors

Future Prospects

  • The usage of finetuned LLMs such as GPT, PaLM, to achieve the desired fluency in Text Style Transfer.
  • Potentially use Reinforcement Learning as described here

Resources and Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 69.4%
  • Roff 30.5%
  • Other 0.1%