End of training
Browse files- README.md +68 -0
- config.json +34 -0
- model.safetensors +3 -0
- runs/Nov15_09-03-01_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661384.Ubuntu-2204-jammy-amd64-base.1035987.0 +3 -0
- runs/Nov15_09-10-49_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661852.Ubuntu-2204-jammy-amd64-base.1035987.1 +3 -0
- runs/Nov15_09-11-26_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661888.Ubuntu-2204-jammy-amd64-base.1035987.2 +3 -0
- runs/Nov15_09-11-42_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661904.Ubuntu-2204-jammy-amd64-base.1035987.3 +3 -0
- runs/Nov15_09-11-42_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731666522.Ubuntu-2204-jammy-amd64-base.1035987.4 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-multilingual-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: multilingual-clickbait-detector
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# multilingual-clickbait-detector
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1283
|
24 |
+
- Accuracy: 0.9596
|
25 |
+
- F1: 0.9619
|
26 |
+
- Precision: 0.9581
|
27 |
+
- Recall: 0.9658
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 64
|
48 |
+
- eval_batch_size: 64
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 3
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
57 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
58 |
+
| 0.0659 | 1.0 | 3787 | 0.1147 | 0.9627 | 0.9650 | 0.9576 | 0.9726 |
|
59 |
+
| 0.0245 | 2.0 | 7574 | 0.1841 | 0.9637 | 0.9659 | 0.9588 | 0.9732 |
|
60 |
+
| 0.0115 | 3.0 | 11361 | 0.2095 | 0.9645 | 0.9665 | 0.9651 | 0.9678 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.41.2
|
66 |
+
- Pytorch 2.3.1+cu121
|
67 |
+
- Datasets 2.18.0
|
68 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-multilingual-cased",
|
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": "non-clickbait",
|
13 |
+
"1": "clickbait"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"clickbait": 1,
|
18 |
+
"non-clickbait": 0
|
19 |
+
},
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "distilbert",
|
22 |
+
"n_heads": 12,
|
23 |
+
"n_layers": 6,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"problem_type": "single_label_classification",
|
27 |
+
"qa_dropout": 0.1,
|
28 |
+
"seq_classif_dropout": 0.2,
|
29 |
+
"sinusoidal_pos_embds": false,
|
30 |
+
"tie_weights_": true,
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.41.2",
|
33 |
+
"vocab_size": 119547
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53219eea846fa5d7fd1775966434a77071503b26b6e1b7a83cc1345089f0ed1d
|
3 |
+
size 541317368
|
runs/Nov15_09-03-01_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661384.Ubuntu-2204-jammy-amd64-base.1035987.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fd9f279fcdc2ced08ff1bb501a5ab4e03e5db5eab5e0f05b6493e02b952597e
|
3 |
+
size 6417
|
runs/Nov15_09-10-49_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661852.Ubuntu-2204-jammy-amd64-base.1035987.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70c53bc3b1c51357d105494d6551ea5ce750d5da03f262162f6d2a2ab0395a1c
|
3 |
+
size 4989
|
runs/Nov15_09-11-26_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661888.Ubuntu-2204-jammy-amd64-base.1035987.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f45ea2cf8ff8b7c306a4a60d81ef17d3827b71cc6ebcb565e8887f40ebe4d836
|
3 |
+
size 4991
|
runs/Nov15_09-11-42_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731661904.Ubuntu-2204-jammy-amd64-base.1035987.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e14c639eddde11ea8f0163688fed020e22b8e1bc940939b3f315bf903a93326
|
3 |
+
size 11401
|
runs/Nov15_09-11-42_Ubuntu-2204-jammy-amd64-base/events.out.tfevents.1731666522.Ubuntu-2204-jammy-amd64-base.1035987.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c13b31b55384b8c142015cb56e341ecd594355c8931432eca491996726150b68
|
3 |
+
size 560
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b07ff7862407482c475cc81d3136574c6e3c0d17fa12b6b411cbea7c970d627
|
3 |
+
size 5176
|