kamilakesbi
commited on
Commit
•
677ac5a
1
Parent(s):
8092355
Upload model
Browse files- config.json +86 -2
config.json
CHANGED
@@ -8,12 +8,96 @@
|
|
8 |
"hidden_size": 768,
|
9 |
"initializer_factor": 1.0,
|
10 |
"logit_scale_init_value": 14.285714285714285,
|
11 |
-
"model_type": "
|
12 |
"num_hidden_layers": 8,
|
13 |
"projection_dim": 1024,
|
14 |
"text_config": {
|
15 |
"model_type": "msclap_text_model",
|
16 |
-
"projection_dim": 1024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
},
|
18 |
"torch_dtype": "float32",
|
19 |
"transformers_version": "4.43.0.dev0"
|
|
|
8 |
"hidden_size": 768,
|
9 |
"initializer_factor": 1.0,
|
10 |
"logit_scale_init_value": 14.285714285714285,
|
11 |
+
"model_type": "msclap",
|
12 |
"num_hidden_layers": 8,
|
13 |
"projection_dim": 1024,
|
14 |
"text_config": {
|
15 |
"model_type": "msclap_text_model",
|
16 |
+
"projection_dim": 1024,
|
17 |
+
"text_encoder": {
|
18 |
+
"_name_or_path": "",
|
19 |
+
"activation_function": "gelu_new",
|
20 |
+
"add_cross_attention": false,
|
21 |
+
"architectures": null,
|
22 |
+
"attn_pdrop": 0.1,
|
23 |
+
"bad_words_ids": null,
|
24 |
+
"begin_suppress_tokens": null,
|
25 |
+
"bos_token_id": 50256,
|
26 |
+
"chunk_size_feed_forward": 0,
|
27 |
+
"cross_attention_hidden_size": null,
|
28 |
+
"decoder_start_token_id": null,
|
29 |
+
"diversity_penalty": 0.0,
|
30 |
+
"do_sample": false,
|
31 |
+
"early_stopping": false,
|
32 |
+
"embd_pdrop": 0.1,
|
33 |
+
"encoder_no_repeat_ngram_size": 0,
|
34 |
+
"eos_token_id": 50256,
|
35 |
+
"exponential_decay_length_penalty": null,
|
36 |
+
"finetuning_task": null,
|
37 |
+
"forced_bos_token_id": null,
|
38 |
+
"forced_eos_token_id": null,
|
39 |
+
"id2label": {
|
40 |
+
"0": "LABEL_0",
|
41 |
+
"1": "LABEL_1"
|
42 |
+
},
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"is_decoder": false,
|
45 |
+
"is_encoder_decoder": false,
|
46 |
+
"label2id": {
|
47 |
+
"LABEL_0": 0,
|
48 |
+
"LABEL_1": 1
|
49 |
+
},
|
50 |
+
"layer_norm_epsilon": 1e-05,
|
51 |
+
"length_penalty": 1.0,
|
52 |
+
"max_length": 20,
|
53 |
+
"min_length": 0,
|
54 |
+
"n_embd": 768,
|
55 |
+
"n_head": 12,
|
56 |
+
"n_inner": null,
|
57 |
+
"n_layer": 12,
|
58 |
+
"n_positions": 1024,
|
59 |
+
"no_repeat_ngram_size": 0,
|
60 |
+
"num_beam_groups": 1,
|
61 |
+
"num_beams": 1,
|
62 |
+
"num_return_sequences": 1,
|
63 |
+
"output_attentions": false,
|
64 |
+
"output_hidden_states": false,
|
65 |
+
"output_scores": false,
|
66 |
+
"pad_token_id": null,
|
67 |
+
"prefix": null,
|
68 |
+
"problem_type": null,
|
69 |
+
"pruned_heads": {},
|
70 |
+
"remove_invalid_values": false,
|
71 |
+
"reorder_and_upcast_attn": false,
|
72 |
+
"repetition_penalty": 1.0,
|
73 |
+
"resid_pdrop": 0.1,
|
74 |
+
"return_dict": true,
|
75 |
+
"return_dict_in_generate": false,
|
76 |
+
"scale_attn_by_inverse_layer_idx": false,
|
77 |
+
"scale_attn_weights": true,
|
78 |
+
"sep_token_id": null,
|
79 |
+
"summary_activation": null,
|
80 |
+
"summary_first_dropout": 0.1,
|
81 |
+
"summary_proj_to_labels": true,
|
82 |
+
"summary_type": "cls_index",
|
83 |
+
"summary_use_proj": true,
|
84 |
+
"suppress_tokens": null,
|
85 |
+
"task_specific_params": null,
|
86 |
+
"temperature": 1.0,
|
87 |
+
"tf_legacy_loss": false,
|
88 |
+
"tie_encoder_decoder": false,
|
89 |
+
"tie_word_embeddings": true,
|
90 |
+
"tokenizer_class": null,
|
91 |
+
"top_k": 50,
|
92 |
+
"top_p": 1.0,
|
93 |
+
"torch_dtype": null,
|
94 |
+
"torchscript": false,
|
95 |
+
"transformers_version": "4.43.0.dev0",
|
96 |
+
"typical_p": 1.0,
|
97 |
+
"use_bfloat16": false,
|
98 |
+
"use_cache": true,
|
99 |
+
"vocab_size": 50257
|
100 |
+
}
|
101 |
},
|
102 |
"torch_dtype": "float32",
|
103 |
"transformers_version": "4.43.0.dev0"
|