Skip to main content

PSANN-LM

Language-model tasks for PSANN, packaged separately as psannlm. Version 2.0.1 requires psann>=2.0.1 and uses the typed task and architecture configuration API as its authoritative public surface.

Install core first, then this directory with python -m pip install ./psannlm from the repository root. PyTorch, NumPy, SentencePiece, tokenizers, datasets, Hugging Face Hub, and PyYAML are declared runtime dependencies.

Use PSANNLM, PSANNLMDataPrep, LMConfig, and LMArchitectureConfig from psannlm. Select one of four architecture kinds: transformer, residual, wave, or geometric-sparse. Spectral residual is a nested residual policy. Train with model.fit(data, train=TrainConfig(...)), generate with model.generate(...), and persist with save/load.

python -m psannlm --help
python -m psannlm train --help
python -m psannlm generate --help

The LM guide covers a complete small training example, YAML, tokenizer identity, and schema-v1 model/trainer checkpoints. The repository migration guide documents compatibility routes for older applications and artifacts. Core-only installations do not contain this package; LM artifacts contain no core package files.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psannlm-2.0.1.tar.gz (83.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psannlm-2.0.1-py3-none-any.whl (105.6 kB view details)

Uploaded Python 3

File details

Details for the file psannlm-2.0.1.tar.gz.

File metadata

  • Download URL: psannlm-2.0.1.tar.gz
  • Upload date:
  • Size: 83.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for psannlm-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5d0a734c14fdab87816f6c42f0ea8d50f71520429e5dc6a34b1a016a91c39dce
MD5 fbd8ba2b33aa1f79db76a0f6f3e1e9bf
BLAKE2b-256 9f68335f746f58db20c5451a6a946094c801ccb6ff4348effaa8bc573c06f0f5

See more details on using hashes here.

File details

Details for the file psannlm-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: psannlm-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 105.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for psannlm-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3bccd48b44ce0211a43e28342b56b3eee2e5ba080303939bfdea4543768a45
MD5 62d6c68b7f1b5f58bef3cb184de564d2
BLAKE2b-256 8318035ca194670cea3bb275d9cca9b03de61e35e1324d5b60816d54b5631b63

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 files

2.0.0

2 files

0.12.7

2 files

0.12.4

2 files

0.12.3

2 files

0.12.2

2 files

0.12.1

2 files

0.12.0

2 files

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