Jingya's picture
Jingya HF staff
Upload text_encoder_2/config.json with huggingface_hub
390a0de
{
"_commit_hash": "462165984030d82259a11f4367a4eed129e94a7b",
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/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.11.0.34+c5231f848",
"disable_fallback": false,
"disable_fast_relayout": false,
"dynamic_batch_size": false,
"input_names": [
"input_ids"
],
"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.32.0.dev0",
"vocab_size": 49408
}