Skip to main content

AutoNaming

A Python package that provides LLM-powered naming.

Currently supports automatically naming experiments using information from parser and args (from argparse).

Implemented using APPL.

Installation

pip install autonaming

Usage

from argparse import ArgumentParser
from autonaming.exps import name_this_exp

# Create your argument parser as usual
parser = ArgumentParser()
parser.add_argument("--learning_rate", type=float, default=0.001, help="Learning rate for training")
parser.add_argument("--batch_size", type=int, default=32, help="Batch size for training")
parser.add_argument("--model", type=str, default="resnet18", help="Model architecture")

# Parse your arguments
args = parser.parse_args(["--learning_rate", "0.01", "--model", "alexnet"])

# Generate an informative name for your experiment
name = name_this_exp(parser, args, add_timestamp=True)
# Example output: alexnet_lr0.01_bs32__2024_12_11__12_34_56
# You can use this name to name your experiment directory

Instructions for naming experiments

  1. Generate a descriptive and concise name in snake_case that captures the key parameters
  2. Keep names under 100 characters
  3. Include the most important parameters that distinguish this experiment
  4. Use standard abbreviations where appropriate (e.g. lr for learning_rate)
  5. Order parameters from most to least important

Metadata

Release files for autonaming 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 autonaming 0.1.0
File Size Uploaded Provenance Actions
autonaming-0.1.0.tar.gz 2.9 kB Without provenance Details for autonaming-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / autonaming-0.1.0.tar.gz

Download URL autonaming-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5427b7d46461f01b64277b3ccb5c4fcc6978c385f24192fa92086cafbb1e8f35
BLAKE2b-256 checksum
How to use checksums
0af7c88533d2a72173562a7d1b95a44e67e8b83d27cef855ceb5f5db00471e62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.20.1 CPython/3.13.0 Darwin/23.6.0

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

Download URL autonaming-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea6d92390876351e77449844d8a140bf4d84d3f37d9430629052c387ccef87c6
BLAKE2b-256 checksum
How to use checksums
ff30d7df4d427025da5536cc74135465081eae8b12fe5ca9387e700e1f66171d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.20.1 CPython/3.13.0 Darwin/23.6.0

Security for autonaming 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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