Skip to main content

minitrain

Mini-models. Mini-data. Uni-recipe.

Run small-scale machine learning experiments from YAML or JSON recipes.

Quickstart

Use Python 3.10 or newer. Install from the checkout with python -m pip install ., or use pip install minitrain once released on PyPI.

minitrain classification/cifar10-resnet20
minitrain path/to/experiment.yaml

Missing data files are downloaded automatically. Use minitrain --help to list the bundled presets. Recipes control training, output paths, and resume.

Inference

import minitrain

model = minitrain.load_model("outputs/cifar10/last.ckpt")

Built-in models load by checkpoint alone, in evaluation mode on CPU. The loader prefers EMA weights when available. Use device="cuda" for GPU inference, use_ema=False for regular weights, or model=YourModel(...) for a custom architecture or older checkpoint. Apply the recipe’s evaluation preprocessing to classifier inputs.

For development, run python -m pip install -e . and python -m unittest discover -v.

Metadata

Release files for minitrain 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minitrain 0.1.0
File Size Uploaded Provenance Actions
minitrain-0.1.0.tar.gz 35.7 kB Without provenance Details for minitrain-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for minitrain 0.1.0
File Interpreter ABI Platform Actions
minitrain-0.1.0-py3-none-any.whl Python 3 none any Details for minitrain-0.1.0-py3-none-any.whl

Total release size: 83.5 kB

Release files / minitrain-0.1.0.tar.gz

Download URL minitrain-0.1.0.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
604b75f386b75b571ae78e4102fc354abac0aff9e601534e834f23f0b65aa051
BLAKE2b-256 checksum
How to use checksums
19c31ecdd18611839b7915224a4536e22daff496c7de3405fb9294b8bce00511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / minitrain-0.1.0-py3-none-any.whl

Download URL minitrain-0.1.0-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42b83a1603f241d87fcd82169d0e0cb7f7dea0b7e2149b3967d668a5a4f6614b
BLAKE2b-256 checksum
How to use checksums
8707658296b8f8de2938cb19cef5f4a9b9e8c4bcc76f0ff51b98bd376336db53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for minitrain 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page