Skip to main content

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

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


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)

Uploaded Source

Built Distribution

slowblood-0.0.4-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page