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
Required Dependencies
Package Structs, Methods and Consts
Datasets
TextDataset
prepare_dataset_llama2()
generate_from_dataset_llama2()
Model
BITS_AND_BYTES_CONFIG_4BIT
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.6.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for slowblood-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f713c5a48e1c2791c6c18735315a193f7520abb5d37f2b0efe77cf385ac5d0c6 |
|
MD5 | 5a02a7a5ef651b4836b612f858a49065 |
|
BLAKE2b-256 | 44458ab3878fa04a4f8caaad71ee7094ccf6728e0bbd7b7de011ca853e216aac |