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

gpt2模型在清洗数据报错没有megatron module #23

Open
Michael-1022 opened this issue Jul 23, 2024 · 0 comments
Open

gpt2模型在清洗数据报错没有megatron module #23

Michael-1022 opened this issue Jul 23, 2024 · 0 comments

Comments

@Michael-1022
Copy link

root@gpu03:/Megatron-LM/tools/openwebtext# python3 cleanup_dataset.py /workspace/data/merged_output.json /workspace/data/merged_cleand.json
Traceback (most recent call last):
File "cleanup_dataset.py", line 12, in
from tokenizer import Tokenizer
File "/root/Megatron-LM/tools/openwebtext/tokenizer.py", line 13, in
from megatron.core.datasets.megatron_tokenizer import MegatronTokenizer
ModuleNotFoundError: No module named 'megatron'
root@gpu03:
/Megatron-LM/tools/openwebtext#

请问这个要怎么解决呢?

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

1 participant