End of training
Browse files- README.md +77 -0
- config.json +75 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-multilingual-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: spa-eng-pos-tagging-v4
|
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 |
+
# spa-eng-pos-tagging-v4
|
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.3366
|
24 |
+
- Accuracy: 0.9071
|
25 |
+
- Precision: 0.9038
|
26 |
+
- Recall: 0.8314
|
27 |
+
- F1: 0.8361
|
28 |
+
- Hamming Loss: 0.0929
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 3e-05
|
48 |
+
- train_batch_size: 16
|
49 |
+
- eval_batch_size: 32
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 12
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Hamming Loss |
|
58 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|:------------:|
|
59 |
+
| 1.1797 | 1.0 | 1744 | 0.9547 | 0.6615 | 0.6780 | 0.5703 | 0.5810 | 0.3385 |
|
60 |
+
| 0.7267 | 2.0 | 3488 | 0.5924 | 0.7785 | 0.7766 | 0.6921 | 0.7005 | 0.2215 |
|
61 |
+
| 0.5048 | 3.0 | 5232 | 0.4816 | 0.8272 | 0.8107 | 0.7596 | 0.7526 | 0.1728 |
|
62 |
+
| 0.4095 | 4.0 | 6976 | 0.4585 | 0.8331 | 0.8289 | 0.7549 | 0.7587 | 0.1669 |
|
63 |
+
| 0.3369 | 5.0 | 8720 | 0.3830 | 0.8648 | 0.8621 | 0.7904 | 0.7940 | 0.1352 |
|
64 |
+
| 0.2888 | 6.0 | 10464 | 0.3506 | 0.8793 | 0.8715 | 0.8074 | 0.8077 | 0.1207 |
|
65 |
+
| 0.2397 | 7.0 | 12208 | 0.3485 | 0.8848 | 0.8845 | 0.8077 | 0.8143 | 0.1152 |
|
66 |
+
| 0.2093 | 8.0 | 13952 | 0.3523 | 0.8891 | 0.8864 | 0.8156 | 0.8190 | 0.1109 |
|
67 |
+
| 0.1723 | 9.0 | 15696 | 0.3538 | 0.8912 | 0.8931 | 0.8143 | 0.8217 | 0.1088 |
|
68 |
+
| 0.1558 | 10.0 | 17440 | 0.3436 | 0.8997 | 0.8958 | 0.8252 | 0.8290 | 0.1003 |
|
69 |
+
| 0.1344 | 11.0 | 19184 | 0.3373 | 0.9053 | 0.9013 | 0.8302 | 0.8343 | 0.0947 |
|
70 |
+
| 0.1134 | 12.0 | 20928 | 0.3366 | 0.9071 | 0.9038 | 0.8314 | 0.8361 | 0.0929 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.32.0
|
76 |
+
- Pytorch 2.0.1+cu118
|
77 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-multilingual-cased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"BertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"attention_probs_dropout_prob": 0.1,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"dim": 768,
|
11 |
+
"dropout": 0.1,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dim": 3072,
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0",
|
18 |
+
"1": "LABEL_1",
|
19 |
+
"2": "LABEL_2",
|
20 |
+
"3": "LABEL_3",
|
21 |
+
"4": "LABEL_4",
|
22 |
+
"5": "LABEL_5",
|
23 |
+
"6": "LABEL_6",
|
24 |
+
"7": "LABEL_7",
|
25 |
+
"8": "LABEL_8",
|
26 |
+
"9": "LABEL_9",
|
27 |
+
"10": "LABEL_10",
|
28 |
+
"11": "LABEL_11",
|
29 |
+
"12": "LABEL_12",
|
30 |
+
"13": "LABEL_13",
|
31 |
+
"14": "LABEL_14",
|
32 |
+
"15": "LABEL_15",
|
33 |
+
"16": "LABEL_16"
|
34 |
+
},
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 3072,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_10": 10,
|
41 |
+
"LABEL_11": 11,
|
42 |
+
"LABEL_12": 12,
|
43 |
+
"LABEL_13": 13,
|
44 |
+
"LABEL_14": 14,
|
45 |
+
"LABEL_15": 15,
|
46 |
+
"LABEL_16": 16,
|
47 |
+
"LABEL_2": 2,
|
48 |
+
"LABEL_3": 3,
|
49 |
+
"LABEL_4": 4,
|
50 |
+
"LABEL_5": 5,
|
51 |
+
"LABEL_6": 6,
|
52 |
+
"LABEL_7": 7,
|
53 |
+
"LABEL_8": 8,
|
54 |
+
"LABEL_9": 9
|
55 |
+
},
|
56 |
+
"layer_norm_eps": 1e-12,
|
57 |
+
"max_position_embeddings": 512,
|
58 |
+
"model_type": "bert",
|
59 |
+
"n_heads": 12,
|
60 |
+
"n_layers": 6,
|
61 |
+
"num_attention_heads": 12,
|
62 |
+
"num_hidden_layers": 12,
|
63 |
+
"output_past": true,
|
64 |
+
"pad_token_id": 0,
|
65 |
+
"position_embedding_type": "absolute",
|
66 |
+
"qa_dropout": 0.1,
|
67 |
+
"seq_classif_dropout": 0.2,
|
68 |
+
"sinusoidal_pos_embds": false,
|
69 |
+
"tie_weights_": true,
|
70 |
+
"torch_dtype": "float32",
|
71 |
+
"transformers_version": "4.32.0",
|
72 |
+
"type_vocab_size": 2,
|
73 |
+
"use_cache": true,
|
74 |
+
"vocab_size": 119547
|
75 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1439231d219a5835321e89483990f1867e39c64983415c798dbdb6848ce211e0
|
3 |
+
size 709171433
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f11b22051129893ce6e56a8428f541d823659a188993c1baaba3d26b23139f56
|
3 |
+
size 4027
|