frankleeeee
commited on
Commit
•
df479cc
1
Parent(s):
9784497
Upload STDiT
Browse files- config.json +1 -1
- configuration_stdit.py +2 -1
config.json
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
],
|
24 |
"mlp_ratio": 4.0,
|
25 |
"model_max_length": 120,
|
26 |
-
"model_type": "
|
27 |
"no_temporal_pos_emb": false,
|
28 |
"num_heads": 16,
|
29 |
"patch_size": [
|
|
|
23 |
],
|
24 |
"mlp_ratio": 4.0,
|
25 |
"model_max_length": 120,
|
26 |
+
"model_type": "stdit",
|
27 |
"no_temporal_pos_emb": false,
|
28 |
"num_heads": 16,
|
29 |
"patch_size": [
|
configuration_stdit.py
CHANGED
@@ -4,7 +4,8 @@ from typing import List
|
|
4 |
|
5 |
|
6 |
class STDiTConfig(PretrainedConfig):
|
7 |
-
|
|
|
8 |
|
9 |
def __init__(
|
10 |
self,
|
|
|
4 |
|
5 |
|
6 |
class STDiTConfig(PretrainedConfig):
|
7 |
+
|
8 |
+
model_type = "stdit"
|
9 |
|
10 |
def __init__(
|
11 |
self,
|