self.premises,self.hypotheses,self.labels=self.__read_dataset("Text","Hypothesis","gold_label")def__read_dataset(self,premises_key:str,hypotheses_key:str,labels_key:str)->Tuple[List[str],List[str],List[int]]:data=pd.read_csv(self.dataset_path,sep="\t",encoding="cp1252")premises_list=[]hypotheses_list=[]labels_list=[]forpremise,hypothesis,labelinzip(data[premises_key].tolist(),data[hypotheses_key].tolist(),data[labels_key].tolist(),):premises_list.append(str(premise))hypotheses_list.append(str(hypothesis))labels_list.append(NEGATED_MNLI_LABEL_TO_ID[str(label)])returnpremises_list,hypotheses_list,labels_listdef__getitem__(self,index:int)->Tuple[str,str,int]:returnself.premises[index],self.hypotheses[index],self.labels[index]def__str__(self)->str:returnf"The test set of the Negated MNLI has {self.__len__()} instances"def__len__(self)->int:returnlen(self.premises)