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

set languages=['en'], but contains results outside of English #122

Open
HT-NEKO opened this issue Dec 17, 2024 · 1 comment
Open

set languages=['en'], but contains results outside of English #122

HT-NEKO opened this issue Dec 17, 2024 · 1 comment

Comments

@HT-NEKO
Copy link

HT-NEKO commented Dec 17, 2024

Thank you for your work, it has been very helpful, but I have encountered some issues:

my code:

ds = load_dataset(
    "/data/public/models/RedPajama-Data-V2/RedPajama-Data-V2/RedPajama-Data-V2.py",
    partition="head_middle",
    languages=["en"],
    name="sample",)

but ds contains results outside of English:
image
Thank you for your reply!

@HT-NEKO HT-NEKO closed this as completed Dec 17, 2024
@HT-NEKO HT-NEKO reopened this Dec 17, 2024
@HT-NEKO HT-NEKO changed the title 设置languages=['en'] set languages=['en'], but contains results outside of English Dec 17, 2024
@mauriceweber
Copy link
Collaborator

Hi @HT-NEKO , the sample subset of the dataset cannot be split by languages as it is intended only for a quick glance at the data. If you want a smaller subset of the dataset you can choose any of sample-10B, sample-100B or sample-1T (corresponding to 10B, 100B, 1T many tokens). These support splitting by language.

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