llm-foundry
llm-foundry copied to clipboard
The error of test the Dataloader
when I run "python ../../llmfoundry/data/text_data.py --local_path ./my-copy-c4 --split val_small", I get the error
(mpt-env) root@autodl-container-645911b4fa-161dd8b6:~/autodl-tmp/llm-foundry/scripts/train# python ../../llmfoundry/data/text_data.py --local_path ./my-copy-c4 --split val_small
Traceback (most recent call last):
File "../../llmfoundry/data/text_data.py", line 308, in
I ran into this as well. You can fix it by just getting rid of the typing hints. You'll probably run into more bugs after that though. Let me know how that goes.
I'll take a look at this. Thanks for bringing it to our attention.
Hello, we pushed a fix in #175 . Closing for now, please re-open if you run into the same issue again!