File size: 284 Bytes
a90c691 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="google/pegasus-xsum", filename="config.json")
print("test")
hf_hub_download(
repo_id="google/pegasus-xsum",
filename="config.json",
revision="4d33b01d79672f27f001f6abade33f22d993b151"
)
print("123") |