werent4 commited on
Commit
5eb9d01
·
verified ·
1 Parent(s): 01b6232

Upload model

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +300 -0
  3. model.safetensors +3 -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,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "../models/emo-gliclass-audio-bi-1-wds-0.015-red-sum/checkpoint-1440",
3
+ "architecture_type": "audio-bi-encoder",
4
+ "architectures": [
5
+ "GLiClassModel"
6
+ ],
7
+ "audio_model_config": {
8
+ "_attn_implementation_autoset": false,
9
+ "_name_or_path": "facebook/wav2vec2-base-960h",
10
+ "activation_dropout": 0.1,
11
+ "adapter_attn_dim": null,
12
+ "adapter_kernel_size": 3,
13
+ "adapter_stride": 2,
14
+ "add_adapter": false,
15
+ "add_cross_attention": false,
16
+ "apply_spec_augment": true,
17
+ "architectures": [
18
+ "Wav2Vec2ForCTC"
19
+ ],
20
+ "attention_dropout": 0.1,
21
+ "bad_words_ids": null,
22
+ "begin_suppress_tokens": null,
23
+ "bos_token_id": 1,
24
+ "chunk_size_feed_forward": 0,
25
+ "classifier_proj_size": 256,
26
+ "codevector_dim": 256,
27
+ "contrastive_logits_temperature": 0.1,
28
+ "conv_bias": false,
29
+ "conv_dim": [
30
+ 512,
31
+ 512,
32
+ 512,
33
+ 512,
34
+ 512,
35
+ 512,
36
+ 512
37
+ ],
38
+ "conv_kernel": [
39
+ 10,
40
+ 3,
41
+ 3,
42
+ 3,
43
+ 3,
44
+ 2,
45
+ 2
46
+ ],
47
+ "conv_stride": [
48
+ 5,
49
+ 2,
50
+ 2,
51
+ 2,
52
+ 2,
53
+ 2,
54
+ 2
55
+ ],
56
+ "cross_attention_hidden_size": null,
57
+ "ctc_loss_reduction": "sum",
58
+ "ctc_zero_infinity": false,
59
+ "decoder_start_token_id": null,
60
+ "diversity_loss_weight": 0.1,
61
+ "diversity_penalty": 0.0,
62
+ "do_sample": false,
63
+ "do_stable_layer_norm": false,
64
+ "early_stopping": false,
65
+ "encoder_no_repeat_ngram_size": 0,
66
+ "eos_token_id": 2,
67
+ "exponential_decay_length_penalty": null,
68
+ "feat_extract_activation": "gelu",
69
+ "feat_extract_dropout": 0.0,
70
+ "feat_extract_norm": "group",
71
+ "feat_proj_dropout": 0.1,
72
+ "feat_quantizer_dropout": 0.0,
73
+ "final_dropout": 0.1,
74
+ "finetuning_task": null,
75
+ "forced_bos_token_id": null,
76
+ "forced_eos_token_id": null,
77
+ "gradient_checkpointing": false,
78
+ "hidden_act": "gelu",
79
+ "hidden_dropout": 0.1,
80
+ "hidden_dropout_prob": 0.1,
81
+ "hidden_size": 768,
82
+ "id2label": {
83
+ "0": "LABEL_0",
84
+ "1": "LABEL_1"
85
+ },
86
+ "initializer_range": 0.02,
87
+ "intermediate_size": 3072,
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
+ "layerdrop": 0.1,
96
+ "length_penalty": 1.0,
97
+ "mask_feature_length": 10,
98
+ "mask_feature_min_masks": 0,
99
+ "mask_feature_prob": 0.0,
100
+ "mask_time_length": 10,
101
+ "mask_time_min_masks": 2,
102
+ "mask_time_prob": 0.05,
103
+ "max_length": 20,
104
+ "min_length": 0,
105
+ "model_type": "wav2vec2",
106
+ "no_repeat_ngram_size": 0,
107
+ "num_adapter_layers": 3,
108
+ "num_attention_heads": 12,
109
+ "num_beam_groups": 1,
110
+ "num_beams": 1,
111
+ "num_codevector_groups": 2,
112
+ "num_codevectors_per_group": 320,
113
+ "num_conv_pos_embedding_groups": 16,
114
+ "num_conv_pos_embeddings": 128,
115
+ "num_feat_extract_layers": 7,
116
+ "num_hidden_layers": 12,
117
+ "num_negatives": 100,
118
+ "num_return_sequences": 1,
119
+ "output_attentions": false,
120
+ "output_hidden_size": 768,
121
+ "output_hidden_states": false,
122
+ "output_scores": false,
123
+ "pad_token_id": 0,
124
+ "prefix": null,
125
+ "problem_type": null,
126
+ "proj_codevector_dim": 256,
127
+ "pruned_heads": {},
128
+ "remove_invalid_values": false,
129
+ "repetition_penalty": 1.0,
130
+ "return_dict": true,
131
+ "return_dict_in_generate": false,
132
+ "sep_token_id": null,
133
+ "suppress_tokens": null,
134
+ "task_specific_params": null,
135
+ "tdnn_dilation": [
136
+ 1,
137
+ 2,
138
+ 3,
139
+ 1,
140
+ 1
141
+ ],
142
+ "tdnn_dim": [
143
+ 512,
144
+ 512,
145
+ 512,
146
+ 512,
147
+ 1500
148
+ ],
149
+ "tdnn_kernel": [
150
+ 5,
151
+ 3,
152
+ 3,
153
+ 1,
154
+ 1
155
+ ],
156
+ "temperature": 1.0,
157
+ "tf_legacy_loss": false,
158
+ "tie_encoder_decoder": false,
159
+ "tie_word_embeddings": true,
160
+ "tokenizer_class": null,
161
+ "top_k": 50,
162
+ "top_p": 1.0,
163
+ "torch_dtype": null,
164
+ "torchscript": false,
165
+ "typical_p": 1.0,
166
+ "use_bfloat16": false,
167
+ "use_weighted_layer_sum": false,
168
+ "vocab_size": 32,
169
+ "xvector_output_dim": 512
170
+ },
171
+ "audio_model_name": "facebook/wav2vec2-base-960h",
172
+ "audio_token_index": 50370,
173
+ "class_token_index": 50368,
174
+ "contrastive_loss_coef": 0.0,
175
+ "embed_class_token": true,
176
+ "encoder_config": {
177
+ "_attn_implementation_autoset": false,
178
+ "_name_or_path": "answerdotai/ModernBERT-base",
179
+ "add_cross_attention": false,
180
+ "architectures": [
181
+ "ModernBertForMaskedLM"
182
+ ],
183
+ "attention_bias": false,
184
+ "attention_dropout": 0.0,
185
+ "bad_words_ids": null,
186
+ "begin_suppress_tokens": null,
187
+ "bos_token_id": 50281,
188
+ "chunk_size_feed_forward": 0,
189
+ "classifier_activation": "gelu",
190
+ "classifier_bias": false,
191
+ "classifier_dropout": 0.0,
192
+ "classifier_pooling": "mean",
193
+ "cls_token_id": 50281,
194
+ "cross_attention_hidden_size": null,
195
+ "decoder_bias": true,
196
+ "decoder_start_token_id": null,
197
+ "deterministic_flash_attn": false,
198
+ "diversity_penalty": 0.0,
199
+ "do_sample": false,
200
+ "early_stopping": false,
201
+ "embedding_dropout": 0.0,
202
+ "encoder_no_repeat_ngram_size": 0,
203
+ "eos_token_id": 50282,
204
+ "exponential_decay_length_penalty": null,
205
+ "finetuning_task": null,
206
+ "forced_bos_token_id": null,
207
+ "forced_eos_token_id": null,
208
+ "global_attn_every_n_layers": 3,
209
+ "global_rope_theta": 160000.0,
210
+ "gradient_checkpointing": false,
211
+ "hidden_activation": "gelu",
212
+ "hidden_size": 768,
213
+ "id2label": {
214
+ "0": "LABEL_0",
215
+ "1": "LABEL_1"
216
+ },
217
+ "initializer_cutoff_factor": 2.0,
218
+ "initializer_range": 0.02,
219
+ "intermediate_size": 1152,
220
+ "is_decoder": false,
221
+ "is_encoder_decoder": false,
222
+ "label2id": {
223
+ "LABEL_0": 0,
224
+ "LABEL_1": 1
225
+ },
226
+ "layer_norm_eps": 1e-05,
227
+ "length_penalty": 1.0,
228
+ "local_attention": 128,
229
+ "local_rope_theta": 10000.0,
230
+ "max_length": 20,
231
+ "max_position_embeddings": 8192,
232
+ "min_length": 0,
233
+ "mlp_bias": false,
234
+ "mlp_dropout": 0.0,
235
+ "model_type": "modernbert",
236
+ "no_repeat_ngram_size": 0,
237
+ "norm_bias": false,
238
+ "norm_eps": 1e-05,
239
+ "num_attention_heads": 12,
240
+ "num_beam_groups": 1,
241
+ "num_beams": 1,
242
+ "num_hidden_layers": 22,
243
+ "num_return_sequences": 1,
244
+ "output_attentions": false,
245
+ "output_hidden_states": false,
246
+ "output_scores": false,
247
+ "pad_token_id": 50283,
248
+ "position_embedding_type": "absolute",
249
+ "prefix": null,
250
+ "problem_type": null,
251
+ "pruned_heads": {},
252
+ "reference_compile": null,
253
+ "remove_invalid_values": false,
254
+ "repad_logits_with_grad": false,
255
+ "repetition_penalty": 1.0,
256
+ "return_dict": true,
257
+ "return_dict_in_generate": false,
258
+ "sep_token_id": 50282,
259
+ "sparse_pred_ignore_index": -100,
260
+ "sparse_prediction": false,
261
+ "suppress_tokens": null,
262
+ "task_specific_params": null,
263
+ "temperature": 1.0,
264
+ "tf_legacy_loss": false,
265
+ "tie_encoder_decoder": false,
266
+ "tie_word_embeddings": true,
267
+ "tokenizer_class": null,
268
+ "top_k": 50,
269
+ "top_p": 1.0,
270
+ "torch_dtype": "float32",
271
+ "torchscript": false,
272
+ "typical_p": 1.0,
273
+ "use_bfloat16": false,
274
+ "vocab_size": 50368
275
+ },
276
+ "encoder_model_name": "answerdotai/ModernBERT-base",
277
+ "extract_text_features": false,
278
+ "focal_loss_alpha": 0.9,
279
+ "focal_loss_gamma": 2.5,
280
+ "hidden_size": 768,
281
+ "ignore_index": -100,
282
+ "initializer_range": 0.03,
283
+ "label_model_config": null,
284
+ "label_model_name": null,
285
+ "logit_scale_init_value": 2.6592,
286
+ "max_num_classes": 25,
287
+ "model_type": "GLiClass",
288
+ "normalize_features": true,
289
+ "pooling_strategy": "first",
290
+ "projector_hidden_act": "gelu",
291
+ "prompt_first": true,
292
+ "scorer_type": "simple",
293
+ "shuffle_labels": true,
294
+ "squeeze_layers": false,
295
+ "text_token_index": 50369,
296
+ "torch_dtype": "float32",
297
+ "transformers_version": "4.48.2",
298
+ "use_lstm": false,
299
+ "vocab_size": 50368
300
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6f54c414be691b92a86994c7dcf4845872537e6dff951eb9f07c974c36c5ee
3
+ size 987763284