Coder Social home page Coder Social logo

Comments (2)

HanNayeoniee avatar HanNayeoniee commented on August 15, 2024

현재 sota 결과인 fine-tuning을 두 번 진행한 reader와 elasticsearch bm25기반 retriever(topk=40)의 예측값에 문장 형식으로 있는 경우가 있었다.

"mrc-0-001659": "솔레놉신이 있다. 인간에게는 솔레놉신이" → "솔레놉신"
"mrc-1-000524": "슬로보단 밀로셰비치의 통제 하로 들어가게 된다. 밀로셰비치" → "밀로셰비치"

성능이 좋은 모델일수록 예측값에 긴 문장이 들어있는 경우는 적었지만, 이런 케이스를 줄이면 성능이 향상될 것이라고 생각해 위 예시에서 화살표 오른쪽과 같이 수작업으로 수정했다.
(형태소 분석기를 사용해 조사를 떼어낸 후에 카운트 기반으로 가장 많이 등장한 토큰을 정답으로 선택하는 후처리 방법을 생각했는데, 적용하는데 시간이 걸려 시험삼아 수작업으로 진행해보았습니다.)

image

후처리 이후에도 EM, F1 score가 동일한 성능을 보였습니다. 아래 2가지 의문이 들었는데, metric 계산 과정을 다시 한 번 확인하면 후처리에 대한 방향을 얻을 수 있을 것 같습니다.
  • 전체 600개의 test data 중 극히 일부분이라서 성능에 변화가 없는건지?
  • EM 측정 방법을 생각해보면 정답이 포함되기만 하면 맞다고 계산하기 때문에 성능에 변화가 없는건지? (이 부분은 EM 계산과정을 자세히 들여다봐야 확실히 알 수 있을거같아요)

from level2-mrc-level2-nlp-09.

wogkr810 avatar wogkr810 commented on August 15, 2024

후처리 관련하여, 시도& 얻은 인사이트를 정리한 post_process.ipynb 파일을 추가하였다.

from level2-mrc-level2-nlp-09.

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.