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

How to work with local data #158

Open
pretidav opened this issue Apr 18, 2024 · 1 comment
Open

How to work with local data #158

pretidav opened this issue Apr 18, 2024 · 1 comment

Comments

@pretidav
Copy link

I downloaded a dataset from hf. I want to load it locally, but it still tries to download it from hf and place it into the cache.
How can I use the local one I already downloaded?

Thank you.

@dmilcevski
Copy link
Contributor

Here, the script first tries to load the data from HF, if it doesn't succeed, then it falls back to loading it from disk. All you need to do is to adapt your recipe like this:

dataset_mixer:
  /path/to/your/data/: 1.0

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

No branches or pull requests

2 participants