FredrikMoller commited on
Commit
c4fd6b1
1 Parent(s): c6ee0a4

fix to readme

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -18,8 +18,8 @@ The model can be imported from the transformers library by running
18
 
19
  from transformers import BertForSequenceClassification, BertTokenizerFast
20
 
21
- tokenizer = BertTokenizerFast.from_pretrained("fredrikmollerRF/Swedish-Sentiment-Fear")
22
- classifier_fear= load_classifier("fredrikmollerRF/Swedish-Sentiment-Fear")
23
 
24
  When the model and tokenizer are initialized the model can be used for inference.
25
 
@@ -49,8 +49,8 @@ The model be can imported from the transformers library by running
49
 
50
  from transformers import BertForSequenceClassification, BertTokenizerFast
51
 
52
- tokenizer = BertTokenizerFast.from_pretrained("fredrikmollerRF/Swedish-Sentiment-Violence")
53
- classifier_violence = load_classifier("fredrikmollerRF/Swedish-Sentiment-Violence")
54
 
55
  When the model and tokenizer are initialized the model can be used for inference.
56
 
18
 
19
  from transformers import BertForSequenceClassification, BertTokenizerFast
20
 
21
+ tokenizer = BertTokenizerFast.from_pretrained("RecordedFuture/Swedish-Sentiment-Fear")
22
+ classifier_fear= load_classifier("RecordedFuture/Swedish-Sentiment-Fear")
23
 
24
  When the model and tokenizer are initialized the model can be used for inference.
25
 
49
 
50
  from transformers import BertForSequenceClassification, BertTokenizerFast
51
 
52
+ tokenizer = BertTokenizerFast.from_pretrained("RecordedFuture/Swedish-Sentiment-Violence")
53
+ classifier_violence = load_classifier("RecordedFuture/Swedish-Sentiment-Violence")
54
 
55
  When the model and tokenizer are initialized the model can be used for inference.
56