End of training
Browse files- .gitattributes +1 -0
- README.md +80 -0
- config.json +46 -0
- model.safetensors +3 -0
- special_tokens_map.json +13 -0
- tokenizer_config.json +20 -0
- training_args.bin +3 -0
- vocab.txt +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 |
+
vocab.txt filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-base-multilingual-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: result-colab
|
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 |
+
# result-colab
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.3751
|
24 |
+
- Accuracy: 0.8853
|
25 |
+
- Precision: 0.8785
|
26 |
+
- Recall: 0.8773
|
27 |
+
- F1: 0.8773
|
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: 1e-05
|
47 |
+
- train_batch_size: 32
|
48 |
+
- eval_batch_size: 32
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- num_epochs: 15
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| 1.3635 | 1.0 | 48 | 1.1593 | 0.5963 | 0.4671 | 0.5259 | 0.4501 |
|
59 |
+
| 0.9895 | 2.0 | 96 | 0.7987 | 0.6881 | 0.6824 | 0.6271 | 0.6017 |
|
60 |
+
| 0.6845 | 3.0 | 144 | 0.6432 | 0.7523 | 0.7789 | 0.7076 | 0.7071 |
|
61 |
+
| 0.5856 | 4.0 | 192 | 0.5896 | 0.7844 | 0.8315 | 0.7457 | 0.7463 |
|
62 |
+
| 0.4328 | 5.0 | 240 | 0.4232 | 0.8716 | 0.8750 | 0.8585 | 0.8645 |
|
63 |
+
| 0.4298 | 6.0 | 288 | 0.4118 | 0.8853 | 0.8783 | 0.8810 | 0.8789 |
|
64 |
+
| 0.322 | 7.0 | 336 | 0.3988 | 0.8807 | 0.8824 | 0.8655 | 0.8712 |
|
65 |
+
| 0.3561 | 8.0 | 384 | 0.4169 | 0.8716 | 0.8630 | 0.8679 | 0.8637 |
|
66 |
+
| 0.27 | 9.0 | 432 | 0.3779 | 0.8991 | 0.8972 | 0.8913 | 0.8938 |
|
67 |
+
| 0.2472 | 10.0 | 480 | 0.3850 | 0.8991 | 0.8928 | 0.8942 | 0.8924 |
|
68 |
+
| 0.2349 | 11.0 | 528 | 0.3749 | 0.8945 | 0.8855 | 0.8919 | 0.8875 |
|
69 |
+
| 0.2491 | 12.0 | 576 | 0.3798 | 0.9037 | 0.8969 | 0.8992 | 0.8975 |
|
70 |
+
| 0.2239 | 13.0 | 624 | 0.3778 | 0.8853 | 0.8783 | 0.8810 | 0.8793 |
|
71 |
+
| 0.2276 | 14.0 | 672 | 0.3755 | 0.8899 | 0.8827 | 0.8823 | 0.8822 |
|
72 |
+
| 0.206 | 15.0 | 720 | 0.3751 | 0.8853 | 0.8785 | 0.8773 | 0.8773 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.42.4
|
78 |
+
- Pytorch 2.3.1+cu121
|
79 |
+
- Datasets 2.20.0
|
80 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-multilingual-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2,
|
25 |
+
"LABEL_3": 3,
|
26 |
+
"LABEL_4": 4
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"max_position_embeddings": 512,
|
30 |
+
"model_type": "bert",
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"pooler_fc_size": 768,
|
35 |
+
"pooler_num_attention_heads": 12,
|
36 |
+
"pooler_num_fc_layers": 3,
|
37 |
+
"pooler_size_per_head": 128,
|
38 |
+
"pooler_type": "first_token_transform",
|
39 |
+
"position_embedding_type": "absolute",
|
40 |
+
"problem_type": "single_label_classification",
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.42.4",
|
43 |
+
"type_vocab_size": 2,
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 548052
|
46 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d79bd51370f31d48ea0de60a3293a1cf9c445b1540288efaebc20d0f52e7c989
|
3 |
+
size 2027820436
|
special_tokens_map.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": {
|
5 |
+
"content": "[PAD]",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"302880": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
}
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": true,
|
13 |
+
"cls_token": "[CLS]",
|
14 |
+
"mask_token": "[MASK]",
|
15 |
+
"model_max_length": 1000000000000000019884624838656,
|
16 |
+
"pad_token": "[PAD]",
|
17 |
+
"sep_token": "[SEP]",
|
18 |
+
"tokenizer_class": "FastTextTokenizer",
|
19 |
+
"unk_token": "[UNK]"
|
20 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:716937c1b15324b985dc0cb8be786f4a6dc58f5fb6d4e1c98ab265a8e4bfb6e6
|
3 |
+
size 5048
|
vocab.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:900f7d87e4835a2274c2cee2ac5709feffe239d2dd807146e9f482796a3ed37c
|
3 |
+
size 17455191
|