Upload 7 files
Browse files- config.json +166 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +105 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./clip-roberta",
|
3 |
+
"architectures": [
|
4 |
+
"VisionTextDualEncoderModel"
|
5 |
+
],
|
6 |
+
"logit_scale_init_value": 2.6592,
|
7 |
+
"model_type": "vision-text-dual-encoder",
|
8 |
+
"projection_dim": 512,
|
9 |
+
"text_config": {
|
10 |
+
"_name_or_path": "dumitrescustefan/bert-base-romanian-cased-v1",
|
11 |
+
"add_cross_attention": false,
|
12 |
+
"architectures": null,
|
13 |
+
"attention_probs_dropout_prob": 0.1,
|
14 |
+
"bad_words_ids": null,
|
15 |
+
"begin_suppress_tokens": null,
|
16 |
+
"bos_token_id": null,
|
17 |
+
"chunk_size_feed_forward": 0,
|
18 |
+
"classifier_dropout": null,
|
19 |
+
"cross_attention_hidden_size": null,
|
20 |
+
"decoder_start_token_id": null,
|
21 |
+
"diversity_penalty": 0.0,
|
22 |
+
"do_sample": false,
|
23 |
+
"early_stopping": false,
|
24 |
+
"encoder_no_repeat_ngram_size": 0,
|
25 |
+
"eos_token_id": null,
|
26 |
+
"exponential_decay_length_penalty": null,
|
27 |
+
"finetuning_task": null,
|
28 |
+
"forced_bos_token_id": null,
|
29 |
+
"forced_eos_token_id": null,
|
30 |
+
"hidden_act": "gelu",
|
31 |
+
"hidden_dropout_prob": 0.1,
|
32 |
+
"hidden_size": 768,
|
33 |
+
"id2label": {
|
34 |
+
"0": "LABEL_0",
|
35 |
+
"1": "LABEL_1"
|
36 |
+
},
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"is_decoder": false,
|
40 |
+
"is_encoder_decoder": false,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-12,
|
46 |
+
"length_penalty": 1.0,
|
47 |
+
"max_length": 20,
|
48 |
+
"max_position_embeddings": 512,
|
49 |
+
"min_length": 0,
|
50 |
+
"model_type": "bert",
|
51 |
+
"no_repeat_ngram_size": 0,
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_beam_groups": 1,
|
54 |
+
"num_beams": 1,
|
55 |
+
"num_hidden_layers": 12,
|
56 |
+
"num_return_sequences": 1,
|
57 |
+
"output_attentions": false,
|
58 |
+
"output_hidden_states": false,
|
59 |
+
"output_scores": false,
|
60 |
+
"pad_token_id": 0,
|
61 |
+
"position_embedding_type": "absolute",
|
62 |
+
"prefix": null,
|
63 |
+
"problem_type": null,
|
64 |
+
"pruned_heads": {},
|
65 |
+
"remove_invalid_values": false,
|
66 |
+
"repetition_penalty": 1.0,
|
67 |
+
"return_dict": true,
|
68 |
+
"return_dict_in_generate": false,
|
69 |
+
"sep_token_id": null,
|
70 |
+
"suppress_tokens": null,
|
71 |
+
"task_specific_params": null,
|
72 |
+
"temperature": 1.0,
|
73 |
+
"tf_legacy_loss": false,
|
74 |
+
"tie_encoder_decoder": false,
|
75 |
+
"tie_word_embeddings": true,
|
76 |
+
"tokenizer_class": null,
|
77 |
+
"top_k": 50,
|
78 |
+
"top_p": 1.0,
|
79 |
+
"torch_dtype": null,
|
80 |
+
"torchscript": false,
|
81 |
+
"type_vocab_size": 2,
|
82 |
+
"typical_p": 1.0,
|
83 |
+
"use_bfloat16": false,
|
84 |
+
"use_cache": true,
|
85 |
+
"vocab_size": 50000
|
86 |
+
},
|
87 |
+
"torch_dtype": "float32",
|
88 |
+
"transformers_version": "4.39.0.dev0",
|
89 |
+
"vision_config": {
|
90 |
+
"_name_or_path": "openai/clip-vit-base-patch32",
|
91 |
+
"add_cross_attention": false,
|
92 |
+
"architectures": null,
|
93 |
+
"attention_dropout": 0.0,
|
94 |
+
"bad_words_ids": null,
|
95 |
+
"begin_suppress_tokens": null,
|
96 |
+
"bos_token_id": null,
|
97 |
+
"chunk_size_feed_forward": 0,
|
98 |
+
"cross_attention_hidden_size": null,
|
99 |
+
"decoder_start_token_id": null,
|
100 |
+
"diversity_penalty": 0.0,
|
101 |
+
"do_sample": false,
|
102 |
+
"dropout": 0.0,
|
103 |
+
"early_stopping": false,
|
104 |
+
"encoder_no_repeat_ngram_size": 0,
|
105 |
+
"eos_token_id": null,
|
106 |
+
"exponential_decay_length_penalty": null,
|
107 |
+
"finetuning_task": null,
|
108 |
+
"forced_bos_token_id": null,
|
109 |
+
"forced_eos_token_id": null,
|
110 |
+
"hidden_act": "quick_gelu",
|
111 |
+
"hidden_size": 768,
|
112 |
+
"id2label": {
|
113 |
+
"0": "LABEL_0",
|
114 |
+
"1": "LABEL_1"
|
115 |
+
},
|
116 |
+
"image_size": 224,
|
117 |
+
"initializer_factor": 1.0,
|
118 |
+
"initializer_range": 0.02,
|
119 |
+
"intermediate_size": 3072,
|
120 |
+
"is_decoder": false,
|
121 |
+
"is_encoder_decoder": false,
|
122 |
+
"label2id": {
|
123 |
+
"LABEL_0": 0,
|
124 |
+
"LABEL_1": 1
|
125 |
+
},
|
126 |
+
"layer_norm_eps": 1e-05,
|
127 |
+
"length_penalty": 1.0,
|
128 |
+
"max_length": 20,
|
129 |
+
"min_length": 0,
|
130 |
+
"model_type": "clip_vision_model",
|
131 |
+
"no_repeat_ngram_size": 0,
|
132 |
+
"num_attention_heads": 12,
|
133 |
+
"num_beam_groups": 1,
|
134 |
+
"num_beams": 1,
|
135 |
+
"num_channels": 3,
|
136 |
+
"num_hidden_layers": 12,
|
137 |
+
"num_return_sequences": 1,
|
138 |
+
"output_attentions": false,
|
139 |
+
"output_hidden_states": false,
|
140 |
+
"output_scores": false,
|
141 |
+
"pad_token_id": null,
|
142 |
+
"patch_size": 32,
|
143 |
+
"prefix": null,
|
144 |
+
"problem_type": null,
|
145 |
+
"projection_dim": 512,
|
146 |
+
"pruned_heads": {},
|
147 |
+
"remove_invalid_values": false,
|
148 |
+
"repetition_penalty": 1.0,
|
149 |
+
"return_dict": true,
|
150 |
+
"return_dict_in_generate": false,
|
151 |
+
"sep_token_id": null,
|
152 |
+
"suppress_tokens": null,
|
153 |
+
"task_specific_params": null,
|
154 |
+
"temperature": 1.0,
|
155 |
+
"tf_legacy_loss": false,
|
156 |
+
"tie_encoder_decoder": false,
|
157 |
+
"tie_word_embeddings": true,
|
158 |
+
"tokenizer_class": null,
|
159 |
+
"top_k": 50,
|
160 |
+
"top_p": 1.0,
|
161 |
+
"torch_dtype": null,
|
162 |
+
"torchscript": false,
|
163 |
+
"typical_p": 1.0,
|
164 |
+
"use_bfloat16": false
|
165 |
+
}
|
166 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26d9f7bb79b4b16a5789e9e01494067bcac19ca081bb8f7e145c768d4459d89d
|
3 |
+
size 850786436
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70659941693398d8eedb54100abb81df732400d5f0cf3c1ceb023b693fb9f265
|
3 |
+
size 1701805829
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b345a1606c8f4c03ae0fca3728d391b7d58f1637ce535f7bc221ecf88470a8de
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a18b4b828461f3923a10b83e07c604218895dc423055505133806be2b52154c0
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.8666985188724317,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 6000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.24,
|
13 |
+
"grad_norm": 24.413671493530273,
|
14 |
+
"learning_rate": 4.601847427934385e-05,
|
15 |
+
"loss": 1.7935,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.48,
|
20 |
+
"grad_norm": 27.336660385131836,
|
21 |
+
"learning_rate": 4.203694855868769e-05,
|
22 |
+
"loss": 1.2168,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.72,
|
27 |
+
"grad_norm": 20.986051559448242,
|
28 |
+
"learning_rate": 3.805542283803154e-05,
|
29 |
+
"loss": 0.9801,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.96,
|
34 |
+
"grad_norm": 21.99080467224121,
|
35 |
+
"learning_rate": 3.407389711737538e-05,
|
36 |
+
"loss": 0.83,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.19,
|
41 |
+
"grad_norm": 16.28312873840332,
|
42 |
+
"learning_rate": 3.0092371396719225e-05,
|
43 |
+
"loss": 0.5681,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.43,
|
48 |
+
"grad_norm": 19.05654525756836,
|
49 |
+
"learning_rate": 2.6110845676063068e-05,
|
50 |
+
"loss": 0.4901,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.67,
|
55 |
+
"grad_norm": 11.311978340148926,
|
56 |
+
"learning_rate": 2.2129319955406913e-05,
|
57 |
+
"loss": 0.4685,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 1.91,
|
62 |
+
"grad_norm": 7.999639987945557,
|
63 |
+
"learning_rate": 1.8147794234750756e-05,
|
64 |
+
"loss": 0.4105,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 2.15,
|
69 |
+
"grad_norm": 7.035294532775879,
|
70 |
+
"learning_rate": 1.4166268514094602e-05,
|
71 |
+
"loss": 0.2915,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 2.39,
|
76 |
+
"grad_norm": 9.238717079162598,
|
77 |
+
"learning_rate": 1.0184742793438446e-05,
|
78 |
+
"loss": 0.2247,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 2.63,
|
83 |
+
"grad_norm": 5.481063365936279,
|
84 |
+
"learning_rate": 6.20321707278229e-06,
|
85 |
+
"loss": 0.2151,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.87,
|
90 |
+
"grad_norm": 5.940337181091309,
|
91 |
+
"learning_rate": 2.221691352126135e-06,
|
92 |
+
"loss": 0.1981,
|
93 |
+
"step": 6000
|
94 |
+
}
|
95 |
+
],
|
96 |
+
"logging_steps": 500,
|
97 |
+
"max_steps": 6279,
|
98 |
+
"num_input_tokens_seen": 0,
|
99 |
+
"num_train_epochs": 3,
|
100 |
+
"save_steps": 500,
|
101 |
+
"total_flos": 5.126075524128e+16,
|
102 |
+
"train_batch_size": 64,
|
103 |
+
"trial_name": null,
|
104 |
+
"trial_params": null
|
105 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01c8264c6f6b99e8b77cb80b315acd27fc85ea9e54b7126d575f8e5da6d3fb7c
|
3 |
+
size 4920
|