Coder Social home page Coder Social logo

Handle short sentences about denspi HOT 8 CLOSED

seominjoon avatar seominjoon commented on July 20, 2024
Handle short sentences

from denspi.

Comments (8)

jhyuklee avatar jhyuklee commented on July 20, 2024

Partially resolved using concatenation.

from denspi.

raman-r-4978 avatar raman-r-4978 commented on July 20, 2024

Hi @jhyuklee May I know what do you mean by concatenation? Is it a text concatenation or vector concatenation?

Please refer #13 for more details

from denspi.

jhyuklee avatar jhyuklee commented on July 20, 2024

Hi @RamanRajarathinam. We concatenated short sentences into a single paragraph (an input to BERT), then performed the indexing. This resolved the short sentence issues.

from denspi.

raman-r-4978 avatar raman-r-4978 commented on July 20, 2024

Oh okay.. But may I know why model is not performing as expected when the input text is short?

from denspi.

jhyuklee avatar jhyuklee commented on July 20, 2024

That's because the model was trained on SQuAD which usually contains a passage longer than a sentence.

from denspi.

raman-r-4978 avatar raman-r-4978 commented on July 20, 2024

So the only solution is to concatenate different texts? or Is there any other way to solve this?

from denspi.

raman-r-4978 avatar raman-r-4978 commented on July 20, 2024

Can you also please comment on this issues #9 and #13?

from denspi.

jhyuklee avatar jhyuklee commented on July 20, 2024

So the only solution is to concatenate different texts? or Is there any other way to solve this?
=> For now, yes but I guess there can be plenty of other solutions that can de-bias the length bias like augmenting short passage QA training pairs.

from denspi.

Related Issues (16)

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.