Model registry and ML pipeline orchestration for fAIr
Project description
fAIr-models
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
- Getting Started : Installation, local setup, Kubernetes, and running examples
- Architecture : STAC catalog structure, flows, identity model, infrastructure
- Contributing a Model : Guide for adding base models to fAIr
- API Reference : Python package documentation
- Changelog : Release history
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1be92c15ca7ecec01b4df899d0c8fd1d929ccc0a99c9c3af7824ef3a89b6d7
|
|
| MD5 |
9dd6a0456286b1a3d4b90e9fcc9f5b0c
|
|
| BLAKE2b-256 |
1b5ac15ec4ff23a9ebd847a1b9b15e44f8189162321c446810371707b386511a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfafff0c5b36c50632ac6dcc38c8afedba649d7c72f269c43f3f479d6eb396e5
|
|
| MD5 |
7c14af55cbd8b079d489d5f35a2aa695
|
|
| BLAKE2b-256 |
111b130fb4ee8177a5993e298b163b013eb099062aceb9f992d86ec8424b95dc
|