Skip to content

Create an integration test #84

@ealt

Description

@ealt

We currently have a suite of unit tests, but it would also be useful to have an integration test that demonstrates the end-to-end workflow of training a model making use of much of the components and functionality within simplexity.

I am imagining something like:

  • use a hydra config from a yaml file
  • load a model using a persister
  • train the model on data from a generative process
  • log all the different things (config, parameters, metrics, etc.)
  • save the trained model using the persister
  • verify that final loss decreases
  • verify that the trained model is different from the original untrained model

The default config should use local versions of loggers and persisters so as not to depend on external infra (s3, databricks), and the model used should be a TransformerLens model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions