Datasets and models for instruction-tuning
txtinstruct is a framework for training instruction-tuned models.
The objective of this project is to support open data, open models and integration with your own data. One of the biggest problems today is the lack of licensing clarity with instruction-following datasets and large language models. txtinstruct makes it easy to build your own instruction-following datasets and use those datasets to train instructed-tuned models.
txtinstruct is built with Python 3.7+ and txtai.
Installation
The easiest way to install is via pip and PyPI
pip install txtinstruct
You can also install txtinstruct directly from GitHub. Using a Python Virtual Environment is recommended.
pip install git+https://github.com/neuml/txtinstruct
Python 3.7+ is supported
See this link to help resolve environment-specific install issues.
Examples
The following example notebooks show how to build models with txtinstruct.
| Notebook | Description | |
|---|---|---|
| Introducing txtinstruct | Build instruction-tuned datasets and models |
Metadata
Release files for txtinstruct 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| txtinstruct-0.1.0.tar.gz | 7.4 kB | Without provenance | Details for txtinstruct-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| txtinstruct-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for txtinstruct-0.1.0-py3-none-any.whl |
Total release size: 20.8 kB
Release files / txtinstruct-0.1.0.tar.gz
| Download URL | txtinstruct-0.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a36c14bc357dc9714b5b724cefd97ef2db73ac75ca2983b6eb5ada8eaf7251d8
|
|
BLAKE2b-256 checksum How to use checksums |
f0e5fb8435fcf4681071c0db953bdb380075546c716990e80fd8e069c28ab9e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.16
|
Release files / txtinstruct-0.1.0-py3-none-any.whl
| Download URL | txtinstruct-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b807aa380e33c9be22f331093f7d7e5d5da137d31ef054d0570574a7b0e2552f
|
|
BLAKE2b-256 checksum How to use checksums |
e17b9eb3e17901d3db33884bea5e1160fe43444e34b16b62eced1c8229ea66cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.16
|
Security for txtinstruct 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.