add diffusers weights (#4)

- add diffusers weights (03216e1d673120f9467575e1e84ff1ff21f2c29f)

Co-authored-by: YiYi Xu <YiYiXu@users.noreply.huggingface.co>
This commit is contained in:
ai-modelscope
2024-12-06 02:19:30 +08:00
parent a83a3c1d64
commit b54741692d
29 changed files with 230621 additions and 62 deletions

24
text_encoder/config.json Normal file
View File

@ -0,0 +1,24 @@
{
"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",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"projection_dim": 768,
"torch_dtype": "bfloat16",
"transformers_version": "4.45.2",
"vocab_size": 49408
}

BIN
text_encoder/model.safetensors (Stored with Git LFS) Normal file

Binary file not shown.