mirror of
https://github.com/facebookresearch/blt.git
synced 2025-09-15 08:39:44 +00:00
parent
d286bbe415
commit
3dd5e9fb62
3 changed files with 6 additions and 6 deletions
|
@ -4,11 +4,10 @@ import typer
|
|||
from huggingface_hub import snapshot_download
|
||||
|
||||
|
||||
def main(models: list[str] = ["blt-1b", "blt-7b"]):
|
||||
def main():
|
||||
if not os.path.exists("hf-weights"):
|
||||
os.makedirs("hf-weights")
|
||||
for model in models:
|
||||
snapshot_download(f"facebook/{model}", local_dir=f"hf-weights/{model}")
|
||||
snapshot_download(f"facebook/blt", local_dir=f"hf-weights")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue