Upload SpeechEncoderConnectorLLM
Browse files- README.md +199 -0
- config.json +324 -0
- generation_config.json +10 -0
- model-00001-of-00008.safetensors +3 -0
- model-00002-of-00008.safetensors +3 -0
- model-00003-of-00008.safetensors +3 -0
- model-00004-of-00008.safetensors +3 -0
- model-00005-of-00008.safetensors +3 -0
- model-00006-of-00008.safetensors +3 -0
- model-00007-of-00008.safetensors +3 -0
- model-00008-of-00008.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,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/matylda6/isedlacek/models/wavlm_gemma2-9b_fr_nc_lora_r8a8_ua_swft",
|
3 |
+
"architectures": [
|
4 |
+
"SpeechEncoderConnectorLLM"
|
5 |
+
],
|
6 |
+
"ce_loss_weight": 1.0,
|
7 |
+
"connector_type": "encoder_stacked",
|
8 |
+
"downsampling_factor": 6,
|
9 |
+
"encoder_config": {
|
10 |
+
"_attn_implementation_autoset": true,
|
11 |
+
"_name_or_path": "microsoft/wavlm-large",
|
12 |
+
"activation_dropout": 0.0,
|
13 |
+
"adapter_kernel_size": 3,
|
14 |
+
"adapter_stride": 2,
|
15 |
+
"add_adapter": false,
|
16 |
+
"add_cross_attention": false,
|
17 |
+
"apply_spec_augment": false,
|
18 |
+
"architectures": [
|
19 |
+
"WavLMModel"
|
20 |
+
],
|
21 |
+
"attention_dropout": 0.1,
|
22 |
+
"bad_words_ids": null,
|
23 |
+
"begin_suppress_tokens": null,
|
24 |
+
"bos_token_id": 1,
|
25 |
+
"chunk_size_feed_forward": 0,
|
26 |
+
"classifier_proj_size": 256,
|
27 |
+
"codevector_dim": 768,
|
28 |
+
"contrastive_logits_temperature": 0.1,
|
29 |
+
"conv_bias": false,
|
30 |
+
"conv_dim": [
|
31 |
+
512,
|
32 |
+
512,
|
33 |
+
512,
|
34 |
+
512,
|
35 |
+
512,
|
36 |
+
512,
|
37 |
+
512
|
38 |
+
],
|
39 |
+
"conv_kernel": [
|
40 |
+
10,
|
41 |
+
3,
|
42 |
+
3,
|
43 |
+
3,
|
44 |
+
3,
|
45 |
+
2,
|
46 |
+
2
|
47 |
+
],
|
48 |
+
"conv_stride": [
|
49 |
+
5,
|
50 |
+
2,
|
51 |
+
2,
|
52 |
+
2,
|
53 |
+
2,
|
54 |
+
2,
|
55 |
+
2
|
56 |
+
],
|
57 |
+
"cross_attention_hidden_size": null,
|
58 |
+
"ctc_loss_reduction": "sum",
|
59 |
+
"ctc_zero_infinity": false,
|
60 |
+
"decoder_start_token_id": null,
|
61 |
+
"diversity_loss_weight": 0.1,
|
62 |
+
"diversity_penalty": 0.0,
|
63 |
+
"do_sample": false,
|
64 |
+
"do_stable_layer_norm": true,
|
65 |
+
"early_stopping": false,
|
66 |
+
"encoder_no_repeat_ngram_size": 0,
|
67 |
+
"eos_token_id": 2,
|
68 |
+
"exponential_decay_length_penalty": null,
|
69 |
+
"feat_extract_activation": "gelu",
|
70 |
+
"feat_extract_dropout": 0.0,
|
71 |
+
"feat_extract_norm": "layer",
|
72 |
+
"feat_proj_dropout": 0.1,
|
73 |
+
"feat_quantizer_dropout": 0.0,
|
74 |
+
"final_dropout": 0.0,
|
75 |
+
"finetuning_task": null,
|
76 |
+
"forced_bos_token_id": null,
|
77 |
+
"forced_eos_token_id": null,
|
78 |
+
"gradient_checkpointing": false,
|
79 |
+
"hidden_act": "gelu",
|
80 |
+
"hidden_dropout": 0.1,
|
81 |
+
"hidden_size": 1024,
|
82 |
+
"id2label": {
|
83 |
+
"0": "LABEL_0",
|
84 |
+
"1": "LABEL_1"
|
85 |
+
},
|
86 |
+
"initializer_range": 0.02,
|
87 |
+
"intermediate_size": 4096,
|
88 |
+
"is_decoder": false,
|
89 |
+
"is_encoder_decoder": false,
|
90 |
+
"label2id": {
|
91 |
+
"LABEL_0": 0,
|
92 |
+
"LABEL_1": 1
|
93 |
+
},
|
94 |
+
"layer_norm_eps": 1e-05,
|
95 |
+
"layer_to_extract": null,
|
96 |
+
"layerdrop": 0.1,
|
97 |
+
"length_penalty": 1.0,
|
98 |
+
"mask_channel_length": 10,
|
99 |
+
"mask_channel_min_space": 1,
|
100 |
+
"mask_channel_other": 0.0,
|
101 |
+
"mask_channel_prob": 0.0,
|
102 |
+
"mask_channel_selection": "static",
|
103 |
+
"mask_feature_length": 10,
|
104 |
+
"mask_feature_min_masks": 0,
|
105 |
+
"mask_feature_prob": 0.0,
|
106 |
+
"mask_time_length": 10,
|
107 |
+
"mask_time_min_masks": 2,
|
108 |
+
"mask_time_min_space": 1,
|
109 |
+
"mask_time_other": 0.0,
|
110 |
+
"mask_time_prob": 0.075,
|
111 |
+
"mask_time_selection": "static",
|
112 |
+
"max_bucket_distance": 800,
|
113 |
+
"max_length": 20,
|
114 |
+
"min_length": 0,
|
115 |
+
"model_type": "",
|
116 |
+
"no_repeat_ngram_size": 0,
|
117 |
+
"num_adapter_layers": 3,
|
118 |
+
"num_attention_heads": 16,
|
119 |
+
"num_beam_groups": 1,
|
120 |
+
"num_beams": 1,
|
121 |
+
"num_buckets": 320,
|
122 |
+
"num_codevector_groups": 2,
|
123 |
+
"num_codevectors_per_group": 320,
|
124 |
+
"num_conv_pos_embedding_groups": 16,
|
125 |
+
"num_conv_pos_embeddings": 128,
|
126 |
+
"num_ctc_classes": 80,
|
127 |
+
"num_feat_extract_layers": 7,
|
128 |
+
"num_hidden_layers": 24,
|
129 |
+
"num_negatives": 100,
|
130 |
+
"num_return_sequences": 1,
|
131 |
+
"output_attentions": false,
|
132 |
+
"output_hidden_size": 1024,
|
133 |
+
"output_hidden_states": false,
|
134 |
+
"output_scores": false,
|
135 |
+
"pad_token_id": 0,
|
136 |
+
"prefix": null,
|
137 |
+
"problem_type": null,
|
138 |
+
"proj_codevector_dim": 768,
|
139 |
+
"pruned_heads": {},
|
140 |
+
"remove_invalid_values": false,
|
141 |
+
"repetition_penalty": 1.0,
|
142 |
+
"replace_prob": 0.5,
|
143 |
+
"return_dict": true,
|
144 |
+
"return_dict_in_generate": false,
|
145 |
+
"sep_token_id": null,
|
146 |
+
"suppress_tokens": null,
|
147 |
+
"task_specific_params": null,
|
148 |
+
"tdnn_dilation": [
|
149 |
+
1,
|
150 |
+
2,
|
151 |
+
3,
|
152 |
+
1,
|
153 |
+
1
|
154 |
+
],
|
155 |
+
"tdnn_dim": [
|
156 |
+
512,
|
157 |
+
512,
|
158 |
+
512,
|
159 |
+
512,
|
160 |
+
1500
|
161 |
+
],
|
162 |
+
"tdnn_kernel": [
|
163 |
+
5,
|
164 |
+
3,
|
165 |
+
3,
|
166 |
+
1,
|
167 |
+
1
|
168 |
+
],
|
169 |
+
"temperature": 1.0,
|
170 |
+
"tf_legacy_loss": false,
|
171 |
+
"tie_encoder_decoder": false,
|
172 |
+
"tie_word_embeddings": true,
|
173 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
174 |
+
"top_k": 50,
|
175 |
+
"top_p": 1.0,
|
176 |
+
"torch_dtype": "float32",
|
177 |
+
"torchscript": false,
|
178 |
+
"typical_p": 1.0,
|
179 |
+
"use_bfloat16": false,
|
180 |
+
"use_weighted_layer_sum": false,
|
181 |
+
"vocab_size": 32,
|
182 |
+
"xvector_output_dim": 512
|
183 |
+
},
|
184 |
+
"freeze_encoder": true,
|
185 |
+
"init_prompt_from_embeds": false,
|
186 |
+
"lm_config": {
|
187 |
+
"_attn_implementation_autoset": true,
|
188 |
+
"_name_or_path": "google/gemma-2-9b-it",
|
189 |
+
"add_cross_attention": false,
|
190 |
+
"architectures": [
|
191 |
+
"Gemma2ForCausalLM"
|
192 |
+
],
|
193 |
+
"attention_bias": false,
|
194 |
+
"attention_dropout": 0.0,
|
195 |
+
"attn_logit_softcapping": 50.0,
|
196 |
+
"bad_words_ids": null,
|
197 |
+
"begin_suppress_tokens": null,
|
198 |
+
"bos_token_id": 2,
|
199 |
+
"cache_implementation": "hybrid",
|
200 |
+
"chunk_size_feed_forward": 0,
|
201 |
+
"cross_attention_hidden_size": null,
|
202 |
+
"decoder_start_token_id": null,
|
203 |
+
"diversity_penalty": 0.0,
|
204 |
+
"do_sample": false,
|
205 |
+
"early_stopping": false,
|
206 |
+
"encoder_no_repeat_ngram_size": 0,
|
207 |
+
"eos_token_id": 1,
|
208 |
+
"exponential_decay_length_penalty": null,
|
209 |
+
"final_logit_softcapping": 30.0,
|
210 |
+
"finetuning_task": null,
|
211 |
+
"forced_bos_token_id": null,
|
212 |
+
"forced_eos_token_id": null,
|
213 |
+
"head_dim": 256,
|
214 |
+
"hidden_act": "gelu_pytorch_tanh",
|
215 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
216 |
+
"hidden_size": 3584,
|
217 |
+
"id2label": {
|
218 |
+
"0": "LABEL_0",
|
219 |
+
"1": "LABEL_1"
|
220 |
+
},
|
221 |
+
"initializer_range": 0.02,
|
222 |
+
"intermediate_size": 14336,
|
223 |
+
"is_decoder": false,
|
224 |
+
"is_encoder_decoder": false,
|
225 |
+
"label2id": {
|
226 |
+
"LABEL_0": 0,
|
227 |
+
"LABEL_1": 1
|
228 |
+
},
|
229 |
+
"length_penalty": 1.0,
|
230 |
+
"max_length": 20,
|
231 |
+
"max_position_embeddings": 8192,
|
232 |
+
"min_length": 0,
|
233 |
+
"model_type": "",
|
234 |
+
"no_repeat_ngram_size": 0,
|
235 |
+
"num_attention_heads": 16,
|
236 |
+
"num_beam_groups": 1,
|
237 |
+
"num_beams": 1,
|
238 |
+
"num_hidden_layers": 42,
|
239 |
+
"num_key_value_heads": 8,
|
240 |
+
"num_return_sequences": 1,
|
241 |
+
"output_attentions": false,
|
242 |
+
"output_hidden_states": false,
|
243 |
+
"output_scores": false,
|
244 |
+
"pad_token_id": 1,
|
245 |
+
"prefix": null,
|
246 |
+
"problem_type": null,
|
247 |
+
"pruned_heads": {},
|
248 |
+
"query_pre_attn_scalar": 256,
|
249 |
+
"remove_invalid_values": false,
|
250 |
+
"repetition_penalty": 1.0,
|
251 |
+
"return_dict": true,
|
252 |
+
"return_dict_in_generate": false,
|
253 |
+
"rms_norm_eps": 1e-06,
|
254 |
+
"rope_theta": 10000.0,
|
255 |
+
"sep_token_id": null,
|
256 |
+
"sliding_window": 4096,
|
257 |
+
"sliding_window_size": 4096,
|
258 |
+
"suppress_tokens": null,
|
259 |
+
"task_specific_params": null,
|
260 |
+
"temperature": 1.0,
|
261 |
+
"tf_legacy_loss": false,
|
262 |
+
"tie_encoder_decoder": false,
|
263 |
+
"tie_word_embeddings": true,
|
264 |
+
"tokenizer_class": null,
|
265 |
+
"top_k": 50,
|
266 |
+
"top_p": 1.0,
|
267 |
+
"torch_dtype": "bfloat16",
|
268 |
+
"torchscript": false,
|
269 |
+
"typical_p": 1.0,
|
270 |
+
"use_bfloat16": false,
|
271 |
+
"use_cache": true,
|
272 |
+
"vocab_size": 256000
|
273 |
+
},
|
274 |
+
"lora_config": {
|
275 |
+
"alpha_pattern": {},
|
276 |
+
"auto_mapping": null,
|
277 |
+
"base_model_name_or_path": null,
|
278 |
+
"bias": "none",
|
279 |
+
"fan_in_fan_out": false,
|
280 |
+
"inference_mode": false,
|
281 |
+
"init_lora_weights": true,
|
282 |
+
"layer_replication": null,
|
283 |
+
"layers_pattern": null,
|
284 |
+
"layers_to_transform": null,
|
285 |
+
"loftq_config": {},
|
286 |
+
"lora_alpha": 8,
|
287 |
+
"lora_dropout": 0.1,
|
288 |
+
"megatron_config": null,
|
289 |
+
"megatron_core": "megatron.core",
|
290 |
+
"modules_to_save": null,
|
291 |
+
"peft_type": "LORA",
|
292 |
+
"r": 8,
|
293 |
+
"rank_pattern": {},
|
294 |
+
"revision": null,
|
295 |
+
"target_modules": "all-linear",
|
296 |
+
"task_type": "CAUSAL_LM",
|
297 |
+
"use_dora": false,
|
298 |
+
"use_rslora": false
|
299 |
+
},
|
300 |
+
"mm_loss_weight": 0.0,
|
301 |
+
"mm_micro_loss": "dot",
|
302 |
+
"mm_pooling": null,
|
303 |
+
"modality_matching": true,
|
304 |
+
"num_pretrain_epochs": 0,
|
305 |
+
"num_query_tokens": 80,
|
306 |
+
"pad_token_id": 1,
|
307 |
+
"prompt": null,
|
308 |
+
"prompt_tuning_prefix_init": null,
|
309 |
+
"prompt_tuning_prefix_len": 0,
|
310 |
+
"prompt_tuning_suffix_init": null,
|
311 |
+
"prompt_tuning_suffix_len": 0,
|
312 |
+
"qformer_config": {
|
313 |
+
"cross_attention_frequency": 1,
|
314 |
+
"encoder_hidden_size": 1024,
|
315 |
+
"hidden_act": "gelu_new",
|
316 |
+
"hidden_size": 1024,
|
317 |
+
"intermediate_size": 4096,
|
318 |
+
"model_type": "blip_2_qformer",
|
319 |
+
"num_attention_heads": 16,
|
320 |
+
"num_hidden_layers": 2
|
321 |
+
},
|
322 |
+
"torch_dtype": "float32",
|
323 |
+
"transformers_version": "4.48.2"
|
324 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 2,
|
3 |
+
"decoder_end_token_id": 1,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"max_new_tokens": 400,
|
7 |
+
"num_beams": 2,
|
8 |
+
"pad_token_id": 0,
|
9 |
+
"transformers_version": "4.48.2"
|
10 |
+
}
|
model-00001-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47f9703bc1ab20c39511dc0561cfbb726eb389f583bc587d203f78a04d09db86
|
3 |
+
size 4990856512
|
model-00002-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f3279ac67f1cc2701e31b64cc541395fe9fcc920e667c2b05b0fcc3b0315b16
|
3 |
+
size 4890189088
|
model-00003-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7658148fee340186f4f5ec12b9acc514f752cdf07339ccaf43a69f047ec3302f
|
3 |
+
size 4978235848
|
model-00004-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48547ab3b6a9694748430727ab4daa167fe0a94fce04f813a5d4f4cf24256813
|
3 |
+
size 4978235952
|
model-00005-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f29aa818fa2b3671d8263c2784552112c32b309f8ff32eae2439886a4037734
|
3 |
+
size 4978293848
|
model-00006-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d5593db367489ee760190df7af309cbd2018b3507e7c09b1b65e0c7e6e11278
|
3 |
+
size 4949155728
|
model-00007-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:341d7c87cebfa629039aaff3905f7feb1778d240d0a35858a46de32d18a87ffc
|
3 |
+
size 4978235952
|
model-00008-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08e48d536925f0c246fb00227045cbcb28585149fcff4b900d8af49f0f77d20a
|
3 |
+
size 3976504032
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|