Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ model_name = "qhchina/BERT-EmotionIntensity-0.1"
|
|
34 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
35 |
model = BertForSequenceClassification.from_pretrained(model_name)
|
36 |
|
37 |
-
sentence = "
|
38 |
|
39 |
inputs = tokenizer(sentence, return_tensors="pt")
|
40 |
|
|
|
34 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
35 |
model = BertForSequenceClassification.from_pretrained(model_name)
|
36 |
|
37 |
+
sentence = "到达华侨居住的地区,疯狂地捣毁华侨的商店,洗劫华侨的财物,野蛮地殴打华侨,破坏华侨的车辆和看到的一切东西。他们对华侨大抢、大烧、大杀。种种暴行,简直同当年希特勒法西斯匪徒对待犹太人,和今天南非种族主义者对待非洲人,一模一样。"
|
38 |
|
39 |
inputs = tokenizer(sentence, return_tensors="pt")
|
40 |
|