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

SentencePair, LabeledSentencePair 의 get_all_pairs, get_all_labels 기능 제공 #44

Closed
lovit opened this issue Sep 1, 2020 · 0 comments

Comments

@lovit
Copy link
Member

lovit commented Sep 1, 2020

  • LabeledSentencePair, (e.g. = KorNLI) 를 이용하는 모델의 학습은 ((sent1, sent2), label) 단위로 이뤄기 때문에 [(sent1, sent2), (sent1, sent2), ... ] 을 get_all_pairs 에서 [label, label, ...] 을 get_all_labels 에서 제공.
    • get_all_textslist of str 을 return 하는 것으로 오해할 수 있으므로 get_all_pairs 로 명명
  • 이와 비슷하게 SentencePair 도 get_all_pairs 기능을 제공
  • KorNLI 처럼 LabeledSentencePairKorpus 를 상속하는 클래스는 get_all_pairs, get_all_labels 를 제공
@lovit lovit changed the title KorNLI 의 get_all_texts, get_all_labels 기능 제공 SentencePair, LabeledSentencePair 의 get_all_texts, get_all_labels 기능 제공 Sep 1, 2020
@lovit lovit changed the title SentencePair, LabeledSentencePair 의 get_all_texts, get_all_labels 기능 제공 SentencePair, LabeledSentencePair 의 get_all_pairs, get_all_labels 기능 제공 Sep 1, 2020
lovit added a commit that referenced this issue Sep 1, 2020
Implement get_all_pairs and get_all_labels (fix #44)
@lovit lovit mentioned this issue Sep 1, 2020
Merged
3 tasks
@lovit lovit closed this as completed in 5185e32 Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant