Bootstrap model catalog helpers for the SheafLab project.
Project description
sheafmodel
sheafmodel is the official Python package namespace for lightweight model
catalog helpers used by the SheafLab project.
This initial public release focuses on a small but real surface: describing model cards, filtering them by required capabilities, and ranking candidates by cost, latency, and context-window constraints.
Install
pip install sheafmodel
Usage
from sheafmodel import ModelCard, best_candidate, filter_by_capabilities
cards = [
ModelCard(
name="alpha-small",
family="alpha",
size="small",
context_window=8192,
modalities=("text",),
capabilities=("chat", "summarization"),
latency_score=2,
cost_score=1,
),
]
chosen = best_candidate(cards, required=("chat",), min_context=4096)
Status
- Project stage: pre-alpha
- Package scope: bootstrap model-catalog utilities only
- Main project site: https://sheaflab.com
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 sheafmodel-0.0.1a1.tar.gz.
File metadata
- Download URL: sheafmodel-0.0.1a1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fce2486986c90371e15c96b22ad0535841beeadb75d2a9011d28a56abc90bcb
|
|
| MD5 |
501473bb24f62045783615e2144e3a7a
|
|
| BLAKE2b-256 |
5d80f2a7c10b01106c3537938d46c43c9f8cce03adfaedff8169aeafec86fbad
|
File details
Details for the file sheafmodel-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: sheafmodel-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc87daa7d5753d435c8e54d604f5074cacea008b04d402090f201552800b740e
|
|
| MD5 |
cde5d6ca1ee40ba94d15a5bbfe6c0aa6
|
|
| BLAKE2b-256 |
a2c997bc8208c3918ef2256396f62b6cd6696d78a84c2865e0a4529c2e73c059
|