Update README.md
Browse files
README.md
CHANGED
|
@@ -60,7 +60,7 @@ It was tested on IronITA test set obtaining the following results:
|
|
| 60 |
- Accelerate 0.30.0
|
| 61 |
|
| 62 |
# How to use this model:
|
| 63 |
-
```
|
| 64 |
model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/irony-it',num_labels=2)
|
| 65 |
tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
|
| 66 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
|
|
|
| 60 |
- Accelerate 0.30.0
|
| 61 |
|
| 62 |
# How to use this model:
|
| 63 |
+
```Python
|
| 64 |
model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/irony-it',num_labels=2)
|
| 65 |
tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
|
| 66 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|