Giter Site home page Giter Site logo

Comments (7)

guangyliu avatar guangyliu commented on August 29, 2024

Thanks for your comment. We haven't released the text editing code so far. However, the single-attribute text editing results are in the outputs folder. We'll update the code later.

from latentops.

leekum2018 avatar leekum2018 commented on August 29, 2024

Thanks for your prompt reply! I will keep close watch on your update and look forward to it.

Or can you give some simple instruction on how to get the transfer style experiment result as in the outputs folder?

from latentops.

leekum2018 avatar leekum2018 commented on August 29, 2024

Sorry to bother you again. But I really want to want how to get the transfer style experiment result as in the outputs folder and explore the details.

from latentops.

guangyliu avatar guangyliu commented on August 29, 2024

I have updated the code, please run bash lace_transfer_yelpnew.sh (in LatentOps/code folder) to get the single attribute text editing results of yelp. The generated file will be in the ckpts/large_yelp/sample/transfer_repa20_1.0.txt. You can increase repa_num in lace_transfer_yelpnew.sh to get better results (generally, 20 and 30 are good choices).

from latentops.

guangyliu avatar guangyliu commented on August 29, 2024

BTW, we use nltk.tokenize.word_tokenize to tokenize the sentence for evaluating the BLEU score.

from latentops.

leekum2018 avatar leekum2018 commented on August 29, 2024

Thank you very much! And I have a further question, why don't you use Optimus and instead train a VAE from scratch?

from latentops.

guangyliu avatar guangyliu commented on August 29, 2024

Because Optimus has some problems (e.g., they used the old version transformers library) and performs poorly on reconstruction.

from latentops.

Related Issues (8)

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.