Comments (8)
Partially resolved using concatenation.
from denspi.
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.
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.
Oh okay.. But may I know why model is not performing as expected when the input text is short?
from denspi.
That's because the model was trained on SQuAD which usually contains a passage longer than a sentence.
from denspi.
So the only solution is to concatenate different texts? or Is there any other way to solve this?
from denspi.
Can you also please comment on this issues #9 and #13?
from denspi.
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)
- Create one-command index->pred->eval routine
- How to generate dense vector and sparse vector for own data HOT 8
- how to convert each float32 value to int8? HOT 1
- Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. HOT 1
- is it possible to run the denspi in a normal laptop without any problems
- neg training code is different from the paper
- Issues in setting up demo for SQuAD 1.1 data HOT 6
- Sparse-first search and hybrid search not working HOT 2
- How could I reproduce the result for SQuAD 1.1? HOT 6
- Quick Q: Does DenSPI depend on CoreNLP? HOT 2
- How could I reproduce the result for SQuAD 1.1 from scratch ?
- How to handle short sentences/contexts HOT 1
- torch version(s)
- the choice of faiss index
- The demo link is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denspi.