add OCR markdown of the PDF corpus as parquet shards

#1
markdown/README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # markdown/
2
+
3
+ Full text of the PDFs under `pdfs/`, produced with `deepseek-ai/DeepSeek-OCR-2`
4
+ (vLLM 0.28.0, one page per request, gundam crop mode).
5
+
6
+ One row per paper:
7
+
8
+ | column | meaning |
9
+ | --- | --- |
10
+ | `id` | stable id derived from the PDF path |
11
+ | `venue`, `year` | parsed from `pdfs/<venue>/<year>/` |
12
+ | `pdf_path` | path of the source PDF inside this repo |
13
+ | `pages` | pages sent to the model |
14
+ | `markdown` | the text, with `<\|ref\|>` unwrapped and `<\|det\|>` boxes dropped |
15
+ | `n_chars` | length of `markdown` |
16
+ | `degenerate_pages` | pages the OCR pass flagged as looping or as a collapsed table |
17
+ | `ocr_seconds` | wall time for the paper |
18
+
19
+ ```python
20
+ from datasets import load_dataset
21
+ ds = load_dataset("JonesLin/writing-model-papers-2016-2021",
22
+ data_files="markdown/*.parquet", split="train")
23
+ ```
24
+
25
+ Quality: on an 80-paper sample, 52% were clean, 32% had mild repetition and 17% had a
26
+ badly degenerated page. Extracting the same PDFs with PyMuPDF puts 8% in that last bucket,
27
+ so part of the gap is repetition that is genuinely in the papers. Filter on
28
+ `degenerate_pages == 0` for the strictest subset.
markdown/train-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d8cb2706df9a9ea750ab94aff2e27eff57283082ce347a652df6447f973d7f9
3
+ size 67048114
markdown/train-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858182a39f34c6cbc3f467e6634c7243c9c31e32e7b1985044ff22fe6314d133
3
+ size 67186558
markdown/train-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5fb215053f738d2b60d30984b05e06c05a63b6b12698a6ab635ac2f08e0e6b0
3
+ size 67473318
markdown/train-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9ec62ff77f53c37e4bf935c888ea92e042ef1f57641e718bcad28971ea5180e
3
+ size 67601648
markdown/train-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a522f96133c88f0b7c5dd20e978fe8892f2303f627a98941a90c6d93209a5b6
3
+ size 68941821
markdown/train-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2b57f66d5741016a69360fe4eadeb669067f7e9db7b3786add4105837a90f50
3
+ size 68670078
markdown/train-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd703f81387fa0d36e062070ef450233a9e89f1270cd98217ebab400c6651741
3
+ size 67490184
markdown/train-00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd52c10a7e55d3050fb3d7749c4d46cfe724349da0f249e25982c9142b04b1d5
3
+ size 67384096
markdown/train-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e30d9b3a528c0fcf11dd2b747f360135347d7cb14a6a1c4326e18b8d9923fad3
3
+ size 67746319
markdown/train-00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84b0b817f828b9727c27b945d5a160284903da30f75f3cd01140a893280450db
3
+ size 9922508