KorNLI 외에 각자가 NLI type 으로 만드는 데이터가 있을 경우, 이를 로딩할 수 있도록 custom dataclass 를 제공합니다.
class CustomLabeledSentencePairKorpus(LabeledSentencePairKorpus):
def __init__(self, files, ... ):
# files 내 파일 이름 혹은 prefix 에 따라 LabeledSentencePairData class instance 생성
KorNLI 외에 각자가 NLI type 으로 만드는 데이터가 있을 경우, 이를 로딩할 수 있도록 custom dataclass 를 제공합니다.