Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,7 @@ pip install tensorflow
|
|
44 |
from transformers import AutoTokenizer, TFAutoModelForSequenceClassification, TextClassificationPipeline
|
45 |
|
46 |
# Load the tokenizer and model
|
47 |
-
model_name = "
|
48 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
49 |
model = TFAutoModelForSequenceClassification.from_pretrained(model_name)
|
50 |
|
|
|
44 |
from transformers import AutoTokenizer, TFAutoModelForSequenceClassification, TextClassificationPipeline
|
45 |
|
46 |
# Load the tokenizer and model
|
47 |
+
model_name = "nanelimon/bert-base-turkish-offensive"
|
48 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
49 |
model = TFAutoModelForSequenceClassification.from_pretrained(model_name)
|
50 |
|