miltilingual_dbert_linsearch_only_abstract
Browse files- README.md +77 -0
- config.json +87 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert/distilbert-base-multilingual-cased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: miltilingual_dbert_linsearch_only_abstract
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# miltilingual_dbert_linsearch_only_abstract
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-multilingual-cased](https://huggingface.co/distilbert/distilbert-base-multilingual-cased) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.1619
|
22 |
+
- Accuracy: 0.6503
|
23 |
+
- F1 Macro: 0.5682
|
24 |
+
- Precision Macro: 0.5753
|
25 |
+
- Recall Macro: 0.5677
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 1e-05
|
45 |
+
- train_batch_size: 8
|
46 |
+
- eval_batch_size: 8
|
47 |
+
- seed: 42
|
48 |
+
- gradient_accumulation_steps: 2
|
49 |
+
- total_train_batch_size: 16
|
50 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_ratio: 0.2
|
53 |
+
- num_epochs: 10
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Precision Macro | Recall Macro |
|
59 |
+
|:-------------:|:------:|:-----:|:---------------:|:--------:|:--------:|:---------------:|:------------:|
|
60 |
+
| 1.6359 | 1.0 | 4931 | 1.3956 | 0.5993 | 0.4738 | 0.4899 | 0.4809 |
|
61 |
+
| 1.2088 | 2.0 | 9862 | 1.1775 | 0.6346 | 0.5431 | 0.5473 | 0.5519 |
|
62 |
+
| 1.0786 | 3.0 | 14793 | 1.1372 | 0.6437 | 0.5588 | 0.5692 | 0.5618 |
|
63 |
+
| 0.9337 | 4.0 | 19724 | 1.1246 | 0.6493 | 0.5649 | 0.5631 | 0.5748 |
|
64 |
+
| 0.7898 | 5.0 | 24655 | 1.1619 | 0.6503 | 0.5682 | 0.5753 | 0.5677 |
|
65 |
+
| 0.6843 | 6.0 | 29586 | 1.2278 | 0.6426 | 0.5590 | 0.5676 | 0.5556 |
|
66 |
+
| 0.5632 | 7.0 | 34517 | 1.2998 | 0.6376 | 0.5611 | 0.5654 | 0.5592 |
|
67 |
+
| 0.4954 | 8.0 | 39448 | 1.3443 | 0.6369 | 0.5603 | 0.5645 | 0.5583 |
|
68 |
+
| 0.4512 | 9.0 | 44379 | 1.3767 | 0.6359 | 0.5599 | 0.5622 | 0.5587 |
|
69 |
+
| 0.4298 | 9.9981 | 49300 | 1.3833 | 0.6356 | 0.5593 | 0.5614 | 0.5583 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.50.1
|
75 |
+
- Pytorch 2.5.1+cu121
|
76 |
+
- Datasets 3.4.1
|
77 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation": "gelu",
|
3 |
+
"architectures": [
|
4 |
+
"DistilBertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.1,
|
7 |
+
"dim": 768,
|
8 |
+
"dropout": 0.1,
|
9 |
+
"hidden_dim": 3072,
|
10 |
+
"id2label": {
|
11 |
+
"0": "LABEL_0",
|
12 |
+
"1": "LABEL_1",
|
13 |
+
"2": "LABEL_2",
|
14 |
+
"3": "LABEL_3",
|
15 |
+
"4": "LABEL_4",
|
16 |
+
"5": "LABEL_5",
|
17 |
+
"6": "LABEL_6",
|
18 |
+
"7": "LABEL_7",
|
19 |
+
"8": "LABEL_8",
|
20 |
+
"9": "LABEL_9",
|
21 |
+
"10": "LABEL_10",
|
22 |
+
"11": "LABEL_11",
|
23 |
+
"12": "LABEL_12",
|
24 |
+
"13": "LABEL_13",
|
25 |
+
"14": "LABEL_14",
|
26 |
+
"15": "LABEL_15",
|
27 |
+
"16": "LABEL_16",
|
28 |
+
"17": "LABEL_17",
|
29 |
+
"18": "LABEL_18",
|
30 |
+
"19": "LABEL_19",
|
31 |
+
"20": "LABEL_20",
|
32 |
+
"21": "LABEL_21",
|
33 |
+
"22": "LABEL_22",
|
34 |
+
"23": "LABEL_23",
|
35 |
+
"24": "LABEL_24",
|
36 |
+
"25": "LABEL_25",
|
37 |
+
"26": "LABEL_26",
|
38 |
+
"27": "LABEL_27",
|
39 |
+
"28": "LABEL_28"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"label2id": {
|
43 |
+
"LABEL_0": 0,
|
44 |
+
"LABEL_1": 1,
|
45 |
+
"LABEL_10": 10,
|
46 |
+
"LABEL_11": 11,
|
47 |
+
"LABEL_12": 12,
|
48 |
+
"LABEL_13": 13,
|
49 |
+
"LABEL_14": 14,
|
50 |
+
"LABEL_15": 15,
|
51 |
+
"LABEL_16": 16,
|
52 |
+
"LABEL_17": 17,
|
53 |
+
"LABEL_18": 18,
|
54 |
+
"LABEL_19": 19,
|
55 |
+
"LABEL_2": 2,
|
56 |
+
"LABEL_20": 20,
|
57 |
+
"LABEL_21": 21,
|
58 |
+
"LABEL_22": 22,
|
59 |
+
"LABEL_23": 23,
|
60 |
+
"LABEL_24": 24,
|
61 |
+
"LABEL_25": 25,
|
62 |
+
"LABEL_26": 26,
|
63 |
+
"LABEL_27": 27,
|
64 |
+
"LABEL_28": 28,
|
65 |
+
"LABEL_3": 3,
|
66 |
+
"LABEL_4": 4,
|
67 |
+
"LABEL_5": 5,
|
68 |
+
"LABEL_6": 6,
|
69 |
+
"LABEL_7": 7,
|
70 |
+
"LABEL_8": 8,
|
71 |
+
"LABEL_9": 9
|
72 |
+
},
|
73 |
+
"max_position_embeddings": 512,
|
74 |
+
"model_type": "distilbert",
|
75 |
+
"n_heads": 12,
|
76 |
+
"n_layers": 6,
|
77 |
+
"output_past": true,
|
78 |
+
"pad_token_id": 0,
|
79 |
+
"problem_type": "single_label_classification",
|
80 |
+
"qa_dropout": 0.1,
|
81 |
+
"seq_classif_dropout": 0.2,
|
82 |
+
"sinusoidal_pos_embds": false,
|
83 |
+
"tie_weights_": true,
|
84 |
+
"torch_dtype": "float32",
|
85 |
+
"transformers_version": "4.50.1",
|
86 |
+
"vocab_size": 119547
|
87 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8be69e57d779002f35bbd200355c5d6b11c448462a1ac774b44e694d97b1c94
|
3 |
+
size 541400436
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": false,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"extra_special_tokens": {},
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 512,
|
50 |
+
"pad_token": "[PAD]",
|
51 |
+
"sep_token": "[SEP]",
|
52 |
+
"strip_accents": null,
|
53 |
+
"tokenize_chinese_chars": true,
|
54 |
+
"tokenizer_class": "DistilBertTokenizer",
|
55 |
+
"unk_token": "[UNK]"
|
56 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16386867afba2395303c9d51a4702ae3531d9d1e012a89941111d9e1cce8d735
|
3 |
+
size 5304
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|