Code Monkey home page Code Monkey logo

Comments (5)

Dodo-s95 avatar Dodo-s95 commented on May 24, 2024 1

I've been investigating the model and it's a bit cumbersome. I have a step-by-step guidelines file to replicate everything done so far. The results are difficult to interpret and the format strange. I'll take a closer look (also at the issue on their page).

from gecko-app.

psawa avatar psawa commented on May 24, 2024 1

The sentence reordering model has been successfully implemented!

Now, we still have to avoid loading the model at each query, which makes it very slow. I'll work on this.

from gecko-app.

Dodo-s95 avatar Dodo-s95 commented on May 24, 2024

The pipeline is ready!!! Whenever you want we can start implementing it.

from gecko-app.

psawa avatar psawa commented on May 24, 2024

The pipeline has been implemented! Now some things need to be fixed before merging:

  • The model is loaded at each query, so it is very slow (~10s per query)
  • The tags in the output box are not displayed properly. This is because the delta function compares the input text and output text after the reordering. When sentences are swapped, it considers full sentences as replaced.
  • The model file must be ignored (too heavy), and downloaded automatically via setup.sh (http://tts.speech.cs.cmu.edu/sentence_order/nips_bert.tar)

from gecko-app.

psawa avatar psawa commented on May 24, 2024

Now the model is loaded once as mentioned. It improved the reordering time from far: now it's around ~4s. It's still too long, but I that will do the job for now....

Eventually what could be done, is let users choose if they want to use this sentence reordering model, via a toggle button in the interface.

Don't hesitate to reopen if you have an idea on how to improve that!

from gecko-app.

Related Issues (20)

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.