Data Pipeline & Loaders

Register and consume phase-aware data loaders for brain_ai across 7 training phases.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/sovr610/refffiy --skill data-pipeline-loaders
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Data Pipeline & Loaders
Source: https://github.com/sovr610/refffiy/tree/main/brain-ai-dev/skills/data-pipeline-loaders
Command: npx skills add https://github.com/sovr610/refffiy --skill data-pipeline-loaders

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, torch, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill provides a complete, phase-aware data-loading infrastructure for the brain_ai training pipeline, enabling consistent loaders, synthetic dev data, and centralized dataset management across all seven training phases.

Core Features & Use Cases

  • Implements 7-phase loaders (SNN, Encoders, HTM, Workspace, Active Inference, Reasoning, Meta-Learning) with deterministic splits and synthetic data for development.
  • Offers a BasePhaseLoader contract, sample-shape inference utilities, and ready-made collate functions to unify multimodal batches.
  • Provides a DatasetRegistry to register, instantiate, list, download, and cache datasets across phases, with production fallbacks to synthetic data when needed.

Quick Start

Instantiate a phase loader (e.g., SNNPhaseLoader) with a dev DataConfig and start training by iterating its train loader.

Frequently Asked Questions about Data Pipeline & Loaders

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up deterministic data loading for reproducible PyTorch experiments?

Deterministic data loading for reproducible PyTorch experiments is achieved by using phase-aware data loaders that enforce a strict loader contract, provide deterministic splits, and generate synthetic dev data to ensure consistent sample shapes across runs.

What is a dataset registry and how does it handle multimodal data?

A dataset registry centrally manages multimodal data by registering, instantiating, listing, downloading, and caching datasets across different training phases, with ready-made collate functions to unify multimodal batches and enforce sample-shape inference.

How do I create phase-specific data loaders for complex training pipelines?

Creating phase-specific data loaders involves instantiating a base loader contract like SNNPhaseLoader with a dev DataConfig, enabling iteration through phase-aware train loaders that provide specific collate and split utilities for each training stage.

Can I use synthetic data as a fallback for production data downloads?

Yes, synthetic data serves as a production fallback when actual data downloads fail, allowing the dataset registry to cache real datasets while automatically generating deterministic synthetic dev data to maintain continuous training pipeline operation.

Does this data-loading infrastructure support multimodal batch handling in PyTorch?

This data-loading infrastructure fully supports multimodal batch handling in PyTorch by offering ready-made collate functions and sample-shape inference utilities that unify diverse data types within the enforced base loader contract.

Why do I need phase-aware splits for brain_ai training pipelines?

Phase-aware splits are needed for brain_ai training pipelines because the seven distinct phases, such as Encoders, HTM, and Active Inference, require specific data configurations to maintain deterministic experiments and reproducible results across multimodal datasets.