Update README.md
Browse files
README.md
CHANGED
|
@@ -81,8 +81,8 @@ Use the code below to get started with the model:
|
|
| 81 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 82 |
|
| 83 |
# Load the model and tokenizer
|
| 84 |
-
|
| 85 |
-
|
| 86 |
|
| 87 |
# Example inference
|
| 88 |
text = "Servis çok yavaştı ama yemekler lezzetliydi."
|
|
|
|
| 81 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 82 |
|
| 83 |
# Load the model and tokenizer
|
| 84 |
+
tokenizer = AutoTokenizer.from_pretrained("Sengil/ABSA-Turkish-bert-based-small")
|
| 85 |
+
model = AutoModelForSequenceClassification.from_pretrained("Sengil/ABSA-Turkish-bert-based-small")
|
| 86 |
|
| 87 |
# Example inference
|
| 88 |
text = "Servis çok yavaştı ama yemekler lezzetliydi."
|