Update README.md
Browse files
README.md
CHANGED
@@ -5,8 +5,8 @@ import torch
|
|
5 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline
|
6 |
|
7 |
# load model
|
8 |
-
tokenizer = AutoTokenizer.from_pretrained("jaehyeong/koelectra-base-v3-
|
9 |
-
model = AutoModelForSequenceClassification.from_pretrained("jaehyeong/koelectra-base-v3-
|
10 |
sentiment_classifier = TextClassificationPipeline(tokenizer=tokenizer, model=model)
|
11 |
|
12 |
# target reviews
|
|
|
5 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline
|
6 |
|
7 |
# load model
|
8 |
+
tokenizer = AutoTokenizer.from_pretrained("jaehyeong/koelectra-base-v3-generalized-sentiment-analysis")
|
9 |
+
model = AutoModelForSequenceClassification.from_pretrained("jaehyeong/koelectra-base-v3-generalized-sentiment-analysis")
|
10 |
sentiment_classifier = TextClassificationPipeline(tokenizer=tokenizer, model=model)
|
11 |
|
12 |
# target reviews
|