ko-nlp / Korpora

Korean corpus repository
Creative Commons Attribution 4.0 International
694 stars 80 forks source link

NLI type custom dataclass 제공 #47

Closed lovit closed 4 years ago

lovit commented 4 years ago

KorNLI 외에 각자가 NLI type 으로 만드는 데이터가 있을 경우, 이를 로딩할 수 있도록 custom dataclass 를 제공합니다.

class CustomLabeledSentencePairKorpus(LabeledSentencePairKorpus):
    def __init__(self, files, ... ):
        # files 내 파일 이름 혹은 prefix 에 따라 LabeledSentencePairData class instance 생성
lovit commented 4 years ago

아마 master < dev merge 할 때 fix 붙어있는 것들 다 close 될건데, master 머지전에는 혼동될 수 있으니 이렇게 수동으로 이슈 닫는것도 좋겠네요.

다른 이슈들도 해결됨을 알고 있는 것들은 제가 닫아두겠습니다.