Skip to content

feat(training): add size-based rotation and manifest for training corpus #3179

@forkwright

Description

@forkwright

Single-file JSONL, append-only, no rotation. Corruption blast radius grows with file size. One partial write requires hand-repairing the tail. For the 40K+ message fine-tune corpus target, add size-based rotation into shards (e.g. 100MB each) and a manifest.json tracking shard count, record count, schema version range. kanon training lifecycle already implements this pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions