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

Follow HF_ENDPOINT environment variable #2905

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

SirlyDreamer
Copy link
Contributor

What does this PR do?

This Pull Request enhances the functionality of built-in datasets by aligning them with the HF_ENDPOINT environment variable. This adjustment facilitates more efficient dataset acquisition from https://huggingface.co/, particularly in settings where network connectivity is limited.

eg. When set HF_ENDPOINT to mirror "https://hf-mirror.com", built-in datasets will be downloaded through mirror along with models.

Before submitting

@hiyouga hiyouga self-requested a review March 20, 2024 10:06
@hiyouga
Copy link
Owner

hiyouga commented Mar 20, 2024

LGTM!

@hiyouga hiyouga merged commit b2dfbd7 into hiyouga:main Mar 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants