Skip to main content

Paramorph Client Library

Paramorph is a client library that provides automated hyperparameter tuning for neural network training. It integrates seamlessly with Hugging Face Transformers and other PyTorch-based training frameworks to dynamically adjust learning rates, weight decay, and other hyperparameters during training.

Features

  • Automated Hyperparameter Tuning: Dynamically adjusts learning rates, weight decay, and other optimizer parameters
  • Hugging Face Integration: Built-in support for Hugging Face Transformers with minimal code changes
  • Multi-Agent Architecture: Uses specialized agents for different parameter groups (embeddings, attention, linear layers, convolutions)
  • Real-time Monitoring: Integrates with Weights & Biases for experiment tracking
  • Flexible Configuration: Easy-to-use YAML configuration system

Installation

Prerequisites

  • Python 3.10+
  • PyTorch
  • Hugging Face Transformers (for HF integration)
  • [Optional] Weights & Biases account and API key (for experiment tracking and logging)

Setup

Paramorph depends on the libinephany package, which provides core utilities and data models. Installation instructions differ based on your use case:

Ensure that python3.12 and make is installed:

Ubuntu / Debian

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12

MacOS with brew

brew install python@3.12

For Developers (Monorepo)

If you're working within the Inephany monorepo, the libinephany package is already available and will be installed into the venv created for this package when you run make install-dev.

For Clients (Standalone Installation)

Both libinephany and paramorph are available on PyPI and can be installed directly:

Optional but recommended

python -m pip install --upgrade pip

Install paramorph (libinephany will be installed as a depencency)

python -m pip install paramorph

For development installations with additional dependencies:

pip install libinephany[dev] paramorph[dev]

Then generate an API key in the portal and export it:

export PARAMORPH_API_KEY=YOUR_API_KEY

Getting Help

  • Check the example scripts in the repository
  • Review the configuration file format
  • Ensure all dependencies are installed correctly
  • Verify your model architecture matches the agent module mapping

License

This package is licensed under the Apache License, Version 2.0. See the LICENSE file for details.

Metadata

Release files for paramorph 0.10.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 paramorph 0.10.0
File Size Uploaded Provenance Actions
paramorph-0.10.0.tar.gz 28.7 kB Without provenance Details for paramorph-0.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 53.8 kB

Release files / paramorph-0.10.0.tar.gz

Download URL paramorph-0.10.0.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e353cb9279e5ef4b9f5e3926fa765e7391a95418cf97690627657e88e15fc79f
BLAKE2b-256 checksum
How to use checksums
c379c9857b1109e83a5bef3780b946c1965fffa107cd1a3decccecd687886352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / paramorph-0.10.0-py3-none-any.whl

Download URL paramorph-0.10.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a1ab560d153ce816b7700f1bb7ae5e190c9c62ae736f4c05aa756d16effdbbc
BLAKE2b-256 checksum
How to use checksums
4aa72dcc8bf79ecb9983f86e5eda550928cccab612a5a57f69ab4870e60af52a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for paramorph 0.10.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