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

Error Running Code: FileNotFoundError for AGNews Dataset #4

Open
nsaadati opened this issue Jul 24, 2024 · 0 comments
Open

Error Running Code: FileNotFoundError for AGNews Dataset #4

nsaadati opened this issue Jul 24, 2024 · 0 comments

Comments

@nsaadati
Copy link

Hi,

I encountered an error while trying to run your code. Could you please help me fix it? When I run the reproduce shell, I still get the same error for all the other datasets as well:

python ./src/gen_dataset.py --dataset agnews_mixed
Traceback (most recent call last):
File "/work/mech-ai-scratch/nsaadati/projects/dlora/personalized-collaborative-llms/./src/gen_dataset.py", line 14, in
_ = get_dataset(parser.parse_args())
File "/work/mech-ai-scratch/nsaadati/projects/dlora/personalized-collaborative-llms/src/data/utils.py", line 29, in get_dataset
return get_agnews_data("mixed")
File "/work/mech-ai-scratch/nsaadati/projects/dlora/personalized-collaborative-llms/src/data/agnews.py", line 135, in get_agnews_data
train_data.append(np.memmap(os.path.join(DATA_PATH, f'train_{i}.bin'), dtype=np.uint16, mode='r'))
File "/home/nsaadati/.local/lib/python3.10/site-packages/numpy/core/memmap.py", line 229, in new
f_ctx = open(os_fspath(filename), ('r' if mode == 'c' else mode)+'b')
FileNotFoundError: [Errno 2] No such file or directory: '/work/mech-ai-scratch/nsaadati/projects/dlora/personalized-collaborative-llms/src/data/datasets/agnews/mixed/train_0.bin'

Thank you,

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
@nsaadati and others