boostcampaitech2 / mrc-level2-nlp-14

mrc-level2-nlp-14 created by GitHub Classroom
MIT License
10 stars 8 forks source link

[Dev] postprocessing.py 수정 #7

Closed uyeongjae closed 2 years ago

uyeongjae commented 2 years ago

모듈화 진행

postprocess_qa_predictions 내 기능들을 아래와 같이 모듈화 진행하였습니다. 해당 작업은 추후 기능 추가를 위함이며, 현재까지 추가된 기능은 없습니다. 그리고 사용되지 않는 parameter(version_2_with_negative, null_score_diff_threshold)와 관련 코드들은 제거하였습니다.

추가 작업 요소

uyeongjae commented 2 years ago

Unit test

Unit test는 unit_test_postprocessing.ipynb 해당 노트북 파일 다운로드 후, mrc-level2-nlp-14에서 실행해주시면 됩니다!