raphael-gl's picture
raphael-gl HF staff
Upload text_encoder/config.json with huggingface_hub
1b58959
{
"_commit_hash": "5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06",
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1-base/snapshots/5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06/text_encoder",
"architectures": [
"CLIPTextModel"
],
"attention_dropout": 0.0,
"bos_token_id": 0,
"dropout": 0.0,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_size": 1024,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 4096,
"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.9.0.40+07376825f",
"dynamic_batch_size": false,
"input_names": [
"input_ids"
],
"output_names": [
"text_embeds",
"last_hidden_state"
],
"static_batch_size": 1,
"static_sequence_length": 77
},
"num_attention_heads": 16,
"num_hidden_layers": 23,
"pad_token_id": 1,
"projection_dim": 512,
"torch_dtype": "float32",
"torchscript": true,
"transformers_version": "4.25.0.dev0",
"vocab_size": 49408
}