界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

ogb

ogb

【数据与研究】Routes OGB graph dataset, evaluator, conversion, and export workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: ogb description: "Routes OGB graph dataset, evaluator, conversion, and export workflows." metadata: disco-role: operating disable-model-invocation: true license: MIT

OGB

Use this skill for the Open Graph Benchmark package when the task is about loading OGB datasets, choosing an evaluator, converting molecules or code into OGB graphs, or packaging a new OGB-style dataset.

Read this skill when

  • The request names ogb, ogbg-*, ogbn-*, ogbl-*, PCQM4M, MAG240M, WikiKG90M, or DatasetSaver.
  • The task asks for GraphPropPredDataset, NodePropPredDataset, LinkPropPredDataset, PCQM4MDataset, PCQM4Mv2Dataset, MAG240MDataset, WikiKG90MDataset, or the matching evaluator.
  • The task mentions smiles2graph, py2graph, meta_dict.pt, mapping/, split_dict.pt, test-dev, test-challenge, or OGB submission files.
  • The task asks for PyG or DGL dataset wrappers and the corresponding backend packages are installed.

Install

python -m pip install -e .

If you need the molecular helper, install rdkit as well. If you need the PyG or DGL wrapper classes, install the matching optional backend package too.

Start here

  1. Read references/api-overview.md for the public class map and the common loader/evaluator shapes.
  2. Read references/installation.md for the package install command and the optional backend notes.
  3. Read references/dataset-catalog.md when you need the exact dataset names or metrics.
  4. Read references/troubleshooting.md when imports fail, downloads are interrupted, or shapes do not match.

Route by task family

Quick install check

After installing the package, run the bundled smoke helper:

python scripts/check-install.py

If you need the molecule helper, also run:

python scripts/smiles2graph-smoke.py

What this skill does not do

  • It does not tell you to run the original repository's heavy training examples as the runtime skill.
  • It does not depend on the source checkout remaining available once the skill is generated.
  • It does not treat the vendored WikiKG90M external framework tree as bundled runtime content.

Useful bundled helpers

Provenance and routing

Read references/repo-provenance.md to see which repo state this skill was distilled from, and references/repo-routing-metadata.json for the router scenario metadata used during import.

我的收藏