Skip to content

remove epochs and only use batches #689

Description

@tharvik

after discussion, look like epochs are not really needed, we can directly use batches. so going from "round -> epoch -> batch" to have "round -> batch". that would give more direct control on

  • rework datasets to generate samples (ie batches) of the loaded data
    • randomized over the whole loaded data as to avoid skewing training
  • remove limitation in gpt-tfjs of running at most five batches
    • superseed by number of batch per round
  • remove TrainingInformation.epochs & EpochLogs
  • in Task, use rounds as the top level count of run, then batchesPerRound (renamed from roundDuration)
  • flatten generators from {Trainer,Model}.fit

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3Nice to have, not prioritizedscope-discojsRelated to Disco.jstype-featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions