Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nerqa saving update #42

Merged
merged 6 commits into from
Mar 9, 2022
Merged

Conversation

ympaik87
Copy link
Contributor

@ympaik87 ympaik87 commented Mar 9, 2022

NER/QA 모델 저장방식 변경

  • 기존 방식: 학습 마지막 모델 저장
  • 개선 방식: 각 폴드별 eval score가 제일 높은 가중치 저장

@ympaik87 ympaik87 requested a review from jerife March 9, 2022 06:19
@ympaik87 ympaik87 self-assigned this Mar 9, 2022
@ympaik87 ympaik87 added the enhancement New feature or request label Mar 9, 2022
@Kingthegarden
Copy link
Contributor

오 이런 결점이 있었군용 수정 감사합니다 !

@ympaik87 ympaik87 mentioned this pull request Mar 9, 2022
Copy link
Member

@HyeonhoonLee HyeonhoonLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인하였습니다^^

@ympaik87 ympaik87 merged commit 81b118c into develop Mar 9, 2022
@ympaik87 ympaik87 mentioned this pull request Mar 10, 2022
@@ -2,6 +2,8 @@
BERT_MODEL_LIST = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

model path에서 같은 파일이 중복됩니다! 둘중하나 제거해주시면 좋을것 같습니다.

f"../models/{BERT_MODEL_LIST[cfg.model_param.model_name]}",
trim_offsets=CFG.model_param.trim_offsets
)
root_save_dir = '../checkpoint'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이부분의 경우에는 toknizer를 DebertaV2TokenizerFast 밖에 사용하지 못할 것같은데 config에 맞게 유동적으로 사용할 수 있게 변경해주시면 좋을 것 같습니다!

@@ -2,6 +2,11 @@
BERT_MODEL_LIST = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이부분도 "deberta-large"와 "deberta-v3"이부분이 겹칩니다!

@Kingthegarden Kingthegarden deleted the feature/nerqa-saving-update branch March 11, 2022 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants