Skip to main content

Efficient, accessible preprocessing routines for pretrain, SFT, and DPO training data preparation from the ALEA Institute.

Project description

alea-preprocess

PyPI version License: MIT Python Versions

Description

Efficient, accessible preprocessing routines for pretrain, SFT, and DPO training data preparation.

This library is part of ALEA's open source large language model training pipeline, used in the research and development of the KL3M project.

Installation

Note that this project is a work-in-progress and relies on compiled Rust code. As such, it is recommended to install the package from GitHub source until a stable release is available.

You can install the latest release from PyPI using pip:

pip install alea-preprocess

You can install a development version of the package by running the following command:

poetry run maturin develop

Examples

Example use cases are currently available under the tests/ directory.

Additional documentation and examples will be provided in the future.

License

This ALEA project is released under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions about using this ALEA project, please open an issue on GitHub.

Learn More

To learn more about ALEA and its software and research projects like KL3M, visit the ALEA website.

Project details


Download files

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

Source Distribution

alea_preprocess-0.1.12.tar.gz (82.8 kB view details)

Uploaded Source

Built Distribution

alea_preprocess-0.1.12-cp312-cp312-manylinux_2_34_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

File details

Details for the file alea_preprocess-0.1.12.tar.gz.

File metadata

  • Download URL: alea_preprocess-0.1.12.tar.gz
  • Upload date:
  • Size: 82.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for alea_preprocess-0.1.12.tar.gz
Algorithm Hash digest
SHA256 be4c6f0b8dc81bcf27eadee4bdad825cd27f8a8c40e73789fec6b82ef921124a
MD5 c1770ab549946a003018983400000ee7
BLAKE2b-256 3d653ca921037b1f7d14cef1aa7dd04d3ef5ead63e53b2ecb434e12cfcef6cd7

See more details on using hashes here.

File details

Details for the file alea_preprocess-0.1.12-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for alea_preprocess-0.1.12-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cd12af2ad853b5e91b83676157fda337cb35c9db95bdf871cae1a50b45620519
MD5 fc2c076a09b75b0aef31ac3ca8869509
BLAKE2b-256 045b0e9a0d630fbbe6cddac68a76dac8638467fc1f78b4758370f8b580c4231f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page