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.2.0.tar.gz (78.8 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.2.0-py3-none-any.whl (98.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fair_py_ops-0.2.0.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.2.0.tar.gz
Algorithm Hash digest
SHA256 6f1be92c15ca7ecec01b4df899d0c8fd1d929ccc0a99c9c3af7824ef3a89b6d7
MD5 9dd6a0456286b1a3d4b90e9fcc9f5b0c
BLAKE2b-256 1b5ac15ec4ff23a9ebd847a1b9b15e44f8189162321c446810371707b386511a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fair_py_ops-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 98.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfafff0c5b36c50632ac6dcc38c8afedba649d7c72f269c43f3f479d6eb396e5
MD5 7c14af55cbd8b079d489d5f35a2aa695
BLAKE2b-256 111b130fb4ee8177a5993e298b163b013eb099062aceb9f992d86ec8424b95dc

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