tienkng
commited on
Commit
·
c7da2fe
1
Parent(s):
47a5170
Text Encoder ONNX
Browse files- text_encoder/config.json +26 -0
- text_encoder/model.onnx +3 -0
text_encoder/config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/tiennv/.cache/huggingface/hub/models--SG161222--RealVisXL_V5.0/snapshots/ac93e0dda1f6d448cae19bbfab8c5e720a5e48bc/text_encoder",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModel"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"dropout": 0.0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "quick_gelu",
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"output_hidden_states": true,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"projection_dim": 768,
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.46.0.dev0",
|
25 |
+
"vocab_size": 49408
|
26 |
+
}
|
text_encoder/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbb1594eeedbb910930826af046ae573b957229df355202428af7c9e3f600813
|
3 |
+
size 492587767
|