LanguageBind
commited on
Commit
•
bcea118
1
Parent(s):
73102b6
Upload 6 files
Browse files- config.json +176 -0
- merges.txt +0 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +34 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"architectures": [
|
4 |
+
"CLIPModel"
|
5 |
+
],
|
6 |
+
"initializer_factor": 1.0,
|
7 |
+
"logit_scale_init_value": 2.6592,
|
8 |
+
"model_type": "LanguageBindAudio",
|
9 |
+
"projection_dim": 768,
|
10 |
+
"text_config": {
|
11 |
+
"_name_or_path": "",
|
12 |
+
"add_time_attn": false,
|
13 |
+
"add_cross_attention": false,
|
14 |
+
"architectures": null,
|
15 |
+
"attention_dropout": 0.0,
|
16 |
+
"bad_words_ids": null,
|
17 |
+
"begin_suppress_tokens": null,
|
18 |
+
"bos_token_id": 0,
|
19 |
+
"chunk_size_feed_forward": 0,
|
20 |
+
"cross_attention_hidden_size": null,
|
21 |
+
"decoder_start_token_id": null,
|
22 |
+
"diversity_penalty": 0.0,
|
23 |
+
"do_sample": false,
|
24 |
+
"early_stopping": false,
|
25 |
+
"encoder_no_repeat_ngram_size": 0,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"exponential_decay_length_penalty": null,
|
28 |
+
"finetuning_task": null,
|
29 |
+
"forced_bos_token_id": null,
|
30 |
+
"forced_eos_token_id": null,
|
31 |
+
"hidden_act": "gelu",
|
32 |
+
"hidden_size": 768,
|
33 |
+
"id2label": {
|
34 |
+
"0": "LABEL_0",
|
35 |
+
"1": "LABEL_1"
|
36 |
+
},
|
37 |
+
"initializer_factor": 1.0,
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"intermediate_size": 3072,
|
40 |
+
"is_decoder": false,
|
41 |
+
"is_encoder_decoder": false,
|
42 |
+
"label2id": {
|
43 |
+
"LABEL_0": 0,
|
44 |
+
"LABEL_1": 1
|
45 |
+
},
|
46 |
+
"layer_norm_eps": 1e-05,
|
47 |
+
"length_penalty": 1.0,
|
48 |
+
"max_length": 20,
|
49 |
+
"max_position_embeddings": 77,
|
50 |
+
"min_length": 0,
|
51 |
+
"model_type": "clip_text_model",
|
52 |
+
"no_repeat_ngram_size": 0,
|
53 |
+
"num_attention_heads": 12,
|
54 |
+
"num_beam_groups": 1,
|
55 |
+
"num_beams": 1,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"num_return_sequences": 1,
|
58 |
+
"output_attentions": false,
|
59 |
+
"output_hidden_states": false,
|
60 |
+
"output_scores": false,
|
61 |
+
"pad_token_id": 1,
|
62 |
+
"prefix": null,
|
63 |
+
"problem_type": null,
|
64 |
+
"projection_dim": 512,
|
65 |
+
"pruned_heads": {},
|
66 |
+
"remove_invalid_values": false,
|
67 |
+
"repetition_penalty": 1.0,
|
68 |
+
"return_dict": true,
|
69 |
+
"return_dict_in_generate": false,
|
70 |
+
"sep_token_id": null,
|
71 |
+
"suppress_tokens": null,
|
72 |
+
"task_specific_params": null,
|
73 |
+
"temperature": 1.0,
|
74 |
+
"tf_legacy_loss": false,
|
75 |
+
"tie_encoder_decoder": false,
|
76 |
+
"tie_word_embeddings": true,
|
77 |
+
"tokenizer_class": null,
|
78 |
+
"top_k": 50,
|
79 |
+
"top_p": 1.0,
|
80 |
+
"torch_dtype": null,
|
81 |
+
"torchscript": false,
|
82 |
+
"transformers_version": "4.29.1",
|
83 |
+
"typical_p": 1.0,
|
84 |
+
"use_bfloat16": false,
|
85 |
+
"vocab_size": 49408
|
86 |
+
},
|
87 |
+
"torch_dtype": "float32",
|
88 |
+
"transformers_version": null,
|
89 |
+
"vision_config": {
|
90 |
+
"_name_or_path": "",
|
91 |
+
"audio_sample_rate": 16000,
|
92 |
+
"audio_mean": -4.2677393,
|
93 |
+
"audio_std": 4.5689974,
|
94 |
+
"lora_r": 16,
|
95 |
+
"lora_alpha": 16,
|
96 |
+
"lora_dropout": 0.0,
|
97 |
+
"add_time_attn": false,
|
98 |
+
"num_frames": 1,
|
99 |
+
"num_mel_bins": 126,
|
100 |
+
"target_length": 1036,
|
101 |
+
"add_cross_attention": false,
|
102 |
+
"architectures": null,
|
103 |
+
"attention_dropout": 0.0,
|
104 |
+
"bad_words_ids": null,
|
105 |
+
"begin_suppress_tokens": null,
|
106 |
+
"bos_token_id": null,
|
107 |
+
"chunk_size_feed_forward": 0,
|
108 |
+
"cross_attention_hidden_size": null,
|
109 |
+
"decoder_start_token_id": null,
|
110 |
+
"diversity_penalty": 0.0,
|
111 |
+
"do_sample": false,
|
112 |
+
"early_stopping": false,
|
113 |
+
"encoder_no_repeat_ngram_size": 0,
|
114 |
+
"eos_token_id": null,
|
115 |
+
"exponential_decay_length_penalty": null,
|
116 |
+
"finetuning_task": null,
|
117 |
+
"forced_bos_token_id": null,
|
118 |
+
"forced_eos_token_id": null,
|
119 |
+
"hidden_act": "gelu",
|
120 |
+
"hidden_size": 1024,
|
121 |
+
"id2label": {
|
122 |
+
"0": "LABEL_0",
|
123 |
+
"1": "LABEL_1"
|
124 |
+
},
|
125 |
+
"image_size": 224,
|
126 |
+
"initializer_factor": 1.0,
|
127 |
+
"initializer_range": 0.02,
|
128 |
+
"intermediate_size": 4096,
|
129 |
+
"is_decoder": false,
|
130 |
+
"is_encoder_decoder": false,
|
131 |
+
"label2id": {
|
132 |
+
"LABEL_0": 0,
|
133 |
+
"LABEL_1": 1
|
134 |
+
},
|
135 |
+
"layer_norm_eps": 1e-05,
|
136 |
+
"length_penalty": 1.0,
|
137 |
+
"max_length": 20,
|
138 |
+
"min_length": 0,
|
139 |
+
"model_type": "clip_vision_model",
|
140 |
+
"no_repeat_ngram_size": 0,
|
141 |
+
"num_attention_heads": 16,
|
142 |
+
"num_beam_groups": 1,
|
143 |
+
"num_beams": 1,
|
144 |
+
"num_channels": 3,
|
145 |
+
"num_hidden_layers": 24,
|
146 |
+
"num_return_sequences": 1,
|
147 |
+
"output_attentions": false,
|
148 |
+
"output_hidden_states": false,
|
149 |
+
"output_scores": false,
|
150 |
+
"pad_token_id": null,
|
151 |
+
"patch_size": 14,
|
152 |
+
"prefix": null,
|
153 |
+
"problem_type": null,
|
154 |
+
"projection_dim": 512,
|
155 |
+
"pruned_heads": {},
|
156 |
+
"remove_invalid_values": false,
|
157 |
+
"repetition_penalty": 1.0,
|
158 |
+
"return_dict": true,
|
159 |
+
"return_dict_in_generate": false,
|
160 |
+
"sep_token_id": null,
|
161 |
+
"suppress_tokens": null,
|
162 |
+
"task_specific_params": null,
|
163 |
+
"temperature": 1.0,
|
164 |
+
"tf_legacy_loss": false,
|
165 |
+
"tie_encoder_decoder": false,
|
166 |
+
"tie_word_embeddings": true,
|
167 |
+
"tokenizer_class": null,
|
168 |
+
"top_k": 50,
|
169 |
+
"top_p": 1.0,
|
170 |
+
"torch_dtype": null,
|
171 |
+
"torchscript": false,
|
172 |
+
"transformers_version": "4.29.1",
|
173 |
+
"typical_p": 1.0,
|
174 |
+
"use_bfloat16": false
|
175 |
+
}
|
176 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"do_lower_case": true,
|
12 |
+
"eos_token": {
|
13 |
+
"__type": "AddedToken",
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"errors": "replace",
|
21 |
+
"model_max_length": 77,
|
22 |
+
"name_or_path": "lb203/LanguageBind_Audio",
|
23 |
+
"pad_token": "<|endoftext|>",
|
24 |
+
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
+
"tokenizer_class": "LanguageBindAudioTokenizer",
|
26 |
+
"unk_token": {
|
27 |
+
"__type": "AddedToken",
|
28 |
+
"content": "<|endoftext|>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|