End of training
Browse files- README.md +54 -0
- config.json +105 -0
- model.safetensors +3 -0
- preprocessor_config.json +40 -0
- runs/May15_22-11-23_arg10/events.out.tfevents.1715782287.arg10.562.1 +3 -0
- runs/May15_22-15-28_arg10/events.out.tfevents.1715782530.arg10.699.0 +3 -0
- runs/May15_22-49-26_arg10/events.out.tfevents.1715784567.arg10.914.0 +3 -0
- runs/May15_23-11-11_arg10/events.out.tfevents.1715785875.arg10.1066.0 +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
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.2
|
52 |
+
- Pytorch 2.3.0+cu121
|
53 |
+
- Datasets 2.19.1
|
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": "room",
|
12 |
+
"1": "united states",
|
13 |
+
"2": "airport",
|
14 |
+
"3": "australia",
|
15 |
+
"4": "usa",
|
16 |
+
"5": "windows",
|
17 |
+
"6": "home",
|
18 |
+
"7": "fridge",
|
19 |
+
"8": "in car",
|
20 |
+
"9": "park",
|
21 |
+
"10": "england",
|
22 |
+
"11": "on sidewalk",
|
23 |
+
"12": "nothing",
|
24 |
+
"13": "mouse",
|
25 |
+
"14": "sun",
|
26 |
+
"15": "smile",
|
27 |
+
"16": "refrigerator",
|
28 |
+
"17": "british",
|
29 |
+
"18": "freezer",
|
30 |
+
"19": "hotel",
|
31 |
+
"20": "car",
|
32 |
+
"21": "indoors",
|
33 |
+
"22": "woods",
|
34 |
+
"23": "buildings",
|
35 |
+
"24": "uk",
|
36 |
+
"25": "nowhere",
|
37 |
+
"26": "cows",
|
38 |
+
"27": "dog",
|
39 |
+
"28": "bus",
|
40 |
+
"29": "america",
|
41 |
+
"30": "living room",
|
42 |
+
"31": "ground",
|
43 |
+
"32": "us",
|
44 |
+
"33": "inside",
|
45 |
+
"34": "yes",
|
46 |
+
"35": "hallway"
|
47 |
+
},
|
48 |
+
"image_size": 384,
|
49 |
+
"initializer_range": 0.02,
|
50 |
+
"intermediate_size": 3072,
|
51 |
+
"label2id": {
|
52 |
+
"airport": 2,
|
53 |
+
"america": 29,
|
54 |
+
"australia": 3,
|
55 |
+
"british": 17,
|
56 |
+
"buildings": 23,
|
57 |
+
"bus": 28,
|
58 |
+
"car": 20,
|
59 |
+
"cows": 26,
|
60 |
+
"dog": 27,
|
61 |
+
"england": 10,
|
62 |
+
"freezer": 18,
|
63 |
+
"fridge": 7,
|
64 |
+
"ground": 31,
|
65 |
+
"hallway": 35,
|
66 |
+
"home": 6,
|
67 |
+
"hotel": 19,
|
68 |
+
"in car": 8,
|
69 |
+
"indoors": 21,
|
70 |
+
"inside": 33,
|
71 |
+
"living room": 30,
|
72 |
+
"mouse": 13,
|
73 |
+
"nothing": 12,
|
74 |
+
"nowhere": 25,
|
75 |
+
"on sidewalk": 11,
|
76 |
+
"park": 9,
|
77 |
+
"refrigerator": 16,
|
78 |
+
"room": 0,
|
79 |
+
"smile": 15,
|
80 |
+
"sun": 14,
|
81 |
+
"uk": 24,
|
82 |
+
"united states": 1,
|
83 |
+
"us": 32,
|
84 |
+
"usa": 4,
|
85 |
+
"windows": 5,
|
86 |
+
"woods": 22,
|
87 |
+
"yes": 34
|
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.2",
|
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:1512877cb4d279a64120eb9b8088a9eccc63773d1e65e1b4d1db8a939276b104
|
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/May15_22-11-23_arg10/events.out.tfevents.1715782287.arg10.562.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61e05d819d772fc4ce8bc2bf11a5403d35679e8a7056a79962d1678807ef8986
|
3 |
+
size 37049
|
runs/May15_22-15-28_arg10/events.out.tfevents.1715782530.arg10.699.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:358a8864d045eb0447465674e18e563c2859423c1a68768a08e3729a2b6f378c
|
3 |
+
size 32808
|
runs/May15_22-49-26_arg10/events.out.tfevents.1715784567.arg10.914.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20621fdd92aab8c32dcd95b577b8768c24c4de6668eb271f9ac5cf589fbc2f73
|
3 |
+
size 37256
|
runs/May15_23-11-11_arg10/events.out.tfevents.1715785875.arg10.1066.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4264351d0983a5e6f28d7f45d67b94a89925938401983a640869df61d6170dd9
|
3 |
+
size 6468
|
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:07909c8c4b1adb31814a93953935b79eac6ba42176c872efdddaed8dfb3ce4b0
|
3 |
+
size 5048
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|