Skip to main content

A simple custom LLM wrapper for llama.cpp with LangChain compatibility.

Project description

real-llama-cpp-python

A simple custom wrapper for llama.cpp models in Python, support seamlessly interaction with LangChain.

Background

Installing llama-cpp-python is a pain in the bum. However, langchain only supports llama-cpp-python. I had a long Xmas leave and couldn't install the latest llama-cpp-python to run the quantized models from the latest llama.cpp. I decided to create my own version of real-llama-cpp-python to be:wq compatible with LangChain.

Installation

pip install custom-llm

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

real_llama_cpp_python-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

real_llama_cpp_python-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file real_llama_cpp_python-0.1.0.tar.gz.

File metadata

  • Download URL: real_llama_cpp_python-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for real_llama_cpp_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe64f66b3b7695eb5d0485600fba0f5db536f185f1241628ed5b0e2960f092f6
MD5 51343318a9058c12a84e165affd06b07
BLAKE2b-256 7390dfbce91617a9dced0325a3e45f3d4be4ed68ea94a076211c91c1a2c75df0

See more details on using hashes here.

File details

Details for the file real_llama_cpp_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for real_llama_cpp_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ab3238a7bfd348af41bb4aacff26dd6311f981eb7f2fdfac82f2a4a359082aa
MD5 f0400fc5af8431ceca9c786ed129bfcf
BLAKE2b-256 24c5da1c8884bf7ec7ef09f17deb2552574900a5cb9cabbc79f05089cc754082

See more details on using hashes here.

Supported by

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