Skip to content
Back to skills

Datasets And Customization

ASecurity

"Route Graphormer dataset source selection, custom registration,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolsnodeapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill datasets-and-customization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datasets And Customization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Datasets And Customization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-datasets-and-customization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-datasets-and-customization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: datasets-and-customization
description: "Route Graphormer dataset source selection, custom registration,
  preprocessing, and validation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Datasets and Customization

Use this sub-skill when you need to:
- choose a built-in DGL, PyG, or OGB dataset
- parse `--dataset-name` and `--dataset-source`
- register a custom dataset with `register_dataset`
- reason about Graphormer preprocessing and batch fields
- validate a user dataset module before training

## Route elsewhere
- Training schedules, optimizer choices, and long-run command building: fairseq-training
- Pretrained checkpoints, evaluation, and fine-tuning: pretrained-and-evaluation
- Model, task, criterion, or architecture internals: model-extension

## Bundled runtime files
- [Dataset sources and formats](references/datasets-and-formats.md)
- [API reference](references/api-reference.md)
- [Troubleshooting](references/troubleshooting.md)
- [Custom dataset validator](scripts/validate_custom_dataset_contract.py)

## Quick rules
- Built-in datasets use `--dataset-source` plus `--dataset-name`.
- Custom datasets use `--user-data-dir` and `--dataset-name`; do not combine them with `--dataset-source`.
- Custom registrations must return `dataset`, `train_idx`, `valid_idx`, `test_idx`, and `source`.
- Allowed custom `source` values are `dgl` and `pyg`.
- Graphormer preprocessing produces `idx`, `attn_bias`, `attn_edge_type`, `spatial_pos`, `in_degree`, `out_degree`, `x`, `edge_input`, and `y`.
- Batch collation drops graphs above `max_nodes`, masks long spatial distances, and truncates multi-hop edge history.

## Validation path
1. Read the dataset source table and syntax guide.
2. Register or locate the dataset module.
3. Run the bundled validator in list-only mode or full validation mode.
4. If validation fails, use the troubleshooting notes before moving to training or evaluation.
5. Run the bundled validator in list-only mode first; rerun with `--execute-registrations` only when dataset construction is safe.

Files in this skill

  • SKILL.md2 KB
  • references/api-reference.md4.1 KB
  • references/datasets-and-formats.md3.4 KB
  • references/troubleshooting.md3.3 KB
  • scripts/validate_custom_dataset_contract.py12.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.