Fine tuning BERT large for InfoVQA
Browse files- .gitignore +1 -0
- README.md +109 -0
- config.json +26 -0
- pytorch_model.bin +3 -0
- runs/Oct22_23-48-26_ae94a4e6c92d/1634946520.784167/events.out.tfevents.1634946520.ae94a4e6c92d.1200.1 +3 -0
- runs/Oct22_23-48-26_ae94a4e6c92d/events.out.tfevents.1634946520.ae94a4e6c92d.1200.0 +3 -0
- runs/Oct22_23-51-00_ae94a4e6c92d/1634946673.115191/events.out.tfevents.1634946673.ae94a4e6c92d.1962.1 +3 -0
- runs/Oct22_23-51-00_ae94a4e6c92d/events.out.tfevents.1634946673.ae94a4e6c92d.1962.0 +3 -0
- runs/Oct22_23-51-59_ae94a4e6c92d/1634946732.057656/events.out.tfevents.1634946732.ae94a4e6c92d.2317.1 +3 -0
- runs/Oct22_23-51-59_ae94a4e6c92d/events.out.tfevents.1634946732.ae94a4e6c92d.2317.0 +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: bert-large-uncased-finetuned-infovqa
|
7 |
+
results:
|
8 |
+
- task:
|
9 |
+
name: Question Answering
|
10 |
+
type: question-answering
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# bert-large-uncased-finetuned-infovqa
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 6.3170
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 2e-05
|
40 |
+
- train_batch_size: 2
|
41 |
+
- eval_batch_size: 2
|
42 |
+
- seed: 250500
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 6
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
51 |
+
| 3.7861 | 0.12 | 1000 | 3.2778 |
|
52 |
+
| 3.2186 | 0.23 | 2000 | 3.0658 |
|
53 |
+
| 2.8504 | 0.35 | 3000 | 3.0456 |
|
54 |
+
| 2.8621 | 0.46 | 4000 | 2.8758 |
|
55 |
+
| 2.7851 | 0.58 | 5000 | 2.8680 |
|
56 |
+
| 2.8016 | 0.69 | 6000 | 2.9244 |
|
57 |
+
| 2.7592 | 0.81 | 7000 | 2.7735 |
|
58 |
+
| 2.5737 | 0.93 | 8000 | 2.7640 |
|
59 |
+
| 2.3493 | 1.04 | 9000 | 2.7257 |
|
60 |
+
| 2.1041 | 1.16 | 10000 | 2.8442 |
|
61 |
+
| 2.1713 | 1.27 | 11000 | 2.7723 |
|
62 |
+
| 2.0594 | 1.39 | 12000 | 2.9982 |
|
63 |
+
| 2.1825 | 1.5 | 13000 | 2.8272 |
|
64 |
+
| 2.2486 | 1.62 | 14000 | 2.8897 |
|
65 |
+
| 2.097 | 1.74 | 15000 | 2.8557 |
|
66 |
+
| 2.1645 | 1.85 | 16000 | 2.6342 |
|
67 |
+
| 2.15 | 1.97 | 17000 | 2.8680 |
|
68 |
+
| 1.5662 | 2.08 | 18000 | 3.2126 |
|
69 |
+
| 1.6168 | 2.2 | 19000 | 3.1646 |
|
70 |
+
| 1.5886 | 2.32 | 20000 | 3.3139 |
|
71 |
+
| 1.6539 | 2.43 | 21000 | 3.2610 |
|
72 |
+
| 1.6486 | 2.55 | 22000 | 3.3144 |
|
73 |
+
| 1.637 | 2.66 | 23000 | 3.0437 |
|
74 |
+
| 1.7186 | 2.78 | 24000 | 2.9936 |
|
75 |
+
| 1.7543 | 2.89 | 25000 | 3.1641 |
|
76 |
+
| 1.5301 | 3.01 | 26000 | 4.0560 |
|
77 |
+
| 1.1436 | 3.13 | 27000 | 4.0116 |
|
78 |
+
| 1.1902 | 3.24 | 28000 | 4.0240 |
|
79 |
+
| 1.2728 | 3.36 | 29000 | 4.3068 |
|
80 |
+
| 1.2586 | 3.47 | 30000 | 3.7894 |
|
81 |
+
| 1.3164 | 3.59 | 31000 | 3.9242 |
|
82 |
+
| 1.3093 | 3.7 | 32000 | 4.0444 |
|
83 |
+
| 1.2812 | 3.82 | 33000 | 4.1779 |
|
84 |
+
| 1.3165 | 3.94 | 34000 | 3.6633 |
|
85 |
+
| 0.8357 | 4.05 | 35000 | 5.8137 |
|
86 |
+
| 0.9583 | 4.17 | 36000 | 5.3305 |
|
87 |
+
| 0.9135 | 4.28 | 37000 | 5.4973 |
|
88 |
+
| 1.0011 | 4.4 | 38000 | 5.0349 |
|
89 |
+
| 0.9553 | 4.51 | 39000 | 5.2086 |
|
90 |
+
| 1.0182 | 4.63 | 40000 | 5.1197 |
|
91 |
+
| 0.9569 | 4.75 | 41000 | 5.4579 |
|
92 |
+
| 0.9437 | 4.86 | 42000 | 5.4467 |
|
93 |
+
| 0.9791 | 4.98 | 43000 | 4.7657 |
|
94 |
+
| 0.648 | 5.09 | 44000 | 6.5780 |
|
95 |
+
| 0.7528 | 5.21 | 45000 | 6.2827 |
|
96 |
+
| 0.7247 | 5.33 | 46000 | 6.8500 |
|
97 |
+
| 0.702 | 5.44 | 47000 | 6.4572 |
|
98 |
+
| 0.6786 | 5.56 | 48000 | 6.5462 |
|
99 |
+
| 0.7272 | 5.67 | 49000 | 6.2406 |
|
100 |
+
| 0.6778 | 5.79 | 50000 | 6.4727 |
|
101 |
+
| 0.6446 | 5.9 | 51000 | 6.3170 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.10.0
|
107 |
+
- Pytorch 1.8.0+cu101
|
108 |
+
- Datasets 1.11.0
|
109 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-large-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 4096,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.10.0",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8998008345e58a9ed999473e1d0ef56f6005a33e38813093e07081f1c445aed1
|
3 |
+
size 1336547639
|
runs/Oct22_23-48-26_ae94a4e6c92d/1634946520.784167/events.out.tfevents.1634946520.ae94a4e6c92d.1200.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:670e70f9e53a19d8983e48cbe870bd3a1e21e8b10af7a56119b5c8b1a97c81f5
|
3 |
+
size 4284
|
runs/Oct22_23-48-26_ae94a4e6c92d/events.out.tfevents.1634946520.ae94a4e6c92d.1200.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de8045880542c278b4c6e34c8b7280d3c1af132edbcb66ecd45844f4a17e43cc
|
3 |
+
size 3047
|
runs/Oct22_23-51-00_ae94a4e6c92d/1634946673.115191/events.out.tfevents.1634946673.ae94a4e6c92d.1962.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef9f21e088c6cbc9636b34c4bae0fa8cac9f1b70fe8c2e80986272c6803dd23b
|
3 |
+
size 4284
|
runs/Oct22_23-51-00_ae94a4e6c92d/events.out.tfevents.1634946673.ae94a4e6c92d.1962.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1971a41c8220272c87f12aab1ed7a8044c0278ef0b123f78540904b4f45f61d0
|
3 |
+
size 3047
|
runs/Oct22_23-51-59_ae94a4e6c92d/1634946732.057656/events.out.tfevents.1634946732.ae94a4e6c92d.2317.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d5623446e9e1445e3e3ba0f6353df9d9e7258ba4204b31d5e49b081792e674e
|
3 |
+
size 4284
|
runs/Oct22_23-51-59_ae94a4e6c92d/events.out.tfevents.1634946732.ae94a4e6c92d.2317.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a60016823eb07e93562d372afc828f9969d7915a54f3cfcde24e80ebeb8cbad
|
3 |
+
size 33787
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-large-uncased", "tokenizer_class": "BertTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3003e7ffe129d7d35bb149aedad700757b5de02d2bed819deb29caf1638ffe19
|
3 |
+
size 2671
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|