vijayakumaran92's picture
Add files using upload-large-folder tool
e7273b8 verified
from huggingface_hub import snapshot_download, hf_hub_download
# 1a) Download the **entire metadata** tree for T5-XXL
snapshot_download(
repo_id="google/t5-xxl-lm-adapt",
repo_type="model",
local_dir="Reference_models/t5_xxl_meta",
allow_patterns=["config.json", "tokenizer_config.json", "spiece.model"]
)
# 1b) Download the **entire metadata** tree for CLIP-L
snapshot_download(
repo_id="openai/clip-vit-large-patch14",
repo_type="model",
local_dir="Reference_models/clip_l_meta",
allow_patterns=["config.json", "tokenizer_config.json", "vocab.json", "merges.txt"]
)