Skip to content

fix: update Wikipedia dataset config from 20220301.en to 20231101.en#252

Open
kukudan wants to merge 3 commits into
rohitg00:mainfrom
kukudan:fix/update-wikipedia-config
Open

fix: update Wikipedia dataset config from 20220301.en to 20231101.en#252
kukudan wants to merge 3 commits into
rohitg00:mainfrom
kukudan:fix/update-wikipedia-config

Conversation

@kukudan
Copy link
Copy Markdown

@kukudan kukudan commented Jun 4, 2026

Problem

The Wikipedia dataset config 20220301.en referenced in Lesson 09 (Data Management) Step 3 no longer exists. Running the code as written produces:

ValueError: BuilderConfig '20220301.en' not found. Available: ['20231101.ab', '20231101.ace', ..., '20231101.en', ...]

The dataset has been re-exported with the 20231101 snapshot, making the 20220301 config unavailable.

Fix

Updated the config from 20220301.en to 20231101.en in:

  • phases/00-setup-and-tooling/09-data-management/docs/en.md (line 60)

Verification

Tested with datasets==4.8.5 and the updated config loads successfully:

from datasets import load_dataset
dataset = load_dataset("wikimedia/wikipedia", "20231101.en", split="train", streaming=True)
for i, example in enumerate(dataset):
    print(example["title"])
    if i >= 4:
        break

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1ebb016e-65c5-455e-a3d1-f85baeed3db2

📥 Commits

Reviewing files that changed from the base of the PR and between 7f62fab and 992c3a2.

📒 Files selected for processing (1)
  • phases/00-setup-and-tooling/09-data-management/docs/en.md
✅ Files skipped from review due to trivial changes (1)
  • phases/00-setup-and-tooling/09-data-management/docs/en.md

📝 Walkthrough

Walkthrough

Documentation example for streaming large datasets was updated: the Wikimedia Wikipedia snapshot was bumped to 20231101.en, and the .gitignore patterns block was wrapped in a text-typed fenced code block.

Changes

Data Management Documentation Update

Layer / File(s) Summary
Wikipedia dataset snapshot version update
phases/00-setup-and-tooling/09-data-management/docs/en.md
The streaming example dataset identifier was updated from 20220301.en to 20231101.en, preserving split="train" and streaming=True.
.gitignore patterns typed fenced block
phases/00-setup-and-tooling/09-data-management/docs/en.md
The .gitignore patterns section was wrapped in a ```text fenced code block to explicitly type the example. (markup change only)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately summarizes the main change—updating the Wikipedia dataset config from an outdated snapshot to a newer one.
Description check ✅ Passed The description is directly related to the changeset, clearly explaining the problem, fix, and verification for the dataset config update.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
phases/00-setup-and-tooling/09-data-management/docs/en.md (1)

143-151: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add language tag to code block.

As per coding guidelines, every fenced code block needs a language tag. This .gitignore example should have a language tag such as text or gitignore.

📝 Proposed fix
-```
+```text
 *.bin
 *.safetensors
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@phases/00-setup-and-tooling/09-data-management/docs/en.md` around lines 143 -
151, The fenced code block showing ignore patterns (the block starting with ```
and containing lines like *.bin, *.safetensors, *.pt, *.onnx, data/*.parquet,
data/*.csv, models/) needs a language tag; change the opening fence from ``` to
```text or ```gitignore so the block becomes a tagged code block (e.g., ```text)
and preserve the existing lines inside unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@phases/00-setup-and-tooling/09-data-management/docs/en.md`:
- Around line 143-151: The fenced code block showing ignore patterns (the block
starting with ``` and containing lines like *.bin, *.safetensors, *.pt, *.onnx,
data/*.parquet, data/*.csv, models/) needs a language tag; change the opening
fence from ``` to ```text or ```gitignore so the block becomes a tagged code
block (e.g., ```text) and preserve the existing lines inside unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7ff6738b-278b-4fe7-99cb-dd32df562eb3

📥 Commits

Reviewing files that changed from the base of the PR and between 44b9b14 and 7f62fab.

📒 Files selected for processing (1)
  • phases/00-setup-and-tooling/09-data-management/docs/en.md

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.

1 participant