danielhanchen commited on
Commit
3d6cd47
·
verified ·
1 Parent(s): b5ce876

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,20 +1,13 @@
1
  {
2
- "_name_or_path": "meta-llama/Llama-3.2-90B-Vision",
3
  "architectures": [
4
  "MllamaForConditionalGeneration"
5
  ],
 
 
6
  "image_token_index": 128256,
7
  "model_type": "mllama",
 
8
  "text_config": {
9
- "_attn_implementation_autoset": false,
10
- "_name_or_path": "",
11
- "add_cross_attention": false,
12
- "architectures": null,
13
- "bad_words_ids": null,
14
- "begin_suppress_tokens": null,
15
- "bos_token_id": 128000,
16
- "chunk_size_feed_forward": 0,
17
- "cross_attention_hidden_size": null,
18
  "cross_attention_layers": [
19
  3,
20
  8,
@@ -37,54 +30,16 @@
37
  93,
38
  98
39
  ],
40
- "decoder_start_token_id": null,
41
- "diversity_penalty": 0.0,
42
- "do_sample": false,
43
  "dropout": 0,
44
- "early_stopping": false,
45
- "encoder_no_repeat_ngram_size": 0,
46
- "eos_token_id": 128001,
47
- "exponential_decay_length_penalty": null,
48
- "finetuning_task": null,
49
- "forced_bos_token_id": null,
50
- "forced_eos_token_id": null,
51
  "hidden_act": "silu",
52
  "hidden_size": 8192,
53
- "id2label": {
54
- "0": "LABEL_0",
55
- "1": "LABEL_1"
56
- },
57
  "initializer_range": 0.02,
58
  "intermediate_size": 28672,
59
- "is_decoder": false,
60
- "is_encoder_decoder": false,
61
- "label2id": {
62
- "LABEL_0": 0,
63
- "LABEL_1": 1
64
- },
65
- "length_penalty": 1.0,
66
- "max_length": 20,
67
  "max_position_embeddings": 131072,
68
- "min_length": 0,
69
  "model_type": "mllama_text_model",
70
- "no_repeat_ngram_size": 0,
71
  "num_attention_heads": 64,
72
- "num_beam_groups": 1,
73
- "num_beams": 1,
74
  "num_hidden_layers": 100,
75
  "num_key_value_heads": 8,
76
- "num_return_sequences": 1,
77
- "output_attentions": false,
78
- "output_hidden_states": false,
79
- "output_scores": false,
80
- "pad_token_id": 128004,
81
- "prefix": null,
82
- "problem_type": null,
83
- "pruned_heads": {},
84
- "remove_invalid_values": false,
85
- "repetition_penalty": 1.0,
86
- "return_dict": true,
87
- "return_dict_in_generate": false,
88
  "rms_norm_eps": 1e-05,
89
  "rope_scaling": {
90
  "factor": 8.0,
@@ -94,53 +49,17 @@
94
  "rope_type": "llama3"
95
  },
96
  "rope_theta": 500000.0,
97
- "sep_token_id": null,
98
- "suppress_tokens": null,
99
- "task_specific_params": null,
100
- "temperature": 1.0,
101
- "tf_legacy_loss": false,
102
- "tie_encoder_decoder": false,
103
- "tie_word_embeddings": false,
104
- "tokenizer_class": null,
105
- "top_k": 50,
106
- "top_p": 1.0,
107
  "torch_dtype": "bfloat16",
108
- "torchscript": false,
109
- "typical_p": 1.0,
110
- "use_bfloat16": false,
111
  "use_cache": true,
112
  "vocab_size": 128256
113
  },
114
  "torch_dtype": "bfloat16",
115
- "transformers_version": "4.46.3",
116
  "unsloth_fixed": true,
117
  "vision_config": {
118
- "_attn_implementation_autoset": false,
119
- "_name_or_path": "",
120
- "add_cross_attention": false,
121
- "architectures": null,
122
  "attention_heads": 16,
123
- "bad_words_ids": null,
124
- "begin_suppress_tokens": null,
125
- "bos_token_id": null,
126
- "chunk_size_feed_forward": 0,
127
- "cross_attention_hidden_size": null,
128
- "decoder_start_token_id": null,
129
- "diversity_penalty": 0.0,
130
- "do_sample": false,
131
- "early_stopping": false,
132
- "encoder_no_repeat_ngram_size": 0,
133
- "eos_token_id": null,
134
- "exponential_decay_length_penalty": null,
135
- "finetuning_task": null,
136
- "forced_bos_token_id": null,
137
- "forced_eos_token_id": null,
138
  "hidden_act": "gelu",
139
  "hidden_size": 1280,
140
- "id2label": {
141
- "0": "LABEL_0",
142
- "1": "LABEL_1"
143
- },
144
  "image_size": 560,
145
  "initializer_range": 0.02,
146
  "intermediate_layers_indices": [
@@ -151,38 +70,13 @@
151
  30
152
  ],
153
  "intermediate_size": 5120,
154
- "is_decoder": false,
155
- "is_encoder_decoder": false,
156
- "label2id": {
157
- "LABEL_0": 0,
158
- "LABEL_1": 1
159
- },
160
- "length_penalty": 1.0,
161
- "max_length": 20,
162
  "max_num_tiles": 4,
163
- "min_length": 0,
164
  "model_type": "mllama_vision_model",
165
- "no_repeat_ngram_size": 0,
166
  "norm_eps": 1e-05,
167
- "num_beam_groups": 1,
168
- "num_beams": 1,
169
  "num_channels": 3,
170
  "num_global_layers": 8,
171
  "num_hidden_layers": 32,
172
- "num_return_sequences": 1,
173
- "output_attentions": false,
174
- "output_hidden_states": false,
175
- "output_scores": false,
176
- "pad_token_id": null,
177
  "patch_size": 14,
178
- "prefix": null,
179
- "problem_type": null,
180
- "pruned_heads": {},
181
- "remove_invalid_values": false,
182
- "repetition_penalty": 1.0,
183
- "return_dict": true,
184
- "return_dict_in_generate": false,
185
- "sep_token_id": null,
186
  "supported_aspect_ratios": [
187
  [
188
  1,
@@ -217,19 +111,7 @@
217
  1
218
  ]
219
  ],
220
- "suppress_tokens": null,
221
- "task_specific_params": null,
222
- "temperature": 1.0,
223
- "tf_legacy_loss": false,
224
- "tie_encoder_decoder": false,
225
- "tie_word_embeddings": true,
226
- "tokenizer_class": null,
227
- "top_k": 50,
228
- "top_p": 1.0,
229
  "torch_dtype": "bfloat16",
230
- "torchscript": false,
231
- "typical_p": 1.0,
232
- "use_bfloat16": false,
233
  "vision_output_dim": 7680
234
  }
235
  }
 
1
  {
 
2
  "architectures": [
3
  "MllamaForConditionalGeneration"
4
  ],
5
+ "bos_token_id": 128000,
6
+ "eos_token_id": 128001,
7
  "image_token_index": 128256,
8
  "model_type": "mllama",
9
+ "pad_token_id": 128004,
10
  "text_config": {
 
 
 
 
 
 
 
 
 
11
  "cross_attention_layers": [
12
  3,
13
  8,
 
30
  93,
31
  98
32
  ],
 
 
 
33
  "dropout": 0,
 
 
 
 
 
 
 
34
  "hidden_act": "silu",
35
  "hidden_size": 8192,
 
 
 
 
36
  "initializer_range": 0.02,
37
  "intermediate_size": 28672,
 
 
 
 
 
 
 
 
38
  "max_position_embeddings": 131072,
 
39
  "model_type": "mllama_text_model",
 
40
  "num_attention_heads": 64,
 
 
41
  "num_hidden_layers": 100,
42
  "num_key_value_heads": 8,
 
 
 
 
 
 
 
 
 
 
 
 
43
  "rms_norm_eps": 1e-05,
44
  "rope_scaling": {
45
  "factor": 8.0,
 
49
  "rope_type": "llama3"
50
  },
51
  "rope_theta": 500000.0,
 
 
 
 
 
 
 
 
 
 
52
  "torch_dtype": "bfloat16",
 
 
 
53
  "use_cache": true,
54
  "vocab_size": 128256
55
  },
56
  "torch_dtype": "bfloat16",
57
+ "transformers_version": "4.52.4",
58
  "unsloth_fixed": true,
59
  "vision_config": {
 
 
 
 
60
  "attention_heads": 16,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  "hidden_act": "gelu",
62
  "hidden_size": 1280,
 
 
 
 
63
  "image_size": 560,
64
  "initializer_range": 0.02,
65
  "intermediate_layers_indices": [
 
70
  30
71
  ],
72
  "intermediate_size": 5120,
 
 
 
 
 
 
 
 
73
  "max_num_tiles": 4,
 
74
  "model_type": "mllama_vision_model",
 
75
  "norm_eps": 1e-05,
 
 
76
  "num_channels": 3,
77
  "num_global_layers": 8,
78
  "num_hidden_layers": 32,
 
 
 
 
 
79
  "patch_size": 14,
 
 
 
 
 
 
 
 
80
  "supported_aspect_ratios": [
81
  [
82
  1,
 
111
  1
112
  ]
113
  ],
 
 
 
 
 
 
 
 
 
114
  "torch_dtype": "bfloat16",
 
 
 
115
  "vision_output_dim": 7680
116
  }
117
  }
generation_config.json CHANGED
@@ -3,5 +3,5 @@
3
  "bos_token_id": 128000,
4
  "eos_token_id": 128001,
5
  "pad_token_id": 128004,
6
- "transformers_version": "4.46.3"
7
  }
 
3
  "bos_token_id": 128000,
4
  "eos_token_id": 128001,
5
  "pad_token_id": 128004,
6
+ "transformers_version": "4.52.4"
7
  }
model-00001-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:774a2c2132673d5fff22bb1d4d0f2a99b79700e4bd3ca0cc302ae0f4e4e4314c
3
- size 4949214341
 
 
 
 
model-00002-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:781d95215ed339242a2f234380a4c419f8012968906b6d18c4acc5cfb1e27093
3
- size 4977056847
 
 
 
 
model-00003-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:290f0c8c9a3c9e16956676d3ce7eb0528405c745d7ce24032adf1634ed5adf93
3
- size 4977090920
 
 
 
 
model-00004-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:98ca25c9b536aced3325b890c3a3ab6ef645e196bb9bd7371122c3db62b03cc8
3
- size 4933788727
 
 
 
 
model-00005-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:493d614295ff52254bc18c164258e25093667adf7e243ecaa49a46ca847f7dba
3
- size 4977057042
 
 
 
 
model-00006-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7fb6dc2ede8961d6144ad5a9914da8b88da7be122090cc6407b281f725ada97
3
- size 4977056984
 
 
 
 
model-00007-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0dd28a2d392a138de23ad9caa3c55be064bbbc8daa70beefdf01d69f4858150
3
- size 4977090913
 
 
 
 
model-00008-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6232e968997b9b374c1eef945c34d056d2c4bb2a1f91129e7375296051cb7df
3
- size 4933788729
 
 
 
 
model-00009-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:83ed7f9dd9d7c1dc8b45a75a29d70e18d690e41683c78d7b1b77536e05f582c0
3
- size 4977057020
 
 
 
 
model-00010-of-00010.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:04e836bbf317955e75261bd18af3e5ade3a0583a77ec11eb95923ee3a9b7c34f
3
- size 3668068871
 
 
 
 
tokenizer_config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "added_tokens_decoder": {
3
  "128000": {
4
  "content": "<|begin_of_text|>",
@@ -2060,6 +2061,7 @@
2060
  "bos_token": "<|begin_of_text|>",
2061
  "clean_up_tokenization_spaces": true,
2062
  "eos_token": "<|end_of_text|>",
 
2063
  "model_input_names": [
2064
  "input_ids",
2065
  "attention_mask"
@@ -2068,6 +2070,6 @@
2068
  "pad_token": "<|finetune_right_pad_id|>",
2069
  "padding_side": "left",
2070
  "processor_class": "MllamaProcessor",
2071
- "tokenizer_class": "PreTrainedTokenizerFast",
2072
  "unk_token": null
2073
- }
 
1
  {
2
+ "add_bos_token": true,
3
  "added_tokens_decoder": {
4
  "128000": {
5
  "content": "<|begin_of_text|>",
 
2061
  "bos_token": "<|begin_of_text|>",
2062
  "clean_up_tokenization_spaces": true,
2063
  "eos_token": "<|end_of_text|>",
2064
+ "extra_special_tokens": {},
2065
  "model_input_names": [
2066
  "input_ids",
2067
  "attention_mask"
 
2070
  "pad_token": "<|finetune_right_pad_id|>",
2071
  "padding_side": "left",
2072
  "processor_class": "MllamaProcessor",
2073
+ "tokenizer_class": "PreTrainedTokenizer",
2074
  "unk_token": null
2075
+ }