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

more details to the documentation of data preprocessing #94

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mivg
Copy link
Collaborator

@Mivg Mivg commented Nov 17, 2024

No description provided.

@Mivg Mivg self-assigned this Nov 17, 2024
@@ -98,11 +98,11 @@ To get started with DCLM, follow these steps:
We recommend the use of Python 3.10 with DCLM.

## Selecting Raw Sources
If you are creating a new source:
If you are creating a new source (for example, Wikipedia, GitHub, etc.):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe creating -> registering?

- Key names should be consistent with those in [here](baselines/core/constants.py).
- Create a reference JSON in [exp_data/datasets/raw_sources](exp_data/datasets/raw_sources).
- Ensure your data is stored in JSONL format (ideally compressed with zstandard), where each line correspond to single page.
- Key names in these JSONL should be consistent with those in [here](baselines/core/constants.py).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can explain these in bit more detail here?

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

Successfully merging this pull request may close these issues.

3 participants