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.5.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for slowblood-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a30c106183e1429f70327c6e3544741e0a3d12178d07135976c079f9bf2d1b1 |
|
MD5 | 53a4fbd72fffd1e1faa9919fd21312e1 |
|
BLAKE2b-256 | 440e850e01cb64b02aef275fae8f2940801f4a3ec565e046cb0a912d0ca76161 |