multilingual_dbert_linsearch_only_abstract
Browse files- README.md +72 -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,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: multilingual_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 |
+
# multilingual_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.1210
|
| 22 |
+
- Accuracy: 0.6499
|
| 23 |
+
- F1 Macro: 0.5631
|
| 24 |
+
- Precision Macro: 0.5636
|
| 25 |
+
- Recall Macro: 0.5672
|
| 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: 2e-05
|
| 45 |
+
- train_batch_size: 8
|
| 46 |
+
- eval_batch_size: 8
|
| 47 |
+
- seed: 42
|
| 48 |
+
- gradient_accumulation_steps: 8
|
| 49 |
+
- total_train_batch_size: 64
|
| 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: 5
|
| 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 |
+
| 2.4454 | 1.0 | 1233 | 1.4217 | 0.5971 | 0.4617 | 0.5194 | 0.4599 |
|
| 61 |
+
| 1.3605 | 2.0 | 2466 | 1.1851 | 0.6360 | 0.5358 | 0.5534 | 0.5358 |
|
| 62 |
+
| 1.1562 | 3.0 | 3699 | 1.1435 | 0.6424 | 0.5511 | 0.5580 | 0.5552 |
|
| 63 |
+
| 1.0514 | 4.0 | 4932 | 1.1216 | 0.6487 | 0.5621 | 0.5628 | 0.5673 |
|
| 64 |
+
| 0.9556 | 4.9962 | 6160 | 1.1210 | 0.6499 | 0.5631 | 0.5636 | 0.5672 |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
### Framework versions
|
| 68 |
+
|
| 69 |
+
- Transformers 4.50.1
|
| 70 |
+
- Pytorch 2.5.1+cu121
|
| 71 |
+
- Datasets 3.4.1
|
| 72 |
+
- 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:8f15a5e575c24444ea9e06dd6bba36b17e0666c3cbb5e2e2beb38125a5b9c978
|
| 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:e55c1166aad56fc0bca0ca8f899bd868cca7c187928e4479700130875f9cb263
|
| 3 |
+
size 5304
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|