Download Reference_models/Huggin_Face_Script from vijayakumaran92/Unmodel-Fill-Training-Code: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/vijayakumaran92/Unmodel-Fill-Training-Code/resolve/main/Reference_models/Huggin_Face_Script
- Command line
-
hf download hf://vijayakumaran92/Unmodel-Fill-Training-Code/Reference_models/Huggin_Face_Script
-
curl -L -o Huggin_Face_Script https://huggingface.co/vijayakumaran92/Unmodel-Fill-Training-Code/resolve/main/Reference_models/Huggin_Face_Script
603 Bytes
| 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"] | |
| ) | |