紫微斗数开源样本数据集 v3.0
收藏资源简介:
该数据集包含51.8万条紫微斗数命盘样本,覆盖年、月、日、时和性别的所有组合,每条样本包含完整的命盘JSON结构和基于倪海夏《天纪》体系的13个主题解读文本(如命格总览、财运、事业、感情、健康等)。数据已验证男女命差异化、健康含子午流注、女命含妇科保养,与线上服务口径一致,总大小为5.5 GB,分3卷压缩,完全开源可自由商用,适用于AI模型微调、RAG检索、研究和数据分析。
This dataset contains 518,000 Zi Wei Dou Shu birth chart samples, covering all combinations of year, month, day, hour, and gender. Each sample includes a complete birth chart JSON structure and 13 thematic interpretation texts based on the *Tian Ji* system from Ni Haixia’s seminal work *Tian Ji*, including general horoscope overview, wealth, career, relationships, health, and other topics. The dataset has been validated to include gender-specific differences between male and female charts, with health interpretations incorporating the Zi Wu Liu Zhu (a Traditional Chinese Medicine meridian timing system) and gynecological care guidance for female charts, which is consistent with the specifications of online services. With a total size of 5.5 GB, the dataset is compressed into 3 volumes. It is fully open-source and freely available for commercial use, and is suitable for AI model fine-tuning, RAG retrieval, research, and data analysis.
数据集概述
本项目提供了一个基于倪海夏《天纪》教学体系的紫微斗数排盘系统,并开源了一套包含 51.8 万条命盘样本 的数据集。
数据集规格
| 项目 | 说明 |
|---|---|
| 样本数量 | 518,400 条 |
| 总大小 | 5.5 GB(分 3 卷压缩) |
| 体系 | 倪海夏《天纪》正统(纯飞星派已下线) |
| 内容 | 命盘 JSON + 13 主题解读文本(命格总览、财运、事业、感情、健康等) |
| 验证 | 男女命差异化 100%、健康含子午流注 100%、女命含妇科保养 100% |
| 口径 | 与线上平台 wdyziweidoushu666.com 完全一致 |
数据覆盖范围
数据集覆盖 51.8 万种排盘组合(年 60 × 月 12 × 日 30 × 时 12 × 性别 2),每条样本包含完整的命盘结构和基于倪海夏体系的解读文本。
数据用途
- 微调小模型的训练语料(51.8 万 input-output 配对)
- AI 对话的 RAG 检索源
- 修改
patterns.ts后做 A/B 基线对比 - 紫微斗数研究与数据分析
数据许可与引用
- 完全开源 · 可自由商用:可用于商业产品、AI 模型微调、二次开发、再分发、衍生数据集、学术研究等。
- 唯一要求:保留数据来源标注(attribution),注明使用了 紫微斗数开源样本数据集 v3.0,并提供来源:https://github.com/Renhuai123/ziwei-doushu,作者:王多鱼AI。
下载方式
数据集位于仓库右侧 Releases 页面,包含以下文件:
ziwei-samples-v3-part1.zip.001(1.9 GB)ziwei-samples-v3-part2.zip.002(1.9 GB)ziwei-samples-v3-part3.zip.003(1.8 GB)SHA256SUMS.txt(校验文件)
下载后需合并解压,具体命令请参考 README 文件中的说明。
开源内容
除数据集外,项目还开源了以下内容:
- 排盘算法(
lib/ziwei/):包含完整排盘流程、四化系统、1100+ 行格局知识库、合盘方法论等。 - 古籍原文(
lib/classics/):包括骨髓赋、紫微斗数全集、紫微斗数全书。 - 前端界面:基于 Next.js 14 的完整前端,包含排盘工作台、合盘分析页、古籍阅读器、命理百科等。
- SEO 知识图谱(
lib/seo/):14 主星 × 12 宫位的结构化知识数据。




