mirror of
https://github.com/facebookresearch/blt.git
synced 2025-09-01 10:09:06 +00:00
14 lines
272 B
Python
14 lines
272 B
Python
import os
|
|
|
|
import typer
|
|
from huggingface_hub import snapshot_download
|
|
|
|
|
|
def main():
|
|
if not os.path.exists("hf-weights"):
|
|
os.makedirs("hf-weights")
|
|
snapshot_download(f"facebook/blt", local_dir=f"hf-weights")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
typer.run(main)
|