Feature Extraction
Transformers
Safetensors
diva
custom_code
Helw150 commited on
Commit
fcf1cf7
1 Parent(s): cd5984d

Need a Filename

Browse files
Files changed (1) hide show
  1. 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
  )