Change label mapping dictionaries for multilabel sequence classification with one hot encoding
I have multi hot encoded labeled data which I am using for a multi label classification task and am trying to change the label mapping dictionaries. However, tuples are not supported. How can I use one hot encoded vectors for labels?labeltoid and idtolabel are my dictionaries with {str:tuple}, {tuple:str}config=AutoConfig.from_pretrained(model_checkpoint,label2id=labeltoid,id2label=idtolabel,num_labels=num_labels,problem_type=“multi_label_classification”)model = AutoModelForSequenceClassification.from_pretrained(model_checkpoint,config=config)