File size: 1,295 Bytes
69ae377 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
{
"_name_or_path": "../stable-diffusion-xl-lightning/text_encoder_2",
"architectures": [
"CLIPTextModelWithProjection"
],
"attention_dropout": 0.0,
"bos_token_id": 0,
"dropout": 0.0,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_size": 1280,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 5120,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 77,
"model_type": "clip_text_model",
"neuron": {
"auto_cast": "matmul",
"auto_cast_type": "bf16",
"compiler_type": "neuronx-cc",
"compiler_version": "2.14.227.0+2d4f85be",
"dynamic_batch_size": false,
"inline_weights_to_neff": true,
"input_names": [
"input_ids"
],
"model_type": "clip-text-with-projection",
"optlevel": "2",
"output_attentions": false,
"output_hidden_states": false,
"output_names": [
"text_embeds",
"last_hidden_state",
"hidden_states"
],
"static_batch_size": 1,
"static_sequence_length": 77
},
"num_attention_heads": 20,
"num_hidden_layers": 32,
"output_hidden_states": true,
"pad_token_id": 1,
"projection_dim": 1280,
"task": "feature-extraction",
"torch_dtype": "float16",
"torchscript": true,
"transformers_version": "4.41.1",
"vocab_size": 49408
}
|