worked for me too. Don’t know why
1 Like
After reviewing the data_processor.py file, I can see the current data processing method. The prepare_dataset
method currently creates a dataset with “input_ids”, “attention_mask”, and “labels” columns.
1 Like
you should specifiy a proble type. change the code to
Define DistilBERT as our base model:
model = AutoModelForSequenceClassification.from_pretrained(“distilbert-base-uncased”, num_labels=9,problem_type=‘multi_label_classification’)
1 Like
Worked for me, too. Can somebody explain why?
I’m confused
1 Like