Update README.md
Browse files
README.md
CHANGED
@@ -8,8 +8,8 @@ license: afl-3.0
|
|
8 |
# 使用範例:
|
9 |
|
10 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
11 |
-
tokenizer = AutoTokenizer.from_pretrained("clhuang/
|
12 |
-
model = AutoModelForSequenceClassification.from_pretrained("clhuang/
|
13 |
|
14 |
## Pediction
|
15 |
target_names=['Negative','Positive']
|
|
|
8 |
# 使用範例:
|
9 |
|
10 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained("clhuang/albert-sentiment")
|
12 |
+
model = AutoModelForSequenceClassification.from_pretrained("clhuang/albert-sentiment")
|
13 |
|
14 |
## Pediction
|
15 |
target_names=['Negative','Positive']
|