FredrikMoller
commited on
Commit
·
a060131
1
Parent(s):
8e69bdd
fix to readme
Browse files
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("
|
22 |
-
classifier_fear= load_classifier("
|
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("
|
53 |
-
classifier_violence = load_classifier("
|
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 |
|