Training in progress epoch 0
Browse files- README.md +3 -3
- config.json +14 -16
- tf_model.h5 +2 -2
- tokenizer_config.json +1 -1
README.md
CHANGED
|
@@ -12,9 +12,9 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 12 |
|
| 13 |
# ogtega/tweet-toxicity-classifier
|
| 14 |
|
| 15 |
-
This model is a fine-tuned version of [
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Train Loss:
|
| 18 |
- Epoch: 0
|
| 19 |
|
| 20 |
## Model description
|
|
@@ -41,7 +41,7 @@ The following hyperparameters were used during training:
|
|
| 41 |
|
| 42 |
| Train Loss | Epoch |
|
| 43 |
|:----------:|:-----:|
|
| 44 |
-
|
|
| 45 |
|
| 46 |
|
| 47 |
### Framework versions
|
|
|
|
| 12 |
|
| 13 |
# ogtega/tweet-toxicity-classifier
|
| 14 |
|
| 15 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: 0.1537
|
| 18 |
- Epoch: 0
|
| 19 |
|
| 20 |
## Model description
|
|
|
|
| 41 |
|
| 42 |
| Train Loss | Epoch |
|
| 43 |
|:----------:|:-----:|
|
| 44 |
+
| 0.1537 | 0 |
|
| 45 |
|
| 46 |
|
| 47 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"hidden_dropout_prob": 0.1,
|
| 11 |
-
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
"0": "toxic",
|
| 14 |
"1": "severe_toxic",
|
|
@@ -18,7 +17,6 @@
|
|
| 18 |
"5": "identity_hate"
|
| 19 |
},
|
| 20 |
"initializer_range": 0.02,
|
| 21 |
-
"intermediate_size": 3072,
|
| 22 |
"label2id": {
|
| 23 |
"identity_hate": 5,
|
| 24 |
"insult": 4,
|
|
@@ -27,16 +25,16 @@
|
|
| 27 |
"threat": 3,
|
| 28 |
"toxic": 0
|
| 29 |
},
|
| 30 |
-
"layer_norm_eps": 1e-12,
|
| 31 |
"max_position_embeddings": 512,
|
| 32 |
-
"model_type": "
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
"pad_token_id": 0,
|
| 36 |
-
"position_embedding_type": "absolute",
|
| 37 |
"problem_type": "multi_label_classification",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
"transformers_version": "4.28.1",
|
| 39 |
-
"type_vocab_size": 2,
|
| 40 |
-
"use_cache": true,
|
| 41 |
"vocab_size": 30522
|
| 42 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
+
"DistilBertForSequenceClassification"
|
| 6 |
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
|
|
|
|
|
|
| 11 |
"id2label": {
|
| 12 |
"0": "toxic",
|
| 13 |
"1": "severe_toxic",
|
|
|
|
| 17 |
"5": "identity_hate"
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
|
|
|
| 20 |
"label2id": {
|
| 21 |
"identity_hate": 5,
|
| 22 |
"insult": 4,
|
|
|
|
| 25 |
"threat": 3,
|
| 26 |
"toxic": 0
|
| 27 |
},
|
|
|
|
| 28 |
"max_position_embeddings": 512,
|
| 29 |
+
"model_type": "distilbert",
|
| 30 |
+
"n_heads": 12,
|
| 31 |
+
"n_layers": 6,
|
| 32 |
"pad_token_id": 0,
|
|
|
|
| 33 |
"problem_type": "multi_label_classification",
|
| 34 |
+
"qa_dropout": 0.1,
|
| 35 |
+
"seq_classif_dropout": 0.2,
|
| 36 |
+
"sinusoidal_pos_embds": false,
|
| 37 |
+
"tie_weights_": true,
|
| 38 |
"transformers_version": "4.28.1",
|
|
|
|
|
|
|
| 39 |
"vocab_size": 30522
|
| 40 |
}
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21bc12e332d3e70ef5560486dc7e6590735f52177a5263251665ddec2128907a
|
| 3 |
+
size 267964096
|
tokenizer_config.json
CHANGED
|
@@ -8,6 +8,6 @@
|
|
| 8 |
"sep_token": "[SEP]",
|
| 9 |
"strip_accents": null,
|
| 10 |
"tokenize_chinese_chars": true,
|
| 11 |
-
"tokenizer_class": "
|
| 12 |
"unk_token": "[UNK]"
|
| 13 |
}
|
|
|
|
| 8 |
"sep_token": "[SEP]",
|
| 9 |
"strip_accents": null,
|
| 10 |
"tokenize_chinese_chars": true,
|
| 11 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 12 |
"unk_token": "[UNK]"
|
| 13 |
}
|