nicholasKluge
commited on
Commit
•
d345da8
1
Parent(s):
5ff2a46
Update README.md
Browse files
README.md
CHANGED
@@ -61,8 +61,8 @@ dataset = DatasetDict({
|
|
61 |
model = AutoModelForSequenceClassification.from_pretrained(
|
62 |
"nicholasKluge/TeenyTinyLlama-162m",
|
63 |
num_labels=2,
|
64 |
-
id2label={0: "
|
65 |
-
label2id={"
|
66 |
)
|
67 |
|
68 |
tokenizer = AutoTokenizer.from_pretrained("nicholasKluge/TeenyTinyLlama-162m")
|
|
|
61 |
model = AutoModelForSequenceClassification.from_pretrained(
|
62 |
"nicholasKluge/TeenyTinyLlama-162m",
|
63 |
num_labels=2,
|
64 |
+
id2label={0: "NONTOXIC", 1: "TOXIC"},
|
65 |
+
label2id={"NONTOXIC": 0, "TOXIC": 1}
|
66 |
)
|
67 |
|
68 |
tokenizer = AutoTokenizer.from_pretrained("nicholasKluge/TeenyTinyLlama-162m")
|