End of training
Browse files- .gitattributes +1 -0
- README.md +72 -0
- config.json +37 -0
- pytorch_model.bin +3 -0
- runs/Jan10_14-24-47_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515488.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.0 +3 -0
- runs/Jan10_14-24-47_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515553.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.1 +3 -0
- runs/Jan10_14-29-10_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515751.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.2 +3 -0
- runs/Jan10_14-29-10_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515817.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.3 +3 -0
- runs/Jan10_14-40-38_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516439.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1275.0 +3 -0
- runs/Jan10_14-40-38_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516522.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1275.1 +3 -0
- runs/Jan10_14-44-21_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516663.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1641.0 +3 -0
- runs/Jan10_14-44-21_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516701.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1641.1 +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: FacebookAI/xlm-roberta-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: scandi-fine-web-cleaner
|
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 |
+
# scandi-fine-web-cleaner
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the data-is-better-together/fineweb-c dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1816
|
24 |
+
- Precision: 0.9524
|
25 |
+
- Recall: 0.7018
|
26 |
+
- F1: 0.8081
|
27 |
+
- Auc Roc: 0.9648
|
28 |
+
- Balanced Accuracy: 0.8480
|
29 |
+
- Average Precision: 0.8906
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 2e-05
|
49 |
+
- train_batch_size: 16
|
50 |
+
- eval_batch_size: 16
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- num_epochs: 10
|
55 |
+
- mixed_precision_training: Native AMP
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Auc Roc | Balanced Accuracy | Average Precision |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:-------:|:-----------------:|:-----------------:|
|
61 |
+
| 0.3165 | 1.0 | 100 | 0.2333 | 0.95 | 0.6667 | 0.7835 | 0.8099 | 0.8304 | 0.7721 |
|
62 |
+
| 0.1929 | 2.0 | 200 | 0.1359 | 0.9130 | 0.7368 | 0.8155 | 0.9778 | 0.8626 | 0.9105 |
|
63 |
+
| 0.1775 | 3.0 | 300 | 0.2245 | 0.9268 | 0.6667 | 0.7755 | 0.9481 | 0.8290 | 0.8721 |
|
64 |
+
| 0.1553 | 4.0 | 400 | 0.1816 | 0.9524 | 0.7018 | 0.8081 | 0.9648 | 0.8480 | 0.8906 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.48.0
|
70 |
+
- Pytorch 2.5.1+cu124
|
71 |
+
- Datasets 3.2.0
|
72 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "not_problematic",
|
15 |
+
"1": "problematic"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"false": 0,
|
21 |
+
"true": 1
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-05,
|
24 |
+
"max_position_embeddings": 514,
|
25 |
+
"model_type": "xlm-roberta",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"output_past": true,
|
29 |
+
"pad_token_id": 1,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.48.0",
|
34 |
+
"type_vocab_size": 1,
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 250002
|
37 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fab6d66dae3bb936e449fc5d732439efda048b96ce368cc0022795edf93f162
|
3 |
+
size 1112250158
|
runs/Jan10_14-24-47_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515488.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be6ba9a270da977d90c2251d9db32e10986bebe0bae8fcbf6a28ae5f08766250
|
3 |
+
size 8022
|
runs/Jan10_14-24-47_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515553.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef52a0bd0b6ee86984e61b663c73e57f8cee517e133305493fefbdea8ee00c8f
|
3 |
+
size 681
|
runs/Jan10_14-29-10_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515751.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36e5287f699c8d4c02059f9f8f9a4671cabc4d9cdf398832c792260b2fed8902
|
3 |
+
size 8009
|
runs/Jan10_14-29-10_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736515817.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.893.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10b0c16a1897300aee7e4bab460bc3573e6b957705623136482054c7070ae32a
|
3 |
+
size 681
|
runs/Jan10_14-40-38_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516439.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1275.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11f4769c5e010301e314abe8d9ec39dc7788696c069e826d112dca256d047e2d
|
3 |
+
size 10435
|
runs/Jan10_14-40-38_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516522.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1275.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e844731df923fb5c9a15ac879cee4fa4422bf896eccadee419628bd527e8836f
|
3 |
+
size 681
|
runs/Jan10_14-44-21_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516663.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1641.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85a6fa1a524de7d33bcb1505f31173b9eacfb98f0c96be3205310d8977e499ba
|
3 |
+
size 8827
|
runs/Jan10_14-44-21_r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w/events.out.tfevents.1736516701.r-davanstrien-jupyterlab-g2s19v44-96dc5-71v4w.1641.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76cab8db36b449d0836337cb25adca5a75c98e60dfa613ba096b2f2745cc5bd2
|
3 |
+
size 1274
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:883b037111086fd4dfebbbc9b7cee11e1517b5e0c0514879478661440f137085
|
3 |
+
size 17082987
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"250001": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": false,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"extra_special_tokens": {},
|
49 |
+
"mask_token": "<mask>",
|
50 |
+
"model_max_length": 512,
|
51 |
+
"pad_token": "<pad>",
|
52 |
+
"sep_token": "</s>",
|
53 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
54 |
+
"unk_token": "<unk>"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d98cdb25a741469bd14f562b804e9cfad51e7c63e1f3adeab9f111c1ecaaf2a
|
3 |
+
size 5368
|