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 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 LICENSE for the full text.

Metadata

Release files for modelmakerlibrary 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 modelmakerlibrary 0.1.0
File Size Uploaded Provenance Actions
modelmakerlibrary-0.1.0.tar.gz 18.7 kB With provenance Details for modelmakerlibrary-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 40.5 kB

Release files / modelmakerlibrary-0.1.0.tar.gz

Download URL modelmakerlibrary-0.1.0.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4bb846c5707a814893e22049d263a97d86c3b668f4df64b0ff133f3376016672
BLAKE2b-256 checksum
How to use checksums
1dd212d6a733ed7ff93c260a9c9991359dda3e08b2c8f7d009dcdbc67934114e
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.0-py3-none-any.whl

Download URL modelmakerlibrary-0.1.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb82cafeaecd016ce5770cefd21f3aea18327e94eb6deba66e9419f2eb7d87b8
BLAKE2b-256 checksum
How to use checksums
06150654026573b4a90ba7cc6df23e58f4edea8fa343fb73e2ee803a46076ac3
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.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.

Full provenance

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

Select from 2 files

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