Skip to content

mlcommons/modelplane

Repository files navigation

ModelPlane

Develop new evaluators / annotators.

Get Started

You must have docker installed on your system. The given docker-compose.yaml file will start up:

  • mlflow tracking server + postgres
  • jupyter
  1. Clone the repository:
    git clone https://github.com/mlcommons/modelplane.git
    cd modelplane
  2. Environment:
    1. Adjust the .env file as needed. The committed .env / docker-compose.yaml will bring up mlflow, postgres, jupyter, set up mlflow to use a local disk for artifact storage.
    2. Set up secrets for accessing SUTs, as needed in modelplane/flightdeck/config/secrets.toml. See modelbench for more details.
    3. Stage your input data in modelplane/flightdeck/data. You can get a sample input file here.
  3. Bring up the services:
    docker compose up -d
    Or if you are running mlflow somewhere else, you can bring up just jupyter with:
    docker compose up -d jupyter
  4. Visit the Jupyter Server. The token is configured in the .env file. You shouldn't need to enter it more than once (until the server is restarted). You can get started with the template notebook or create a new one.
  5. The runs can be monitored in MLFlow wherever you have that set up. If local with the default setup, http://localhost:8080.

TODO

  • Scoring against ground truth (measurement runner functionality)
  • Support ensemble option
  • Support multiple annotators in single run
  • Confirm this works with cloud storage
  • Add test coverage
  • Support for data via remote DVC repo
  • Template with annotator that's served elsewhere
  • Missing safety runner functionality
  • Automated experiment names
  • annotate should add sut_id tag to its runs
  • Better handling of jupyter token

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6