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

magic_prime 可能存在 bug #273

Open
fyj-bit opened this issue Dec 6, 2024 · 1 comment
Open

magic_prime 可能存在 bug #273

fyj-bit opened this issue Dec 6, 2024 · 1 comment

Comments

@fyj-bit
Copy link

fyj-bit commented Dec 6, 2024

有数据长度(比如self.data_size=66833,args.ctx_len=512)不可能同时满足以下magic_prime的三个设定条件:
assert MaybeIsPrime(args.magic_prime)
assert args.magic_prime % 3 == 2
assert args.magic_prime / dataset_slot > 0.9 and args.magic_prime / dataset_slot <= 1

@BlinkDL
Copy link
Owner

BlinkDL commented Dec 11, 2024

是的,这种情况下,你把你的数据复制很多遍,随机打乱,这样数据就长了

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