Giter Site home page Giter Site logo

jimth001 / formality_style_transfer_with_shared_latent_space Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 1.0 487 KB

The repo of the paper "Formality Style Transfer with Shared Latent Space"

License: MIT License

Python 100.00%
formality-style-transfer s2s-sls

formality_style_transfer_with_shared_latent_space's People

Contributors

jimth001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

formality_style_transfer_with_shared_latent_space's Issues

how to prepare the data ?

hello! can I ack you some questions about the data? In sls_settings_v2_FR.py file,
image
how to make the './new_exp_fr/embedding/embedding.bpe.big.txt' file? And is './new_exp_fr/informal.train.rule' a txt format file? Thank you very much!

why will this question happen? I get the same result

hello, thank you for answering me the question about "how to prepare the data" again. Now I want to ask you another question when I train and evaluate the data. The dataset is made by myself. I want to transfer one style to another style. I have 6000 for train, 2000 for validation and 2000 for test parallel data. But when I print the inf2fm data in the file sls_gpt.py in 559 line in batch_num: 100
image
I get the result:
image

I don't know why. When I run another experiment "Style Transfer Through Back-Translation. ACL 2018" . I also get the same result.
image
So I turn to you for help~

best wishes, thank you very much!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.