Open das-projects opened 7 months ago
It usually a bad practice for repo creator to make multiple copies of the same file just different serialization format, like .bin and .safetensor.
usually, hf transformer perfers .safetensor format becuase loading .bin could lead to executing harmful code if .bin is hacked.
The hf transformer provides python inferface for downloading specific formats from hf repo, but I don't think this project use that interface
snapshot_download(repo_id="", ignore_patterns=["*. safetensors"])
will do
The scripts/download.py downloads the whole hf repo including the .safetensors files, even though it seems only the .bin files are required.