sfrenda commited on
Commit
063e016
1 Parent(s): f98e11c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -46,7 +46,7 @@ It was tested on SENTIPOLC 2016 test set
46
  - Accelerate 0.30.0
47
 
48
  # How to use this model:
49
- ```
50
  model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/sentiment-it',num_labels=3, ignore_mismatched_sizes=True)
51
  tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
52
  classifier = pipeline("text-classification", model=model, tokenizer=tokenizer, top_k=None)
 
46
  - Accelerate 0.30.0
47
 
48
  # How to use this model:
49
+ ```Python
50
  model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/sentiment-it',num_labels=3, ignore_mismatched_sizes=True)
51
  tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
52
  classifier = pipeline("text-classification", model=model, tokenizer=tokenizer, top_k=None)