NecroMOnk commited on
Commit
92e86c0
·
verified ·
1 Parent(s): ce7f1b9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +57 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - math
7
+ - khan-academy
8
+ - latex
9
+ - education
10
+ - chatml
11
+ pretty_name: Khan Math – Calculus
12
+ size_categories:
13
+ - 1M<n<10M
14
+ ---
15
+
16
+ # Khan Math – Calculus
17
+
18
+ Calculus problems from Khan Academy in ChatML format. Covers derivatives, integrals, series, vector calculus, and more.
19
+
20
+ ## Dataset size
21
+
22
+ ~540K problem-answer pairs.
23
+
24
+ ## Format
25
+
26
+ Each record is in ChatML format:
27
+
28
+ ```json
29
+ {
30
+ "messages": [
31
+ {"role": "system", "content": "You are a mathematics tutor. Answer the following math problem."},
32
+ {"role": "user", "content": "Find the curl of..."},
33
+ {"role": "assistant", "content": "$\\left\\{...\\right\\}$"}
34
+ ],
35
+ "topic": "calculus",
36
+ "subtopic": "curl"
37
+ }
38
+ ```
39
+
40
+ ## Fields
41
+
42
+ - `messages`: ChatML conversation with system, user, and assistant turns
43
+ - `topic`: top-level math topic (algebra, calculus, etc.)
44
+ - `subtopic`: specific subtopic derived from folder structure
45
+
46
+ ## Source
47
+
48
+ Problems sourced from [Khan Academy](https://www.khanacademy.org/) via the AMPS dataset.
49
+ Problems and answers are in LaTeX format.
50
+
51
+ ## Usage
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+
56
+ ds = load_dataset("NecroMOnk/khan-math-calculus")
57
+ ```