casey-martin commited on
Commit
7842eff
·
verified ·
1 Parent(s): 294df80

Create README.md

Browse files

# Math Notebooks
This repository contains mathematically informative ipython notebooks that were collated from OpenWebMath, RedPajama, and the Algebraic Stack in the [AutoMathText](https://huggingface.co/datasets/math-ai/AutoMathText) effort. Zhang et. al. used Qwen 72B to score text with the following prompt:
```
<system>
You are ChatGPT, equipped with extensive expertise in mathematics and coding, and skilled
in complex reasoning and problem-solving. In the following task, I will present a text excerpt
from a website. Your role is to evaluate whether this text exhibits mathematical intelligence
and if it is suitable for educational purposes in mathematics. Please respond with only YES
or NO
</system>
User: {
“url”: “{url}”,
“text”: “{text}”
}
1. Does the text exhibit elements of mathematical intelligence? Respond with YES or NO
2. Is the text suitable for educational purposes for YOURSELF in the field of mathematics? Respond with YES or NO
```

The responses to these questions were each scored with the function:
$$LM–Score(\cdot) = \frac{exp(logit('YES'))}{exp(logit('YES')) + exp(logit('NO'))}$$

These scores are found in the `meta.lm_q1_score` and `meta.lm_q2_score` columns. A total score (`meta.lm_q1q2_score`) is achieved by taking the product of the two scores.
$$ LM–Score(Q_1, Q_2) = LM–Score(Q_1) \cdot LM–Score(Q_2) $$

Files changed (1) hide show
  1. README.md +0 -103
README.md CHANGED
@@ -1,103 +0,0 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: meta.hexsha
7
- dtype: string
8
- - name: meta.size
9
- dtype: int64
10
- - name: meta.ext
11
- dtype: string
12
- - name: meta.lang
13
- dtype: string
14
- - name: meta.max_stars_repo_path
15
- dtype: string
16
- - name: meta.max_stars_repo_name
17
- dtype: string
18
- - name: meta.max_stars_repo_head_hexsha
19
- dtype: string
20
- - name: meta.max_stars_repo_licenses
21
- sequence: string
22
- - name: meta.max_stars_count
23
- dtype: int64
24
- - name: meta.max_stars_repo_stars_event_min_datetime
25
- dtype: string
26
- - name: meta.max_stars_repo_stars_event_max_datetime
27
- dtype: string
28
- - name: meta.max_issues_repo_path
29
- dtype: string
30
- - name: meta.max_issues_repo_name
31
- dtype: string
32
- - name: meta.max_issues_repo_head_hexsha
33
- dtype: string
34
- - name: meta.max_issues_repo_licenses
35
- sequence: string
36
- - name: meta.max_issues_count
37
- dtype: int64
38
- - name: meta.max_issues_repo_issues_event_min_datetime
39
- dtype: string
40
- - name: meta.max_issues_repo_issues_event_max_datetime
41
- dtype: string
42
- - name: meta.max_forks_repo_path
43
- dtype: string
44
- - name: meta.max_forks_repo_name
45
- dtype: string
46
- - name: meta.max_forks_repo_head_hexsha
47
- dtype: string
48
- - name: meta.max_forks_repo_licenses
49
- sequence: string
50
- - name: meta.max_forks_count
51
- dtype: int64
52
- - name: meta.max_forks_repo_forks_event_min_datetime
53
- dtype: string
54
- - name: meta.max_forks_repo_forks_event_max_datetime
55
- dtype: string
56
- - name: meta.avg_line_length
57
- dtype: float64
58
- - name: meta.max_line_length
59
- dtype: int64
60
- - name: meta.alphanum_fraction
61
- dtype: float64
62
- - name: meta.converted
63
- dtype: bool
64
- - name: meta.num_tokens
65
- dtype: int64
66
- - name: meta.lm_name
67
- dtype: string
68
- - name: meta.lm_label
69
- dtype: string
70
- - name: meta.lm_q1_score
71
- dtype: float64
72
- - name: meta.lm_q2_score
73
- dtype: float64
74
- - name: meta.lm_q1q2_score
75
- dtype: float64
76
- - name: text_lang
77
- dtype: string
78
- - name: text_lang_conf
79
- dtype: float64
80
- - name: label
81
- dtype: float64
82
- splits:
83
- - name: train
84
- num_bytes: 204522361.9586146
85
- num_examples: 11388
86
- - name: validation
87
- num_bytes: 25574274.976208918
88
- num_examples: 1424
89
- - name: test
90
- num_bytes: 25574274.976208918
91
- num_examples: 1424
92
- download_size: 108417866
93
- dataset_size: 255670911.91103244
94
- configs:
95
- - config_name: default
96
- data_files:
97
- - split: train
98
- path: data/train-*
99
- - split: validation
100
- path: data/validation-*
101
- - split: test
102
- path: data/test-*
103
- ---