Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +81 -0
text_encoder/config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModelWithProjection"
|
5 |
+
],
|
6 |
+
"_name_or_path": "",
|
7 |
+
"add_cross_attention": false,
|
8 |
+
"architectures": null,
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"bad_words_ids": null,
|
11 |
+
"begin_suppress_tokens": null,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"chunk_size_feed_forward": 0,
|
14 |
+
"cross_attention_hidden_size": null,
|
15 |
+
"decoder_start_token_id": null,
|
16 |
+
"diversity_penalty": 0.0,
|
17 |
+
"do_sample": false,
|
18 |
+
"dropout": 0.0,
|
19 |
+
"early_stopping": false,
|
20 |
+
"encoder_no_repeat_ngram_size": 0,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"exponential_decay_length_penalty": null,
|
23 |
+
"finetuning_task": null,
|
24 |
+
"forced_bos_token_id": null,
|
25 |
+
"forced_eos_token_id": null,
|
26 |
+
"hidden_act": "gelu",
|
27 |
+
"hidden_size": 1280,
|
28 |
+
"id2label": {
|
29 |
+
"0": "LABEL_0",
|
30 |
+
"1": "LABEL_1"
|
31 |
+
},
|
32 |
+
"initializer_factor": 1.0,
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"intermediate_size": 5120,
|
35 |
+
"is_decoder": false,
|
36 |
+
"is_encoder_decoder": false,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-05,
|
42 |
+
"length_penalty": 1.0,
|
43 |
+
"max_length": 20,
|
44 |
+
"max_position_embeddings": 77,
|
45 |
+
"min_length": 0,
|
46 |
+
"model_type": "clip_text_model",
|
47 |
+
"no_repeat_ngram_size": 0,
|
48 |
+
"num_attention_heads": 20,
|
49 |
+
"num_beam_groups": 1,
|
50 |
+
"num_beams": 1,
|
51 |
+
"num_hidden_layers": 32,
|
52 |
+
"num_return_sequences": 1,
|
53 |
+
"output_attentions": false,
|
54 |
+
"output_hidden_states": false,
|
55 |
+
"output_scores": false,
|
56 |
+
"pad_token_id": 1,
|
57 |
+
"prefix": null,
|
58 |
+
"problem_type": null,
|
59 |
+
"pruned_heads": {},
|
60 |
+
"remove_invalid_values": false,
|
61 |
+
"repetition_penalty": 1.0,
|
62 |
+
"return_dict": true,
|
63 |
+
"return_dict_in_generate": false,
|
64 |
+
"sep_token_id": null,
|
65 |
+
"suppress_tokens": null,
|
66 |
+
"task_specific_params": null,
|
67 |
+
"temperature": 1.0,
|
68 |
+
"tf_legacy_loss": false,
|
69 |
+
"tie_encoder_decoder": false,
|
70 |
+
"tie_word_embeddings": true,
|
71 |
+
"tokenizer_class": null,
|
72 |
+
"top_k": 50,
|
73 |
+
"top_p": 1.0,
|
74 |
+
"torch_dtype": null,
|
75 |
+
"torchscript": false,
|
76 |
+
"transformers_version": "4.24.0",
|
77 |
+
"typical_p": 1.0,
|
78 |
+
"use_bfloat16": false,
|
79 |
+
"vocab_size": 49408,
|
80 |
+
"projection_dim": 1280
|
81 |
+
}
|