MAGKG
收藏资源简介:
MAGKG公共构件数据集是一个用于分层成矿知识图谱构建的资源集合,支持基于SLM-LLM协作的框架。数据集包含多种结构化组件:1)模式定义文件,明确了实体层次结构和关系模式;2)合成边界语料库,包含40,000条完整样本和10,000条分层样本的JSONL文件,专门用于边界导向的跨度训练,并附有统计摘要;3)知识图谱来源子集,提供块级示例(包含实体、别名、有效关系和详细的文本来源信息)、扁平化三元组(关联证据文本、块文本和段落文本)、从跟踪块生成的规范图子集、边级证据表以及代表性的归一化和消歧注释;4)样本文件,提供各种数据格式的简化示例,便于快速访问和测试;5)预训练模型构件,包括边界模型检查点、配对解码阈值和模型元数据。该数据集适用于知识图谱构建、命名实体识别、关系抽取、证据追溯以及图机器学习等任务,特别面向地质学和矿床学领域的文本分析应用。
The MAGKG Public Component Dataset is a resource collection for constructing hierarchical mineralization knowledge graphs, supporting an SLM-LLM collaboration-based framework. The dataset includes multiple structured components: 1) Schema definition files, which clarify the entity hierarchy and relationship schema; 2) Synthetic boundary corpus, which consists of JSONL files containing 40,000 complete samples and 10,000 hierarchical samples, specifically designed for boundary-oriented span training, with attached statistical summaries; 3) Knowledge graph source subset, which provides block-level examples (including entities, aliases, valid relationships and detailed text source information), flattened triples (associating evidence texts, block texts and paragraph texts), canonical graph subsets generated from tracked blocks, edge-level evidence tables, and representative normalization and disambiguation annotations; 4) Sample files, which provide simplified examples in various data formats for quick access and testing; 5) Pretrained model components, including boundary model checkpoints, paired decoding thresholds and model metadata. This dataset is applicable to tasks such as knowledge graph construction, named entity recognition, relation extraction, evidence tracing, and graph machine learning, and is specifically targeted at text analysis applications in the fields of geology and mineral deposit science.
数据集概述:MAGKG Public Artifacts
MAGKG 是一个基于 SLM-LLM 协同的层次化成矿知识图谱构建框架,该数据集为其公开的配套资源。
核心信息
- 语言:英语
- 许可证:Apache-2.0
- 任务类型:Token 分类、文本分类、图机器学习
- 标签:知识图谱、地质学、矿床、命名实体识别、关系抽取、证据追踪
数据组成
数据集包含多个配置(config),每个配置对应一个数据文件,涵盖以下主要类别:
1. 合成边界数据 (Synthetic Boundary Data)
- synthetic_boundary_full:完整的合成边界语料,用于基于边界的跨度训练(40,000 条)。
- synthetic_boundary_stratified:分层抽取的合成子集,包含 ID 和课程式元数据(10,000 条)。
- synthetic_boundary_sample:供本地代码流程使用的 240 行合成边界样本。
2. 知识图谱溯源子集 (KG Provenance Subset)
- kg_trace_chunks:包含实体、别名、模式有效关系及文档/段落/句子/块级溯源的块级示例。
- kg_trace_triples:包含证据文本、块文本和段落文本的扁平化三元组。
- kg_evidence_trace:从规范图中导出的边级证据表。
3. 样本数据 (Samples)
- sample_boundary_train、sample_chunks、sample_triples:紧凑格式的示例数据(位于
samples/目录下)。 - 另包含
kg_trace_chunks和kg_trace_triples的副本,便于快速访问。
附带资源
- 模式文件:
magkg_schema.json:MAGKG 实体层次结构和关系模式。 - 模型文件:
best_model.pt(边界模型检查点)、best_thresholds.json(解码阈值)、model_metadata.json(模型元数据)。 - 其他元数据:
synthetic_dataset_summary.json(合成语料统计摘要)、canonical_graph_subset.json(规范图子集)、normalization_disambiguation_notes.json(归一化与消歧说明)。
使用方式
需配合源代码仓库使用:https://github.com/Kky6/MAGKG




