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.1.tar.gz (77.3 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.1-py3-none-any.whl (95.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fair_py_ops-0.1.1.tar.gz
  • Upload date:
  • Size: 77.3 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.1.tar.gz
Algorithm Hash digest
SHA256 2c4a55bc73973dc7187e0f88c5951b0ebd7a9a55210364d88e469f37a8cb9100
MD5 d853d5b5664fc97393241306347cafa5
BLAKE2b-256 a1d5771ba489bc86b9bdf0ecac5d7f4741ac2aaa4418823e0c609db4c8e48171

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fair_py_ops-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 95.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a90a3d65ef0b33552a56f349e4492f75014ff27df14ae39ee07ea47dbebc5a51
MD5 4be3e797a414965ae0e7448fbe978279
BLAKE2b-256 8fb11179c9359ac13a9652e12a3aa59eb91a4df0136886773009ef83c8ab4812

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