Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ Then the model can be downloaded and used for inference:
|
|
43 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
44 |
|
45 |
model = AutoModelForSequenceClassification.from_pretrained("identrics/EN_propaganda_detector", num_labels=2)
|
46 |
-
tokenizer = AutoTokenizer.from_pretrained("identrics/
|
47 |
|
48 |
tokens = tokenizer("Our country is the most powerful country in the world!", return_tensors="pt")
|
49 |
output = model(**tokens)
|
|
|
43 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
44 |
|
45 |
model = AutoModelForSequenceClassification.from_pretrained("identrics/EN_propaganda_detector", num_labels=2)
|
46 |
+
tokenizer = AutoTokenizer.from_pretrained("identrics/BG_propaganda_detector")
|
47 |
|
48 |
tokens = tokenizer("Our country is the most powerful country in the world!", return_tensors="pt")
|
49 |
output = model(**tokens)
|