End of training
Browse files- .gitattributes +1 -0
- README.md +92 -0
- config.json +48 -0
- model.safetensors +3 -0
- runs/Sep16_00-07-28_dcos10-neuron/events.out.tfevents.1726438059.dcos10-neuron.125857.0 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +3 -0
- tokenizer_config.json +54 -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,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: nielsr/lilt-xlm-roberta-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: output_LiLT_test_05
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# output_LiLT_test_05
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [nielsr/lilt-xlm-roberta-base](https://huggingface.co/nielsr/lilt-xlm-roberta-base) on an unknown dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.1210
|
25 |
+
- Precision: 0.8130
|
26 |
+
- Recall: 0.8086
|
27 |
+
- F1: 0.8108
|
28 |
+
- Accuracy: 0.9647
|
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: 5e-05
|
48 |
+
- train_batch_size: 8
|
49 |
+
- eval_batch_size: 8
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- lr_scheduler_warmup_steps: 300
|
54 |
+
- num_epochs: 60
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
59 |
+
|:-------------:|:------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
60 |
+
| No log | 0.0808 | 100 | 0.6084 | 0.0053 | 0.0014 | 0.0023 | 0.8727 |
|
61 |
+
| No log | 0.1617 | 200 | 0.3137 | 0.2946 | 0.3010 | 0.2977 | 0.9036 |
|
62 |
+
| No log | 0.2425 | 300 | 0.2373 | 0.5717 | 0.6368 | 0.6025 | 0.9289 |
|
63 |
+
| No log | 0.3234 | 400 | 0.1952 | 0.7224 | 0.6518 | 0.6853 | 0.9473 |
|
64 |
+
| 0.4203 | 0.4042 | 500 | 0.1695 | 0.7066 | 0.6936 | 0.7000 | 0.9491 |
|
65 |
+
| 0.4203 | 0.4850 | 600 | 0.1826 | 0.6140 | 0.7420 | 0.6720 | 0.9371 |
|
66 |
+
| 0.4203 | 0.5659 | 700 | 0.1806 | 0.6236 | 0.7818 | 0.6938 | 0.9407 |
|
67 |
+
| 0.4203 | 0.6467 | 800 | 0.1706 | 0.6900 | 0.8201 | 0.7495 | 0.9511 |
|
68 |
+
| 0.4203 | 0.7276 | 900 | 0.1551 | 0.7852 | 0.7567 | 0.7707 | 0.9588 |
|
69 |
+
| 0.1009 | 0.8084 | 1000 | 0.1361 | 0.7655 | 0.7780 | 0.7717 | 0.9622 |
|
70 |
+
| 0.1009 | 0.8892 | 1100 | 0.1439 | 0.7876 | 0.7697 | 0.7785 | 0.9601 |
|
71 |
+
| 0.1009 | 0.9701 | 1200 | 0.1441 | 0.7775 | 0.7694 | 0.7734 | 0.9612 |
|
72 |
+
| 0.1009 | 1.0509 | 1300 | 0.1282 | 0.7813 | 0.8158 | 0.7982 | 0.9643 |
|
73 |
+
| 0.1009 | 1.1318 | 1400 | 0.1421 | 0.7794 | 0.8054 | 0.7922 | 0.9621 |
|
74 |
+
| 0.0791 | 1.2126 | 1500 | 0.1557 | 0.7163 | 0.7780 | 0.7459 | 0.9528 |
|
75 |
+
| 0.0791 | 1.2935 | 1600 | 0.1460 | 0.7489 | 0.7985 | 0.7729 | 0.9589 |
|
76 |
+
| 0.0791 | 1.3743 | 1700 | 0.1343 | 0.7846 | 0.8031 | 0.7937 | 0.9621 |
|
77 |
+
| 0.0791 | 1.4551 | 1800 | 0.1394 | 0.7944 | 0.7875 | 0.7910 | 0.9611 |
|
78 |
+
| 0.0791 | 1.5360 | 1900 | 0.1504 | 0.7803 | 0.8066 | 0.7932 | 0.9631 |
|
79 |
+
| 0.0652 | 1.6168 | 2000 | 0.1292 | 0.7615 | 0.8247 | 0.7919 | 0.9599 |
|
80 |
+
| 0.0652 | 1.6977 | 2100 | 0.1298 | 0.7993 | 0.8115 | 0.8053 | 0.9644 |
|
81 |
+
| 0.0652 | 1.7785 | 2200 | 0.1498 | 0.7394 | 0.8351 | 0.7844 | 0.9577 |
|
82 |
+
| 0.0652 | 1.8593 | 2300 | 0.1319 | 0.7800 | 0.8086 | 0.7941 | 0.9618 |
|
83 |
+
| 0.0652 | 1.9402 | 2400 | 0.1383 | 0.8145 | 0.7824 | 0.7981 | 0.9648 |
|
84 |
+
| 0.0618 | 2.0210 | 2500 | 0.1210 | 0.8130 | 0.8086 | 0.8108 | 0.9647 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.44.2
|
90 |
+
- Pytorch 2.4.1+cu121
|
91 |
+
- Datasets 2.21.0
|
92 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nielsr/lilt-xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"LiltForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"channel_shrink_ratio": 4,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "suppVatId",
|
16 |
+
"1": "iban",
|
17 |
+
"2": "suppCompanyId",
|
18 |
+
"3": "O",
|
19 |
+
"4": "accountNumber",
|
20 |
+
"5": "bankCode",
|
21 |
+
"6": "constSymbol",
|
22 |
+
"7": "suppAddress",
|
23 |
+
"8": "suppName",
|
24 |
+
"9": "dueDate",
|
25 |
+
"10": "issueDate",
|
26 |
+
"11": "invoiceNumber",
|
27 |
+
"12": "taxPointDate",
|
28 |
+
"13": "specificSymbol",
|
29 |
+
"14": "totalPriceWithVat",
|
30 |
+
"15": "variableSymbol"
|
31 |
+
},
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"intermediate_size": 3072,
|
34 |
+
"layer_norm_eps": 1e-05,
|
35 |
+
"max_2d_position_embeddings": 1024,
|
36 |
+
"max_position_embeddings": 514,
|
37 |
+
"model_type": "lilt",
|
38 |
+
"num_attention_heads": 12,
|
39 |
+
"num_hidden_layers": 12,
|
40 |
+
"output_past": true,
|
41 |
+
"pad_token_id": 1,
|
42 |
+
"position_embedding_type": "absolute",
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.44.2",
|
45 |
+
"type_vocab_size": 1,
|
46 |
+
"use_cache": true,
|
47 |
+
"vocab_size": 250002
|
48 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe714a7be91fd5baf841b9716c35271e36448a60cdd0f10897cde56e51b83979
|
3 |
+
size 1134347608
|
runs/Sep16_00-07-28_dcos10-neuron/events.out.tfevents.1726438059.dcos10-neuron.125857.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c25d7c0668eee70493ca557def226e9a327cc4d635488703a0566610ab7d1934
|
3 |
+
size 18631
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
|
3 |
+
size 17082832
|
tokenizer_config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 512,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
53 |
+
"unk_token": "<unk>"
|
54 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b414f109d7fbc439bdfab945954b9eda4902c453a48c40bc2656d647b87a47a3
|
3 |
+
size 5176
|