ChiJuiChen commited on
Commit
ed38363
1 Parent(s): 9fe3fa1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: dandelin/vilt-b32-mlm
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - coco_vqa_small_dataset
8
+ model-index:
9
+ - name: vilt_finetuned_1_epoch
10
+ results: []
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
+ # vilt_finetuned_1_epoch
17
+
18
+ This model is a fine-tuned version of [dandelin/vilt-b32-mlm](https://huggingface.co/dandelin/vilt-b32-mlm) on the coco_vqa_small_dataset dataset.
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 1
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 1
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.40.1
52
+ - Pytorch 2.0.0+cu118
53
+ - Datasets 2.18.0
54
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dandelin/vilt-b32-mlm",
3
+ "architectures": [
4
+ "ViltForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": 0,
12
+ "1": 1,
13
+ "2": 2,
14
+ "3": 3,
15
+ "4": 4,
16
+ "5": 5,
17
+ "6": 6,
18
+ "7": 7,
19
+ "8": 8,
20
+ "9": 9,
21
+ "10": 10,
22
+ "11": 11,
23
+ "12": 12,
24
+ "13": 13,
25
+ "14": 14,
26
+ "15": 15,
27
+ "16": 16,
28
+ "17": 17,
29
+ "18": 18,
30
+ "19": 19,
31
+ "20": 20,
32
+ "21": 21,
33
+ "22": 22,
34
+ "23": 23,
35
+ "24": 24,
36
+ "25": 25,
37
+ "26": 26,
38
+ "27": 27,
39
+ "28": 28,
40
+ "29": 29,
41
+ "30": 30,
42
+ "31": 31,
43
+ "32": 32,
44
+ "33": 33,
45
+ "34": 34,
46
+ "35": 35
47
+ },
48
+ "image_size": 384,
49
+ "initializer_range": 0.02,
50
+ "intermediate_size": 3072,
51
+ "label2id": {
52
+ "0": 0,
53
+ "1": 1,
54
+ "2": 2,
55
+ "3": 3,
56
+ "4": 4,
57
+ "5": 5,
58
+ "6": 6,
59
+ "7": 7,
60
+ "8": 8,
61
+ "9": 9,
62
+ "10": 10,
63
+ "11": 11,
64
+ "12": 12,
65
+ "13": 13,
66
+ "14": 14,
67
+ "15": 15,
68
+ "16": 16,
69
+ "17": 17,
70
+ "18": 18,
71
+ "19": 19,
72
+ "20": 20,
73
+ "21": 21,
74
+ "22": 22,
75
+ "23": 23,
76
+ "24": 24,
77
+ "25": 25,
78
+ "26": 26,
79
+ "27": 27,
80
+ "28": 28,
81
+ "29": 29,
82
+ "30": 30,
83
+ "31": 31,
84
+ "32": 32,
85
+ "33": 33,
86
+ "34": 34,
87
+ "35": 35
88
+ },
89
+ "layer_norm_eps": 1e-12,
90
+ "max_image_length": -1,
91
+ "max_position_embeddings": 40,
92
+ "modality_type_vocab_size": 2,
93
+ "model_type": "vilt",
94
+ "num_attention_heads": 12,
95
+ "num_channels": 3,
96
+ "num_hidden_layers": 12,
97
+ "num_images": -1,
98
+ "patch_size": 32,
99
+ "qkv_bias": true,
100
+ "tie_word_embeddings": false,
101
+ "torch_dtype": "float32",
102
+ "transformers_version": "4.40.1",
103
+ "type_vocab_size": 2,
104
+ "vocab_size": 30522
105
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0828f85ee9cf3c8bcc0ef082fba0aab206b6abf9045078283b7d42b0e454d00d
3
+ size 451363200
preprocessor_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "size_divisor",
7
+ "resample",
8
+ "do_rescale",
9
+ "rescale_factor",
10
+ "do_normalize",
11
+ "image_mean",
12
+ "image_std",
13
+ "do_pad",
14
+ "return_tensors",
15
+ "data_format",
16
+ "input_data_format"
17
+ ],
18
+ "do_normalize": true,
19
+ "do_pad": true,
20
+ "do_rescale": true,
21
+ "do_resize": true,
22
+ "image_mean": [
23
+ 0.5,
24
+ 0.5,
25
+ 0.5
26
+ ],
27
+ "image_processor_type": "ViltImageProcessor",
28
+ "image_std": [
29
+ 0.5,
30
+ 0.5,
31
+ 0.5
32
+ ],
33
+ "processor_class": "ViltProcessor",
34
+ "resample": 3,
35
+ "rescale_factor": 0.00392156862745098,
36
+ "size": {
37
+ "shortest_edge": 384
38
+ },
39
+ "size_divisor": 32
40
+ }
runs/May16_15-13-37_LAPTOP-Q93LLSSJ/events.out.tfevents.1715843652.LAPTOP-Q93LLSSJ.25712.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b71baffa088b5bee16ea94dead5de12c238bf4b3a735472f352960ba0743206e
3
+ size 6095
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 40,
49
+ "pad_token": "[PAD]",
50
+ "processor_class": "ViltProcessor",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
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:a1abd39e31d508e45aefbf5e7340fd5791f2ac5e249f4b27c720f09b0af79187
3
+ size 4539
vocab.txt ADDED
The diff for this file is too large to render. See raw diff