Skip to main content

ModelMakerLibrary

ModelMakerLibrary is a Python library for dataset preparation, neural-network construction, and small byte-level text-generation experiments built on PyTorch.

Install

python -m pip install modelmakerlibrary

The package installs its required runtime dependencies, including PyTorch, Torchvision, Transformers, pandas, and Matplotlib. The standard PyTorch wheels are suitable for CPU use; consult the official PyTorch installation selector for GPU-specific builds. TPU support is optional and requires a compatible PyTorch/XLA installation in a supported environment.

Quick start

import modelMakerLibrary as mml

dataset = mml.load_dataset("data/text", model_type="text")
train_set, test_set = mml.split_dataset(dataset, train_ratio=80)
train_batches = mml.data_loader(train_set, batch_size=8, shuffle=True)

result = mml.train_text_generator(
    dataset_path="data/text",
    output_path="output/text_generator.pt",
    epochs=2,
    device="cpu",
)
model = mml.load_text_generator(result["checkpoint_path"])
print(mml.generate_text(model, "A short prompt", max_new_tokens=40))

For text generation, the input path can contain UTF-8 .txt, .json, .csv, or .tsv files. JSON records use a text field; CSV and TSV files need a text column. See the Dataset guide for directory layouts and supported media types.

Training saves the checkpoint after each epoch. To continue training a previous checkpoint, pass its path as resume_from; see the model guide.

Documentation

The self-contained Python example creates its own small dataset. The Jupyter notebook also includes local Jupyter, Google Colab, and Kaggle setup instructions.

License

This project is licensed under the Apache License 2.0. See the LICENSE for the full text.

Metadata

Release files for modelmakerlibrary 0.1.2

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

Source distribution (sdist)

Source distribution for modelmakerlibrary 0.1.2
File Size Uploaded Provenance Actions
modelmakerlibrary-0.1.2.tar.gz 19.4 kB With provenance Details for modelmakerlibrary-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 41.9 kB

Release files / modelmakerlibrary-0.1.2.tar.gz

Download URL modelmakerlibrary-0.1.2.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6cd33445dbb00248c0f3accd2713d8cc6ebd7ee3ef665c053723727a40087837
BLAKE2b-256 checksum
How to use checksums
a07a9e1f28ebcdf52c0393e26653ce4f61860b9162e9bda1312a20a4a350c1f7
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 15, 2026.

Transparency log

Release files / modelmakerlibrary-0.1.2-py3-none-any.whl

Download URL modelmakerlibrary-0.1.2-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c8dfc1dca988b994c9d8500e5e76a79b37396d38c8280496f82c8baa4bb9495
BLAKE2b-256 checksum
How to use checksums
618a4b1d3eb09c31ffa894600068acec03cc524cf206e0f66059ae5b8b5e5edb
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 15, 2026.

Transparency log

Security for modelmakerlibrary 0.1.2

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for modelmakerlibrary-0.1.2.tar.gz

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 15, 2026.

Transparency log

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