minigpt
Official pip package for the MiniGPT series.
pip install minigptai
from minigpt import load_model, generate
from tokenizers import ByteLevelBPETokenizer
model, vocab, merges = load_model("minigpt0")
tokenizer = ByteLevelBPETokenizer(vocab, merges)
prompt = "What is a neural network?"
generate(model, tokenizer, prompt)
Metadata
Release files for minigptai 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 | |
|---|---|---|---|
| minigptai-0.1.0.tar.gz | 1.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minigptai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.9 kB
Release files / minigptai-0.1.0.tar.gz
| Download URL | minigptai-0.1.0.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbdcdf3b1563e01e80e279b2b92d43b2b525ff9b0dcb22e26d172cca7439cb17
|
|
BLAKE2b-256 checksum How to use checksums |
b578c777d68ef54df3eb06942afb5479e7e4264c8c89411a0dd9fdb42fb5c126
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / minigptai-0.1.0-py3-none-any.whl
| Download URL | minigptai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6a7aa0aa26fd46abd6e3df3fdb506de995b321d027094a40de967090e296bca
|
|
BLAKE2b-256 checksum How to use checksums |
1f6a1e90282f1231b438df674538322089b011b6e8cbf65bc85cf91a57b98fc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|