Helw150
commited on
Commit
•
fcf1cf7
1
Parent(s):
cd5984d
Need a Filename
Browse files- modeling_diva.py +1 -0
modeling_diva.py
CHANGED
@@ -126,6 +126,7 @@ class DiVAModel(PreTrainedModel):
|
|
126 |
|
127 |
hf_hub_download(
|
128 |
repo_id=pretrained_model_name_or_path,
|
|
|
129 |
token=kwargs.get("token", None),
|
130 |
local_dir=os.path.dirname(__file__),
|
131 |
)
|
|
|
126 |
|
127 |
hf_hub_download(
|
128 |
repo_id=pretrained_model_name_or_path,
|
129 |
+
filename="model-00001-of-00004.safetensors",
|
130 |
token=kwargs.get("token", None),
|
131 |
local_dir=os.path.dirname(__file__),
|
132 |
)
|