Tools for ML/LLM
Project description
This python package will have a collection of structures, functions and tools for interacting with LLMs and Datasets.
Project and PyPI Package
- https://pypi.org/project/slowblood/
- https://github.com/kyledinh/slowblood
- https://huggingface.co/Slowblood
Usage Examples
- TODO
Package Structs, Methods and Consts
Datasets
TextDataset
prepare_dataset_llama2()
generate_from_dataset_llama2()
Model
BITS_AND_BYTES_CONFIG_4BITS
load_peft_model_with_adapters()
print_trainable_parameters()
PDF Manipulation
convert_pdf_to_images()
extract_text_from_pdf()
extract_text_from_imgs()
Settings
BasicInferenceRequest
ArtifactNames
FineTuningSettings
Tokenizer
get_tokenizer_for_model()
update_model_with_tokenizer()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slowblood-0.0.4.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for slowblood-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c0013dbba2ae4bc4c0ae5155cd73a200334d10b449e4648e9755148f3304cd |
|
MD5 | 00bad75900edfe83d125f5c91b80f5c1 |
|
BLAKE2b-256 | 6a3d63bca84890498fa5673fe5708e67772b0097d152c8b93352f1635460532c |