avewright commited on
Commit
7d49431
·
verified ·
1 Parent(s): eac00bd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +50 -39
README.md CHANGED
@@ -1,39 +1,50 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: title
7
- dtype: string
8
- - name: problem
9
- dtype: string
10
- - name: solution
11
- dtype: string
12
- - name: problem_wikitext
13
- dtype: string
14
- - name: solution_wikitext
15
- dtype: string
16
- - name: proof_title
17
- dtype: string
18
- - name: theorem_url
19
- dtype: string
20
- - name: proof_url
21
- dtype: string
22
- - name: categories
23
- list: string
24
- - name: theorem_references
25
- list: string
26
- - name: proof_references
27
- list: string
28
- splits:
29
- - name: train
30
- num_bytes: 76001313
31
- num_examples: 23640
32
- download_size: 23035961
33
- dataset_size: 76001313
34
- configs:
35
- - config_name: default
36
- data_files:
37
- - split: train
38
- path: data/train-*
39
- ---
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-3.0
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - mathematics
9
+ - proof
10
+ - theorem-proving
11
+ size_categories:
12
+ - 10K<n<100K
13
+ ---
14
+
15
+ # ProofWiki Math Problems and Solutions
16
+
17
+ This dataset pairs theorem statements (**problems**) with their formal proofs (**solutions**) extracted from [ProofWiki](https://proofwiki.org/wiki/Main_Page).
18
+
19
+ ## Fields
20
+
21
+ | Column | Description |
22
+ | --- | --- |
23
+ | `id` | Stable row identifier |
24
+ | `title` | Theorem title |
25
+ | `problem` | Theorem statement with wikilinks resolved |
26
+ | `solution` | Proof text with wikilinks resolved |
27
+ | `problem_wikitext` | Raw MediaWiki wikitext for the theorem |
28
+ | `solution_wikitext` | Raw MediaWiki wikitext for the proof |
29
+ | `proof_title` | Proof page title |
30
+ | `theorem_url` | Source URL for the theorem |
31
+ | `proof_url` | Source URL for the proof |
32
+ | `categories` | ProofWiki categories |
33
+ | `theorem_references` | Linked pages referenced in the theorem |
34
+ | `proof_references` | Linked pages referenced in the proof |
35
+
36
+ ## Source and license
37
+
38
+ - Source dump: `https://proofwiki.org/xmldump/latest.xml.gz`
39
+ - ProofWiki content is licensed under **CC BY-SA 3.0**
40
+ - Current build size: **23,640** theorem-proof pairs
41
+
42
+ ## Usage
43
+
44
+ ```python
45
+ from datasets import load_from_disk
46
+
47
+ ds = load_from_disk("data/proofwiki_hf")
48
+ print(ds["train"][0]["problem"])
49
+ print(ds["train"][0]["solution"])
50
+ ```