pt-sk commited on
Commit
fdb6cd8
1 Parent(s): 3ce851e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -16,8 +16,8 @@ This model is trained for toxicity classification task. The dataset used for tra
16
  from transformers import RobertaTokenizer, RobertaForSequenceClassification
17
 
18
  # load tokenizer and model weights
19
- tokenizer = RobertaTokenizer.from_pretrained('SkolkovoInstitute/roberta_toxicity_classifier')
20
- model = RobertaForSequenceClassification.from_pretrained('SkolkovoInstitute/roberta_toxicity_classifier')
21
 
22
  # prepare the input
23
  batch = tokenizer.encode('you are amazing', return_tensors='pt')
 
16
  from transformers import RobertaTokenizer, RobertaForSequenceClassification
17
 
18
  # load tokenizer and model weights
19
+ tokenizer = RobertaTokenizer.from_pretrained('pt-sk/roberta_toxic_classifier')
20
+ model = RobertaForSequenceClassification.from_pretrained('pt-sk/roberta_toxic_classifier')
21
 
22
  # prepare the input
23
  batch = tokenizer.encode('you are amazing', return_tensors='pt')