Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HuggingFace: use stable download URLs #1916

Merged

Conversation

adamjstewart
Copy link
Collaborator

See https://discuss.huggingface.co/t/permalink-for-repositories/42691 for motivation.

Replacing huggingface.co with hf.co is entirely optional, just wanted to make the URL a little shorter.

Tested the model downloads with:

> pytest -m slow tests/models/

Didn't test the dataset downloads.

@adamjstewart adamjstewart added this to the 0.5.2 milestone Feb 28, 2024
@github-actions github-actions bot added datasets Geospatial or benchmark datasets models Models and pretrained weights labels Feb 28, 2024
@isaaccorley isaaccorley merged commit d9c94a2 into microsoft:main Mar 2, 2024
24 checks passed
@adamjstewart adamjstewart deleted the datasets-models/stable-hf-download branch March 2, 2024 21:04
@isaaccorley
Copy link
Collaborator

ChaBuD and models/swin.py didn't make it into 0.5.2 because they didn't exist yet. Will need to make sure these are added in 0.6.0

@adamjstewart
Copy link
Collaborator Author

It's merged into main, which will by definition be in 0.6.0. Releases/v0.5 is frozen in time, it is no longer in the main branch. See https://nvie.com/posts/a-successful-git-branching-model/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets models Models and pretrained weights
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants