Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ from transformers import AutoModelForSequenceClassification, RobertaConfig
|
|
28 |
|
29 |
config = RobertaConfig.from_pretrained(
|
30 |
"roberta-base",
|
31 |
-
id2label={
|
32 |
)
|
33 |
model = AutoModelForSequenceClassification.from_pretrained("roberta-base", config=config)
|
34 |
model = PeftModel.from_pretrained(model, "solwol/roberta-sentiment-classifier-peft")
|
|
|
28 |
|
29 |
config = RobertaConfig.from_pretrained(
|
30 |
"roberta-base",
|
31 |
+
id2label={0: "π", 1: "π"}
|
32 |
)
|
33 |
model = AutoModelForSequenceClassification.from_pretrained("roberta-base", config=config)
|
34 |
model = PeftModel.from_pretrained(model, "solwol/roberta-sentiment-classifier-peft")
|