TDXL / text_encoder /config.json
jburtoft's picture
a2ee0201bf7701e699196a6a787b08a7a1b9d890dec9e0299541689f0b740139
5730505 verified
raw
history blame
1.43 kB
{
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--ThinkDiffusion--ThinkDiffusionXL/snapshots/e31c4693b7f87128fee02fa6b16c4dc2ada13721/text_encoder",
"architectures": [
"CLIPTextModel"
],
"attention_dropout": 0.0,
"bos_token_id": 0,
"dropout": 0.0,
"eos_token_id": 2,
"hidden_act": "quick_gelu",
"hidden_size": 768,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 77,
"model_type": "clip_text_model",
"neuron": {
"auto_cast": "all",
"auto_cast_type": "bf16",
"compiler_type": "neuronx-cc",
"compiler_version": "2.12.54.0+f631c2365",
"disable_fallback": false,
"disable_fast_relayout": false,
"dynamic_batch_size": false,
"input_names": [
"input_ids"
],
"model_type": "clip-text-model",
"optlevel": "2",
"output_attentions": false,
"output_hidden_states": false,
"output_names": [
"last_hidden_state",
"pooler_output",
"hidden_states"
],
"static_batch_size": 1,
"static_num_beams": 1,
"static_sequence_length": 77
},
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_hidden_states": true,
"pad_token_id": 1,
"projection_dim": 768,
"task": "feature-extraction",
"torch_dtype": "float16",
"torchscript": true,
"transformers_version": "4.36.2",
"vocab_size": 49408
}