Skip to main content

Model registry and ML pipeline orchestration for fAIr

Project description

fAIr-models

codecov

Model registry and ML pipeline orchestration for fAIr.

fair-py-ops is the Python package for building ZenML pipelines, validating STAC items, and testing locally. The models/ directory is the single source of truth for base model contributions.

Quick Start

git clone https://github.com/hotosm/fAIr-models.git
cd fAIr-models
just setup
just example

See Getting Started for detailed setup, environment options, and running individual examples.

Documentation

Examples

Three reference implementations demonstrate the full workflow for each supported task:

Example Task Model Path
Segmentation Semantic segmentation UNet (torchgeo) examples/segmentation/
Classification Binary classification ResNet18 (torchvision) examples/classification/
Detection Object detection YOLOv11n (ultralytics) examples/detection/

Available Commands

Run just to see all recipes. Common commands:

just setup          # Install dependencies and set up environment
just example        # Run all three example pipelines
just lint           # Run Ruff linting and type checking (ty)
just test           # Run unit tests
just k8s            # Set up Kubernetes dev environment
just local          # Switch back to local mode

Key Concepts

Concept Description
Base model Reusable ML blueprint (weights, code, Docker image, STAC item)
Local model Finetuned model produced by ZenML pipeline on user data
STAC catalog Model/dataset registry with MLM and Version extensions
ZenML pipeline Orchestrated training and inference workflows

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fair_py_ops-0.1.0.tar.gz (61.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fair_py_ops-0.1.0-py3-none-any.whl (69.2 kB view details)

Uploaded Python 3

File details

Details for the file fair_py_ops-0.1.0.tar.gz.

File metadata

  • Download URL: fair_py_ops-0.1.0.tar.gz
  • Upload date:
  • Size: 61.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fair_py_ops-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4af95baaa31f99912853bedf667b888bf42dfd56e8564660b72855baab6252cd
MD5 bb391908e777bb9a383053e96fa2134f
BLAKE2b-256 c27ca9c1bf457526c24e3033e6c850fbe4af77add428599ec101d655b2995354

See more details on using hashes here.

File details

Details for the file fair_py_ops-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fair_py_ops-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 69.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fair_py_ops-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae3f7ef04ff7d6a112431636774ca95df26333d9ae5e5396c759b10fdc17e083
MD5 973c5cbe9bc3cb10f7ebb2fbc0474cfb
BLAKE2b-256 a7f12e6898ca219e7c2f621da4cf402631bcf360b7eb027c50a21fb5a12a8dfc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page