train

Orchestrate hybrid model training workflows with checkpoint handling and platform-aware execution.

Updated Jun 17, 2025
One-click install
npx skills add https://github.com/necatiincekara/Quanvolutional-Neural-Network --skill train-necatiincekara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: train
Source: https://github.com/necatiincekara/Quanvolutional-Neural-Network/tree/main/.agents/skills/train
Command: npx skills add https://github.com/necatiincekara/Quanvolutional-Neural-Network --skill train-necatiincekara

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill orchestrates end-to-end training workflows for baseline and enhanced hybrid models, including checkpoint handling and platform-aware execution decisions.

Core Features & Use Cases

  • End-to-end training orchestration: coordinates multiple training paths (legacy baseline, enhanced trainable-quantum path) and local ablation runs, with checkpoint management and result summarization.
  • Environment awareness: validates whether macOS/CPU or CUDA/Colab environments are suitable, and selects the appropriate trainer path accordingly.
  • Observability & guardrails: captures metrics, runtime behavior, and gradient health to help reproduce conclusions and flag drift.

Quick Start

Start a training run by executing python -m src.train to launch the baseline path with default settings and monitor the console output for progress.

Frequently Asked Questions about train

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

FAQPage Schema
How do I orchestrate hybrid-model training with PyTorch and Pennylane?

Hybrid-model training orchestration coordinates baseline and enhanced trainable-quantum paths using checkpoint handling and platform-aware execution. It manages legacy runs, ablations, and result summarization automatically.

Can I run hybrid-model training on macOS CPU or do I need CUDA?

You can run hybrid-model training on macOS CPU or CUDA environments. The orchestration performs platform checks to validate your setup and selects the appropriate execution path, ensuring compatibility across local machines and Colab.

How do I launch a baseline training run with checkpoints?

To launch a baseline training run with checkpoints, execute python -m src.train with default settings. Console output will display progress while checkpoint validation ensures your training state is preserved and recoverable.

What is the difference between baseline and enhanced trainable-quantum training paths?

Baseline training paths use legacy execution via python -m src.train, while enhanced trainable-quantum paths run through train_v7.py. Both are orchestrated with checkpoint handling, but the enhanced path integrates quantum model training capabilities.

How do I run local ablations for hybrid models?

Running local ablations for hybrid models requires executing train_ablation_local.py. The orchestration skill manages this process alongside baseline and enhanced paths, capturing metrics and runtime behavior to reproduce conclusions.

Why does my hybrid-model training workflow need checkpoint validation?

Hybrid-model training workflows need checkpoint validation to ensure training states are recoverable and gradient health is monitored. This observability captures metrics and flags drift, helping reproduce conclusions across different platform executions.