下载FineMath数据集脚本 | AI生成和翻译

首页 2026.07

已创建 /home/xiaoxin/projects/zz/finemath/download_finemath.py — 目录和脚本已就绪。

脚本: finemath/download_finemath.py

HuggingFaceTB/finemath(包含 540 亿 token 的教育数学数据集)下载 parquet 分片。覆盖范围:

配置 分片数 大小
finemath-3plus 128 60.6 GB
finemath-4plus 64 17.1 GB
infiwebmath-3plus 64 43.6 GB
infiwebmath-4plus 32 17.9 GB
总计 288 139.2 GB

使用示例:

# 查看将要下载的内容(预演模式)
python3 finemath/download_finemath.py --plan

# 仅下载 K-12 数学子集(60 GB)
python3 finemath/download_finemath.py --config finemath-3plus

# 下载全部数据(约139 GB)
python3 finemath/download_finemath.py

# 使用 HF 镜像(从亚洲地区下载更快)
python3 finemath/download_finemath.py --mirror hf-mirror

# 仅下载 10 GB 用于测试
python3 finemath/download_finemath.py --target-gb 10 --plan

主要特性(继承自现有 plan_and_download_fineweb.py 的模式):


AI生成和翻译,但整理分享仍需精力。如果觉得有帮助,欢迎 捐助支持。 微信:@lzwjavaWeChat QR · X: @lzwjava · 打个招呼 👋

返回 捐助