radityapranata
commited on
Commit
•
8bc6b81
1
Parent(s):
d6ea626
Update README.md
Browse files
README.md
CHANGED
@@ -32,7 +32,7 @@ You can use this model directly with a pipeline for masked language modeling:
|
|
32 |
>>>from transformers import BertTokenizer, BertForSequenceClassification
|
33 |
>>>import torch
|
34 |
|
35 |
-
model_name = "radityapranata/absabert-keluhanpln-v3"
|
36 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
37 |
model = BertForSequenceClassification.from_pretrained(model_name)
|
38 |
absa_pipeline = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
|
|
|
32 |
>>>from transformers import BertTokenizer, BertForSequenceClassification
|
33 |
>>>import torch
|
34 |
|
35 |
+
model_name = "radityapranata/absabert-keluhanpln-v3"
|
36 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
37 |
model = BertForSequenceClassification.from_pretrained(model_name)
|
38 |
absa_pipeline = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
|