Comments (2)
구현 방법:
- 단순히 retrieval들이 뽑아낸 passage들 사이 많이 포함되어 있는 것들 위주로 뽑는 hard voting 앙상블
- 뽑힌 passage들의 score까지 고려한 soft voting 앙상블
- 두 방식 다 passage들을 전부 이어 붙이고 string으로 관리하는 현 방식에서 사용하기 힘들다.
- 각 retrieval에서 test 케이스에 있는 질문들을 retrieve 한 결과물을 저장하고 voting하여 결과물을 내는 방법을 사용해야 할 것 같다. (2번의 경우 점수도 같이 저장)
- 2번 방법의 경우 각 retrieval의 점수 기준이 달라서 정규화가 필요하다.
from level2-mrc-level2-nlp-09.
각 retriever가 뽑아온 passage들이 어느정도로 유사한지 확인하기 위해 교집합의 크기를 시각화했다.
그 결과 상위 40개의 문서에 대하여 BM25와 TF-IDF는 평균 14개의 문서가 공통이라서 성능은 둘다 0.90이상 이지만 가져온 문서가 그렇게까지 비슷하지는 않다는 것을 알게되었다.
이후 DPR 구현하면서 알게된 rerank를 적용하여 TF-IDF, BM25, BM25+ 의 각 점수들을 min max scaling을 통해 크기를 맞춰주고 합한다음에 rerank하여 상위 40개의 문서를 반환했다. 리더보드 상 점수는 exact match score 기준 66.25에서 69.58로 올랐다. 이를 통하여 여러 retriever들이 높은 점수로 찾아온 passage들을 합하는 것이 정답이 들어있는 passage들을 더 잘 포함한다는 것을 알게 되었다.
from level2-mrc-level2-nlp-09.
Related Issues (20)
- 실험) 한국어 데이터셋 pretrained 모델 활용 HOT 1
- 구현) Korquad 데이터 활용 모델 Pretrain 학습 HOT 5
- 실험) n-gram TFIDF 성능 비교 HOT 3
- 실험) bm25+알고리즘 HOT 3
- 구현) Elasticsearch 적용 HOT 3
- 실험) Wiki Retrieval 데이터 수정 HOT 2
- 실험) Learning rate & Scheduler HOT 3
- 조사) ANNA (SQuAD_SOTA) 논문 조사 HOT 1
- 조사) Sentence BERT Ranking 분야 논문 조사 HOT 1
- 구현) SOTA의 예측과 진행한 실험의 예측 비교 HOT 1
- 조사) DPR 논문 조사 HOT 1
- 구현) Dense Passage Retrieval HOT 2
- 정리) SOTA모델_Reader(MRC) HOT 3
- 구현) inference 후처리 작업(조사처리) HOT 2
- 구현) 커리큘럼 러닝 HOT 1
- 실험) Elasticsearch 설정값 변경 HOT 4
- 구현) Ensemble HOT 1
- 실험) Ensemble HOT 1
- 구현) Sentence BERT 구조의 임베딩 생성 코드구현 및 실험 HOT 3
- 구현) KorQuad 데이터 MLM Pretrain 학습 HOT 2
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 level2-mrc-level2-nlp-09.