sfrenda commited on
Commit
a0977b7
·
verified ·
1 Parent(s): ebb63b6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -56,12 +56,12 @@ It was tested on IronITA test set obtaining the following results:
56
  - Transformers 4.30.2
57
  - Pytorch 2.1.2
58
  - Datasets 2.19.0
59
- - Accelerate=0.30.0
60
 
61
  # How to use this model:
62
  ```
63
  model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/irony',num_labels=2)
64
  tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
65
  classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
66
- classifier("")
67
  ```
 
56
  - Transformers 4.30.2
57
  - Pytorch 2.1.2
58
  - Datasets 2.19.0
59
+ - Accelerate 0.30.0
60
 
61
  # How to use this model:
62
  ```
63
  model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/irony',num_labels=2)
64
  tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
65
  classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
66
+ classifier("Prendi una gioia. Ora posala, che non è tua.")
67
  ```