Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +57 -0
text_encoder/config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Jingya--pixart_sigma_pipe_xl_2_512_ms/snapshots/ee9e1f15aa5e778132655fab637943a6bc71a27c/text_encoder",
|
4 |
+
"architectures": [
|
5 |
+
"T5EncoderModel"
|
6 |
+
],
|
7 |
+
"classifier_dropout": 0.0,
|
8 |
+
"d_ff": 10240,
|
9 |
+
"d_kv": 64,
|
10 |
+
"d_model": 4096,
|
11 |
+
"decoder_start_token_id": 0,
|
12 |
+
"dense_act_fn": "gelu_new",
|
13 |
+
"dropout_rate": 0.1,
|
14 |
+
"eos_token_id": 1,
|
15 |
+
"feed_forward_proj": "gated-gelu",
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": true,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"model_type": "t5",
|
21 |
+
"neuron": {
|
22 |
+
"auto_cast": "none",
|
23 |
+
"auto_cast_type": "bf16",
|
24 |
+
"compiler_type": "neuronx-cc",
|
25 |
+
"compiler_version": "2.16.372.0+4a9b2326",
|
26 |
+
"dynamic_batch_size": false,
|
27 |
+
"inline_weights_to_neff": true,
|
28 |
+
"input_names": [
|
29 |
+
"input_ids",
|
30 |
+
"attention_mask"
|
31 |
+
],
|
32 |
+
"model_type": "t5",
|
33 |
+
"optlevel": "2",
|
34 |
+
"output_attentions": false,
|
35 |
+
"output_hidden_states": false,
|
36 |
+
"output_names": [
|
37 |
+
"last_hidden_state"
|
38 |
+
],
|
39 |
+
"static_batch_size": 1,
|
40 |
+
"static_sequence_length": 120,
|
41 |
+
"tensor_parallel_size": 1
|
42 |
+
},
|
43 |
+
"num_decoder_layers": 24,
|
44 |
+
"num_heads": 64,
|
45 |
+
"num_layers": 24,
|
46 |
+
"output_past": true,
|
47 |
+
"pad_token_id": 0,
|
48 |
+
"relative_attention_max_distance": 128,
|
49 |
+
"relative_attention_num_buckets": 32,
|
50 |
+
"task": "feature-extraction",
|
51 |
+
"tie_word_embeddings": false,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"torchscript": true,
|
54 |
+
"transformers_version": "4.49.0",
|
55 |
+
"use_cache": true,
|
56 |
+
"vocab_size": 32128
|
57 |
+
}
|