AlexHung29629
commited on
Commit
•
af366f6
1
Parent(s):
50bf930
Upload Llama3ForConditionalGeneration
Browse files- README.md +199 -0
- config.json +403 -0
- generation_config.json +11 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
README.md
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags: []
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,403 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Llama3ForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"audio_config": {
|
6 |
+
"_attn_implementation_autoset": true,
|
7 |
+
"_name_or_path": "",
|
8 |
+
"activation_dropout": 0.0,
|
9 |
+
"adapter_attn_dim": null,
|
10 |
+
"adapter_kernel_size": 7,
|
11 |
+
"adapter_stride": 4,
|
12 |
+
"add_adapter": false,
|
13 |
+
"add_cross_attention": false,
|
14 |
+
"apply_spec_augment": true,
|
15 |
+
"architectures": [
|
16 |
+
"Wav2Vec2Model"
|
17 |
+
],
|
18 |
+
"attention_dropout": 0.1,
|
19 |
+
"bad_words_ids": null,
|
20 |
+
"begin_suppress_tokens": null,
|
21 |
+
"bos_token_id": 1,
|
22 |
+
"chunk_size_feed_forward": 0,
|
23 |
+
"classifier_proj_size": 256,
|
24 |
+
"codevector_dim": 768,
|
25 |
+
"contrastive_logits_temperature": 0.1,
|
26 |
+
"conv_bias": true,
|
27 |
+
"conv_dim": [
|
28 |
+
512,
|
29 |
+
512,
|
30 |
+
512,
|
31 |
+
512,
|
32 |
+
512,
|
33 |
+
512,
|
34 |
+
512
|
35 |
+
],
|
36 |
+
"conv_kernel": [
|
37 |
+
10,
|
38 |
+
3,
|
39 |
+
3,
|
40 |
+
3,
|
41 |
+
3,
|
42 |
+
2,
|
43 |
+
2
|
44 |
+
],
|
45 |
+
"conv_stride": [
|
46 |
+
5,
|
47 |
+
2,
|
48 |
+
2,
|
49 |
+
2,
|
50 |
+
2,
|
51 |
+
2,
|
52 |
+
2
|
53 |
+
],
|
54 |
+
"cross_attention_hidden_size": null,
|
55 |
+
"ctc_loss_reduction": "sum",
|
56 |
+
"ctc_zero_infinity": false,
|
57 |
+
"decoder_start_token_id": null,
|
58 |
+
"diversity_loss_weight": 0.1,
|
59 |
+
"diversity_penalty": 0.0,
|
60 |
+
"do_sample": false,
|
61 |
+
"do_stable_layer_norm": true,
|
62 |
+
"early_stopping": false,
|
63 |
+
"encoder_no_repeat_ngram_size": 0,
|
64 |
+
"eos_token_id": 2,
|
65 |
+
"exponential_decay_length_penalty": null,
|
66 |
+
"feat_extract_activation": "gelu",
|
67 |
+
"feat_extract_dropout": 0.0,
|
68 |
+
"feat_extract_norm": "layer",
|
69 |
+
"feat_proj_dropout": 0.1,
|
70 |
+
"feat_quantizer_dropout": 0.0,
|
71 |
+
"final_dropout": 0.0,
|
72 |
+
"finetuning_task": null,
|
73 |
+
"forced_bos_token_id": null,
|
74 |
+
"forced_eos_token_id": null,
|
75 |
+
"gradient_checkpointing": false,
|
76 |
+
"hidden_act": "gelu",
|
77 |
+
"hidden_dropout": 0.1,
|
78 |
+
"hidden_size": 1024,
|
79 |
+
"id2label": {
|
80 |
+
"0": "LABEL_0",
|
81 |
+
"1": "LABEL_1"
|
82 |
+
},
|
83 |
+
"initializer_range": 0.02,
|
84 |
+
"intermediate_size": 4096,
|
85 |
+
"is_decoder": false,
|
86 |
+
"is_encoder_decoder": false,
|
87 |
+
"label2id": {
|
88 |
+
"LABEL_0": 0,
|
89 |
+
"LABEL_1": 1
|
90 |
+
},
|
91 |
+
"layer_norm_eps": 1e-05,
|
92 |
+
"layerdrop": 0.1,
|
93 |
+
"length_penalty": 1.0,
|
94 |
+
"mask_channel_length": 10,
|
95 |
+
"mask_channel_min_space": 1,
|
96 |
+
"mask_channel_other": 0.0,
|
97 |
+
"mask_channel_prob": 0.0,
|
98 |
+
"mask_channel_selection": "static",
|
99 |
+
"mask_feature_length": 10,
|
100 |
+
"mask_feature_min_masks": 0,
|
101 |
+
"mask_feature_prob": 0.0,
|
102 |
+
"mask_time_length": 10,
|
103 |
+
"mask_time_min_masks": 2,
|
104 |
+
"mask_time_min_space": 1,
|
105 |
+
"mask_time_other": 0.0,
|
106 |
+
"mask_time_prob": 0.075,
|
107 |
+
"mask_time_selection": "static",
|
108 |
+
"max_length": 20,
|
109 |
+
"min_length": 0,
|
110 |
+
"model_type": "wav2vec2",
|
111 |
+
"no_repeat_ngram_size": 0,
|
112 |
+
"num_adapter_layers": 1,
|
113 |
+
"num_attention_heads": 16,
|
114 |
+
"num_beam_groups": 1,
|
115 |
+
"num_beams": 1,
|
116 |
+
"num_codevector_groups": 2,
|
117 |
+
"num_codevectors_per_group": 320,
|
118 |
+
"num_conv_pos_embedding_groups": 16,
|
119 |
+
"num_conv_pos_embeddings": 128,
|
120 |
+
"num_feat_extract_layers": 7,
|
121 |
+
"num_hidden_layers": 24,
|
122 |
+
"num_negatives": 100,
|
123 |
+
"num_return_sequences": 1,
|
124 |
+
"output_attentions": false,
|
125 |
+
"output_hidden_size": 4096,
|
126 |
+
"output_hidden_states": false,
|
127 |
+
"output_scores": false,
|
128 |
+
"pad_token_id": 0,
|
129 |
+
"prefix": null,
|
130 |
+
"problem_type": null,
|
131 |
+
"proj_codevector_dim": 768,
|
132 |
+
"pruned_heads": {},
|
133 |
+
"remove_invalid_values": false,
|
134 |
+
"repetition_penalty": 1.0,
|
135 |
+
"return_dict": true,
|
136 |
+
"return_dict_in_generate": false,
|
137 |
+
"sep_token_id": null,
|
138 |
+
"suppress_tokens": null,
|
139 |
+
"task_specific_params": null,
|
140 |
+
"tdnn_dilation": [
|
141 |
+
1,
|
142 |
+
2,
|
143 |
+
3,
|
144 |
+
1,
|
145 |
+
1
|
146 |
+
],
|
147 |
+
"tdnn_dim": [
|
148 |
+
512,
|
149 |
+
512,
|
150 |
+
512,
|
151 |
+
512,
|
152 |
+
1500
|
153 |
+
],
|
154 |
+
"tdnn_kernel": [
|
155 |
+
5,
|
156 |
+
3,
|
157 |
+
3,
|
158 |
+
1,
|
159 |
+
1
|
160 |
+
],
|
161 |
+
"temperature": 1.0,
|
162 |
+
"tf_legacy_loss": false,
|
163 |
+
"tie_encoder_decoder": false,
|
164 |
+
"tie_word_embeddings": true,
|
165 |
+
"tokenizer_class": null,
|
166 |
+
"top_k": 50,
|
167 |
+
"top_p": 1.0,
|
168 |
+
"torch_dtype": "float32",
|
169 |
+
"torchscript": false,
|
170 |
+
"typical_p": 1.0,
|
171 |
+
"use_bfloat16": false,
|
172 |
+
"use_weighted_layer_sum": false,
|
173 |
+
"vocab_size": 392,
|
174 |
+
"xvector_output_dim": 512
|
175 |
+
},
|
176 |
+
"audio_token_index": 128257,
|
177 |
+
"auto_map": {
|
178 |
+
"AutoConfig": "configuration_llama3.Llama3Config",
|
179 |
+
"AutoFeatureExtractor": "audio_processing_mllama.MllamaAudioFeatureExtractor",
|
180 |
+
"AutoModel": "modeling_llama3.Llama3ForConditionalGeneration",
|
181 |
+
"AutoProcessor": "processing_mllama.MllamaProcessor"
|
182 |
+
},
|
183 |
+
"image_token_index": 128256,
|
184 |
+
"model_type": "llama3",
|
185 |
+
"text_config": {
|
186 |
+
"_attn_implementation_autoset": false,
|
187 |
+
"_name_or_path": "",
|
188 |
+
"add_cross_attention": false,
|
189 |
+
"architectures": null,
|
190 |
+
"bad_words_ids": null,
|
191 |
+
"begin_suppress_tokens": null,
|
192 |
+
"bos_token_id": 128000,
|
193 |
+
"chunk_size_feed_forward": 0,
|
194 |
+
"cross_attention_hidden_size": null,
|
195 |
+
"cross_attention_layers": [
|
196 |
+
3,
|
197 |
+
8,
|
198 |
+
13,
|
199 |
+
18,
|
200 |
+
23,
|
201 |
+
28,
|
202 |
+
33,
|
203 |
+
38
|
204 |
+
],
|
205 |
+
"decoder_start_token_id": null,
|
206 |
+
"diversity_penalty": 0.0,
|
207 |
+
"do_sample": false,
|
208 |
+
"dropout": 0,
|
209 |
+
"early_stopping": false,
|
210 |
+
"encoder_no_repeat_ngram_size": 0,
|
211 |
+
"eos_token_id": [
|
212 |
+
128001,
|
213 |
+
128008,
|
214 |
+
128009
|
215 |
+
],
|
216 |
+
"exponential_decay_length_penalty": null,
|
217 |
+
"finetuning_task": null,
|
218 |
+
"forced_bos_token_id": null,
|
219 |
+
"forced_eos_token_id": null,
|
220 |
+
"hidden_act": "silu",
|
221 |
+
"hidden_size": 4096,
|
222 |
+
"id2label": {
|
223 |
+
"0": "LABEL_0",
|
224 |
+
"1": "LABEL_1"
|
225 |
+
},
|
226 |
+
"initializer_range": 0.02,
|
227 |
+
"intermediate_size": 14336,
|
228 |
+
"is_decoder": false,
|
229 |
+
"is_encoder_decoder": false,
|
230 |
+
"label2id": {
|
231 |
+
"LABEL_0": 0,
|
232 |
+
"LABEL_1": 1
|
233 |
+
},
|
234 |
+
"length_penalty": 1.0,
|
235 |
+
"max_length": 20,
|
236 |
+
"max_position_embeddings": 131072,
|
237 |
+
"min_length": 0,
|
238 |
+
"model_type": "mllama_text_model",
|
239 |
+
"no_repeat_ngram_size": 0,
|
240 |
+
"num_attention_heads": 32,
|
241 |
+
"num_beam_groups": 1,
|
242 |
+
"num_beams": 1,
|
243 |
+
"num_hidden_layers": 40,
|
244 |
+
"num_key_value_heads": 8,
|
245 |
+
"num_return_sequences": 1,
|
246 |
+
"output_attentions": false,
|
247 |
+
"output_hidden_states": false,
|
248 |
+
"output_scores": false,
|
249 |
+
"pad_token_id": 128004,
|
250 |
+
"prefix": null,
|
251 |
+
"problem_type": null,
|
252 |
+
"pruned_heads": {},
|
253 |
+
"remove_invalid_values": false,
|
254 |
+
"repetition_penalty": 1.0,
|
255 |
+
"return_dict": true,
|
256 |
+
"return_dict_in_generate": false,
|
257 |
+
"rms_norm_eps": 1e-05,
|
258 |
+
"rope_scaling": {
|
259 |
+
"factor": 8.0,
|
260 |
+
"high_freq_factor": 4.0,
|
261 |
+
"low_freq_factor": 1.0,
|
262 |
+
"original_max_position_embeddings": 8192,
|
263 |
+
"rope_type": "llama3"
|
264 |
+
},
|
265 |
+
"rope_theta": 500000.0,
|
266 |
+
"sep_token_id": null,
|
267 |
+
"suppress_tokens": null,
|
268 |
+
"task_specific_params": null,
|
269 |
+
"temperature": 1.0,
|
270 |
+
"tf_legacy_loss": false,
|
271 |
+
"tie_encoder_decoder": false,
|
272 |
+
"tie_word_embeddings": false,
|
273 |
+
"tokenizer_class": null,
|
274 |
+
"top_k": 50,
|
275 |
+
"top_p": 1.0,
|
276 |
+
"torch_dtype": "bfloat16",
|
277 |
+
"torchscript": false,
|
278 |
+
"typical_p": 1.0,
|
279 |
+
"use_bfloat16": false,
|
280 |
+
"use_cache": true,
|
281 |
+
"vocab_size": 128256
|
282 |
+
},
|
283 |
+
"torch_dtype": "float16",
|
284 |
+
"transformers_version": "4.46.2",
|
285 |
+
"vision_config": {
|
286 |
+
"_attn_implementation_autoset": false,
|
287 |
+
"_name_or_path": "",
|
288 |
+
"add_cross_attention": false,
|
289 |
+
"architectures": null,
|
290 |
+
"attention_heads": 16,
|
291 |
+
"bad_words_ids": null,
|
292 |
+
"begin_suppress_tokens": null,
|
293 |
+
"bos_token_id": null,
|
294 |
+
"chunk_size_feed_forward": 0,
|
295 |
+
"cross_attention_hidden_size": null,
|
296 |
+
"decoder_start_token_id": null,
|
297 |
+
"diversity_penalty": 0.0,
|
298 |
+
"do_sample": false,
|
299 |
+
"early_stopping": false,
|
300 |
+
"encoder_no_repeat_ngram_size": 0,
|
301 |
+
"eos_token_id": null,
|
302 |
+
"exponential_decay_length_penalty": null,
|
303 |
+
"finetuning_task": null,
|
304 |
+
"forced_bos_token_id": null,
|
305 |
+
"forced_eos_token_id": null,
|
306 |
+
"hidden_act": "gelu",
|
307 |
+
"hidden_size": 1280,
|
308 |
+
"id2label": {
|
309 |
+
"0": "LABEL_0",
|
310 |
+
"1": "LABEL_1"
|
311 |
+
},
|
312 |
+
"image_size": 560,
|
313 |
+
"initializer_range": 0.02,
|
314 |
+
"intermediate_layers_indices": [
|
315 |
+
3,
|
316 |
+
7,
|
317 |
+
15,
|
318 |
+
23,
|
319 |
+
30
|
320 |
+
],
|
321 |
+
"intermediate_size": 5120,
|
322 |
+
"is_decoder": false,
|
323 |
+
"is_encoder_decoder": false,
|
324 |
+
"label2id": {
|
325 |
+
"LABEL_0": 0,
|
326 |
+
"LABEL_1": 1
|
327 |
+
},
|
328 |
+
"length_penalty": 1.0,
|
329 |
+
"max_length": 20,
|
330 |
+
"max_num_tiles": 4,
|
331 |
+
"min_length": 0,
|
332 |
+
"model_type": "mllama_vision_model",
|
333 |
+
"no_repeat_ngram_size": 0,
|
334 |
+
"norm_eps": 1e-05,
|
335 |
+
"num_beam_groups": 1,
|
336 |
+
"num_beams": 1,
|
337 |
+
"num_channels": 3,
|
338 |
+
"num_global_layers": 8,
|
339 |
+
"num_hidden_layers": 32,
|
340 |
+
"num_return_sequences": 1,
|
341 |
+
"output_attentions": false,
|
342 |
+
"output_hidden_states": false,
|
343 |
+
"output_scores": false,
|
344 |
+
"pad_token_id": null,
|
345 |
+
"patch_size": 14,
|
346 |
+
"prefix": null,
|
347 |
+
"problem_type": null,
|
348 |
+
"pruned_heads": {},
|
349 |
+
"remove_invalid_values": false,
|
350 |
+
"repetition_penalty": 1.0,
|
351 |
+
"return_dict": true,
|
352 |
+
"return_dict_in_generate": false,
|
353 |
+
"sep_token_id": null,
|
354 |
+
"supported_aspect_ratios": [
|
355 |
+
[
|
356 |
+
1,
|
357 |
+
1
|
358 |
+
],
|
359 |
+
[
|
360 |
+
1,
|
361 |
+
2
|
362 |
+
],
|
363 |
+
[
|
364 |
+
1,
|
365 |
+
3
|
366 |
+
],
|
367 |
+
[
|
368 |
+
1,
|
369 |
+
4
|
370 |
+
],
|
371 |
+
[
|
372 |
+
2,
|
373 |
+
1
|
374 |
+
],
|
375 |
+
[
|
376 |
+
2,
|
377 |
+
2
|
378 |
+
],
|
379 |
+
[
|
380 |
+
3,
|
381 |
+
1
|
382 |
+
],
|
383 |
+
[
|
384 |
+
4,
|
385 |
+
1
|
386 |
+
]
|
387 |
+
],
|
388 |
+
"suppress_tokens": null,
|
389 |
+
"task_specific_params": null,
|
390 |
+
"temperature": 1.0,
|
391 |
+
"tf_legacy_loss": false,
|
392 |
+
"tie_encoder_decoder": false,
|
393 |
+
"tie_word_embeddings": true,
|
394 |
+
"tokenizer_class": null,
|
395 |
+
"top_k": 50,
|
396 |
+
"top_p": 1.0,
|
397 |
+
"torch_dtype": "bfloat16",
|
398 |
+
"torchscript": false,
|
399 |
+
"typical_p": 1.0,
|
400 |
+
"use_bfloat16": false,
|
401 |
+
"vision_output_dim": 7680
|
402 |
+
}
|
403 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"eos_token_id": [
|
5 |
+
128001,
|
6 |
+
128008,
|
7 |
+
128009
|
8 |
+
],
|
9 |
+
"pad_token_id": 128004,
|
10 |
+
"transformers_version": "4.46.2"
|
11 |
+
}
|
model-00001-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9150fcc993f48b7b2a916c6e5bd74717896caedec8162f81556e41426d4b75d
|
3 |
+
size 4992621786
|
model-00002-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60f2c9d67f3a9282114bc795492e40f5e4ed788bd94b303ac73c02be97819755
|
3 |
+
size 4966251600
|
model-00003-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ac7ea28cc27df2e279e1a1878491c13817e1ce4d0be22d3843abd0d83a64936
|
3 |
+
size 4915919592
|
model-00004-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:022d6eb245f211ee98951891e459bd09e26f9c441985799da168eec263176ff8
|
3 |
+
size 4999823860
|
model-00005-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89e4e7a82b48a758500e55bed4366b80ab8f7b708cb9a9efbec594c714b6a625
|
3 |
+
size 3147569280
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|