TrainerPlus 1.1.1
TrainerPlus is LearnByWire's Apache-2.0 training orchestrator. It prepares CPT/SFT data, preserves experiment artifacts and offers an explicit choice between standard public HF Trainer and the proprietary OptimizerPlus control session.
Start with the repository's first-run guide, Python and data guide, or runnable example. The example accepts a model ID or local folder plus your own data files; no prebuilt token tensors are required.
from trainerplus import TrainerPlus, TrainingConfig, DataConfig, TokenDataset
With the combined LearnByWire 1.2.2 installation:
from learnbywire import TrainerPlus, OptimizerPlus, TrainingConfig
Supply the model, optimizer and dataset. Set control=None for native HF Trainer, or control=OptimizerPlus for OptimizerPlus 1.2.2. The caller's AdamW remains the public optimizer. native_compile=True selects public HF compilation only on the native path; OptimizerPlus manages its own runtime.
The recorded benchmark uses constant LR 2e-4, LoRA, microbatch 1, accumulation 2 and explicit parallel OptimizerPlus settings. The presets describe those experiments, not universal defaults. Models and data are supplied by the user; the benchmark does not define a model whitelist. See examples, qualification, performance and configuration and compatibility.
The benchmark evaluator in trainerplus.evaluation bounds FP32 temporary workspace. It is a separate helper and is not automatically used by TrainerPlus.evaluate().
This source does not contain OptimizerPlus internals. The native path works without OptimizerPlus. The current orchestrator runs in one process; this is an implementation requirement, independent of the benchmark coverage. TrainerPlus is licensed under Apache-2.0. No PyPI/GitHub publication is implied.
Metadata
Release files for learnbywire-trainerplus 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| learnbywire_trainerplus-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for learnbywire_trainerplus-1.1.1-py3-none-any.whl |
Release files / learnbywire_trainerplus-1.1.1-py3-none-any.whl
| Download URL | learnbywire_trainerplus-1.1.1-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efbc1f6409669c3599c337ff2bc77965ac50e5343124abb9cdc5aa43cc989536
|
|
BLAKE2b-256 checksum How to use checksums |
e6eadc8b491239f93ebc448706176b0c3ab25c1c68cdeec65754c89eaf240d1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for learnbywire-trainerplus 1.1.1
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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for learnbywire_trainerplus-1.1.1-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA 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.