Update README.md
Browse files
README.md
CHANGED
@@ -63,7 +63,7 @@ import torch
|
|
63 |
from transformers import BertTokenizer, BertForSequenceClassification
|
64 |
|
65 |
# Load the tokenizer and model
|
66 |
-
model_name = "ModerationBERT-ML-En"
|
67 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
68 |
model = BertForSequenceClassification.from_pretrained(model_name, num_labels=18)
|
69 |
|
|
|
63 |
from transformers import BertTokenizer, BertForSequenceClassification
|
64 |
|
65 |
# Load the tokenizer and model
|
66 |
+
model_name = "ifmain/ModerationBERT-ML-En"
|
67 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
68 |
model = BertForSequenceClassification.from_pretrained(model_name, num_labels=18)
|
69 |
|