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.

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.1

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.1
File Size Uploaded Provenance Actions
modelmakerlibrary-0.1.1.tar.gz 18.8 kB With provenance Details for modelmakerlibrary-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 40.6 kB

Release files / modelmakerlibrary-0.1.1.tar.gz

Download URL modelmakerlibrary-0.1.1.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9ad1d64f1686d3d7f41b2ea73435e60fcadc76a67263ace148236c77e040cfbd
BLAKE2b-256 checksum
How to use checksums
9eae837ae157b7ed95074c2d29b8167f354d89fe4ffc4fd5a58e05b51ff8fed2
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.1-py3-none-any.whl

Download URL modelmakerlibrary-0.1.1-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c718dfe1d417402588efeb3470e7250b59557c88762b33a290a84736012f1047
BLAKE2b-256 checksum
How to use checksums
695e5be6e6eff006dfe95d51d621913c4dbfb9e70d0ec5fba87bc79703d89d68
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.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

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

Select from 2 files

Attestation for modelmakerlibrary-0.1.1.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