summer commited on
Commit
efb7bca
·
verified ·
1 Parent(s): 2813b44

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -58,3 +58,35 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ math-00000.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ math-00001.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ math-00002.jsonl filter=lfs diff=lfs merge=lfs -text
64
+ math-00003.jsonl filter=lfs diff=lfs merge=lfs -text
65
+ math-00004.jsonl filter=lfs diff=lfs merge=lfs -text
66
+ math-00005.jsonl filter=lfs diff=lfs merge=lfs -text
67
+ math-00006.jsonl filter=lfs diff=lfs merge=lfs -text
68
+ math-00007.jsonl filter=lfs diff=lfs merge=lfs -text
69
+ math-00008.jsonl filter=lfs diff=lfs merge=lfs -text
70
+ math-00009.jsonl filter=lfs diff=lfs merge=lfs -text
71
+ math-00010.jsonl filter=lfs diff=lfs merge=lfs -text
72
+ math-00011.jsonl filter=lfs diff=lfs merge=lfs -text
73
+ math-00012.jsonl filter=lfs diff=lfs merge=lfs -text
74
+ math-00013.jsonl filter=lfs diff=lfs merge=lfs -text
75
+ math-00014.jsonl filter=lfs diff=lfs merge=lfs -text
76
+ math-00015.jsonl filter=lfs diff=lfs merge=lfs -text
77
+ math-00016.jsonl filter=lfs diff=lfs merge=lfs -text
78
+ math-00017.jsonl filter=lfs diff=lfs merge=lfs -text
79
+ math-00018.jsonl filter=lfs diff=lfs merge=lfs -text
80
+ math-00019.jsonl filter=lfs diff=lfs merge=lfs -text
81
+ math-00020.jsonl filter=lfs diff=lfs merge=lfs -text
82
+ math-00021.jsonl filter=lfs diff=lfs merge=lfs -text
83
+ math-00022.jsonl filter=lfs diff=lfs merge=lfs -text
84
+ math-00023.jsonl filter=lfs diff=lfs merge=lfs -text
85
+ math-00024.jsonl filter=lfs diff=lfs merge=lfs -text
86
+ math-00025.jsonl filter=lfs diff=lfs merge=lfs -text
87
+ math-00026.jsonl filter=lfs diff=lfs merge=lfs -text
88
+ math-00027.jsonl filter=lfs diff=lfs merge=lfs -text
89
+ math-00028.jsonl filter=lfs diff=lfs merge=lfs -text
90
+ math-00029.jsonl filter=lfs diff=lfs merge=lfs -text
91
+ math-00030.jsonl filter=lfs diff=lfs merge=lfs -text
92
+ math-00031.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - ja
5
+ - en
6
+ tags:
7
+ - mathematics
8
+ - synthetic
9
+ - japanese
10
+ - retrieval
11
+ task_categories:
12
+ - question-answering
13
+ pretty_name: LongBook Math 1M (JA synthetic)
14
+ size_categories:
15
+ - 100K<n<1M
16
+ ---
17
+
18
+ # LongBook Math 1M (Japanese synthetic mathematics dataset)
19
+
20
+ 1,000,000 deterministic synthetic Japanese mathematics documents for retrieval evaluation
21
+ and generic-model RAG, built for [LongBook](https://github.com/Summer110622/LongBook).
22
+
23
+ - Format: JSONL, one document per line: `{id, namespace, text, metadata{domain, difficulty, lang, kind, index}}`
24
+ - `id` = `math-{domain}-{index:07d}`, unique and sortable.
25
+ - `text` structure (Japanese): 【分野】/【問題 id】/【解法】/【答え】/【キーワード】/【確認】
26
+ - Answers are **computed in Python by the generator, not hallucinated**.
27
+ - 8 domains × 3 difficulties: `arithmetic / algebra / calculus / linear_algebra / probability / geometry / number_theory / logic_sets`
28
+ - Generator: `dataset/build_math_dataset.py` (`--seed 42`), FTS5 ingest via `dataset/bulk_ingest_math_dataset.py`.
29
+ - Reading guide for sub-agents: `dataset/MATH_SUBAGENT.md` (model-agnostic, default `Qwen/Qwen3.5-9B`).
30
+
31
+ ## Usage (datasets)
32
+
33
+ ```python
34
+ from datasets import load_dataset
35
+ ds = load_dataset("summerMC/LongBook-math-1M", split="train")
36
+ print(ds[0])
37
+ ```
38
+
39
+ ## Usage (LongBook retrieval)
40
+
41
+ ```bash
42
+ python3 dataset/ingest_math_dataset.py --input <downloaded dir> --namespace math --db ./data/longbook.sqlite3
43
+ curl http://127.0.0.1:30000/v1/longbook/search \
44
+ -H 'Content-Type: application/json' \
45
+ -d '{"query":"二次方程式 因数分解","namespace":"math","top_k":5}'
46
+ ```
manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "count": 1000000,
3
+ "start": 0,
4
+ "shards": 32,
5
+ "seed": 42,
6
+ "total_chars_approx": 429129566,
7
+ "domains": [
8
+ "arithmetic",
9
+ "algebra",
10
+ "calculus",
11
+ "linear_algebra",
12
+ "probability",
13
+ "geometry",
14
+ "number_theory",
15
+ "logic_sets"
16
+ ],
17
+ "format": "jsonl(id,namespace,text,metadata)"
18
+ }
math-00000.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ded092562744868f6f3f621e771bc6ab0d681c54e547ac0e909ed23e11e4d11b
3
+ size 18856577
math-00001.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd99a30a715bb8cb294bfa1a08a8907e0d947ba74edb0b52634e7a259ca94c91
3
+ size 20067737
math-00002.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e3a69adc5807321b6ad1e2e4e8972bdf857544c2fecb5e79bf2abd0b281f06a
3
+ size 18797996
math-00003.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5a66a247a400829f5fc5157155490efebad246c495fe44260dc71fad75bca35
3
+ size 20536135
math-00004.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c47afe606f0e0e4cb728c1511fc09d9f9be98816dca24f7ca144a947e41732
3
+ size 19381718
math-00005.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:208568895b6d4b1a8799e8d4b6e011800196cd915b08e7c8890a9673db4c7ce8
3
+ size 19381449
math-00006.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:492e602e8f6d7259a268ec531f0845bda453456d9685cb1c9ef4b008374ce893
3
+ size 19068986
math-00007.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59bb87ef838827a2221dcd962c8bb18740b67d19e3833a8a041681963e010ef4
3
+ size 20934517
math-00008.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0e4ac6095c9252a8cc59be115aa4081368eee4c448f341ac3061861d30c36e7
3
+ size 18859211
math-00009.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d9f138d3156fd252e57138825859066a04bdeb929f8043bb68b27313c8ffa3f
3
+ size 20082395
math-00010.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b21d774a376352aac76dcf1ba8ed8e9e498195405563a0d8e6ff54f72ffa5e6
3
+ size 18800939
math-00011.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce9389a6e5ebc332e0424408845c1454934613d22107a34719cd592e4f8e1a1a
3
+ size 20533081
math-00012.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b7b5fafe3bc54c4af956f323f5a64d85b8de15876ee68d4d97989680c40b3cc
3
+ size 19414500
math-00013.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32e1829fbb4a70543ed9c46adfb9646dc24f7d09402e593956eb8660695ef226
3
+ size 19401598
math-00014.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6f34d2faa8b73eff4f72b45aaf860e67fb68f3c4d93738729bb8cd64fecd235
3
+ size 19073311
math-00015.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a78f3b92c53efeb58064e9e8681721c036acf787ad59ba7342a4ebb76cfb46f
3
+ size 20933395
math-00016.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bacf3cd2be4199221fbf098ff5e83b0022ce6ca972dd4954d1293a1489b28705
3
+ size 18860574
math-00017.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10667f21c09005f8767684bbbc6793a8cb4317307c4b0610401cb706a95ab9e6
3
+ size 20073809
math-00018.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f6270a593b6c0f30a4636503307ab35250149fd2482f40303f1834f47eb1d1e
3
+ size 18799250
math-00019.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ade160d07c9f26153febd92da0de00b80ed26dba1c8c6e7ef87d47441321d456
3
+ size 20534611
math-00020.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6724895db8a42314512366e14da678b64e795b308aa23d1462de2d3536f00dd
3
+ size 19395048
math-00021.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77d179dcfae84c86dfe8180ca42d9a3a134a59cf296049bbd5b75f033e678e95
3
+ size 19381762
math-00022.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b173d560be9691f02b45b050c13d880ca70691808e9c08b223f148ea73a6a461
3
+ size 19065612
math-00023.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2314ec9d088289e033cfd3d8876d67e34512a1de3963a77397b6f65145809cdc
3
+ size 20930008
math-00024.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc7047ef7ce532b2696129528660cc4d0986ef751a3876aa146495bc0826edb1
3
+ size 18862304
math-00025.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6e05ca42c17c4d3b7f238b125c907046a2e7669c84b71d0ad10046d560a1ff0
3
+ size 20067459
math-00026.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b86cd442a061a0530a73bea48dac3bfec3c63b0bea28b078d7c18e671bc60c1c
3
+ size 18799329
math-00027.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8987bd59aaadad200e1eb229aab28e9f5bc0acc739ce902d211d547c6e5f8ca0
3
+ size 20529767
math-00028.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8ef0a53af24039862ff00746b01c4f8fb9beb708176bfb079151b4c916aba86
3
+ size 19412352
math-00029.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:387bc6836e551563913c916395e37200568417ea3ad2f0f1bc475026b709fddd
3
+ size 19393524
math-00030.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02c3c67edb4bebe824687ba39e5359be9e875c0215e5e6138b43d2564e1d42b1
3
+ size 19071311
math-00031.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a37e754e7329195256346e4f5f0898386844eae487162b2480e2b6f4289ed61
3
+ size 20937059