krypticmouse commited on
Commit
4c6c554
·
verified ·
1 Parent(s): fd109f6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -21,14 +21,14 @@ Markdownified Wikipedia is a large-scale, pre-processed version of the English W
21
 
22
  Our conversion pipeline combines several sophisticated techniques to transform raw Wikipedia HTML into high-quality Markdown:
23
 
24
- 1. **HTML Preprocessing:** We start with the Enterprise HTML dump in DOLMA format, which provides HTML representations of Wikipedia articles with metadata.
25
 
26
  2. **Structural Cleanup**
27
  - Mathematical equations are converted from MathML to LaTeX notation with appropriate delimiters
28
  - Infoboxes are relocated to a dedicated section at the end of each article
29
  - Reference sections and citations are removed to reduce noise and focus on the informative content
30
 
31
- 3. **DOM Simplification:** We employ a [custom-enhanced version of Resiliparse](https://github.com/stanford-crfm/chatnoir-resiliparse) that preserves semantic HTML structure. Rather than flattening to plain text, we retain important elements like headings, paragraphs, lists, and links while removing scripts, tracking code, and boilerplate.
32
 
33
  4. **Markdown Conversion:** Our [custom Markdownify](https://github.com/marin-community/marin/blob/main/marin/markdown/markdown.py#L145-L650) implementation transforms the simplified DOM into clean Markdown with these characteristics:
34
  - Consistent heading format using the ATX style (# Heading)
@@ -64,10 +64,10 @@ for article in ds.take(3):
64
  If you use this dataset in your research, please cite both the original Wikipedia contributors and our work:
65
  ```
66
  @misc{markdownified_wiki_2024,
67
- title = {Markdownified Wikipedia},
68
  author = {The Marin Community},
69
  year = {2024},
70
- url = {https://huggingface.co/datasets/marin-community/markdownified-wiki}
71
  }
72
  ```
73
 
 
21
 
22
  Our conversion pipeline combines several sophisticated techniques to transform raw Wikipedia HTML into high-quality Markdown:
23
 
24
+ 1. **HTML Preprocessing:** We start with the Enterprise HTML dump in Extended DOLMA format, which provides HTML representations of Wikipedia articles with metadata.
25
 
26
  2. **Structural Cleanup**
27
  - Mathematical equations are converted from MathML to LaTeX notation with appropriate delimiters
28
  - Infoboxes are relocated to a dedicated section at the end of each article
29
  - Reference sections and citations are removed to reduce noise and focus on the informative content
30
 
31
+ 3. **DOM Simplification:** We employ a [custom-enhanced version of Resiliparse](https://github.com/stanford-crfm/chatnoir-resiliparse) that preserves semantic HTML structure. Rather than flattening to plain text, we retain important elements like headings, paragraphs, lists while removing scripts, tracking code, and boilerplate.
32
 
33
  4. **Markdown Conversion:** Our [custom Markdownify](https://github.com/marin-community/marin/blob/main/marin/markdown/markdown.py#L145-L650) implementation transforms the simplified DOM into clean Markdown with these characteristics:
34
  - Consistent heading format using the ATX style (# Heading)
 
64
  If you use this dataset in your research, please cite both the original Wikipedia contributors and our work:
65
  ```
66
  @misc{markdownified_wiki_2024,
67
+ title = {Marin Markdownified Wikipedia},
68
  author = {The Marin Community},
69
  year = {2024},
70
+ url = {https://huggingface.co/datasets/marin-community/wikipedia-markdown}
71
  }
72
  ```
73