Skip to main content

Superduper allows users to work with self-hosted LLM models via [Llama.cpp](https://github.com/ggerganov/llama.cpp).

Project description

superduper_llamacpp

Superduper allows users to work with self-hosted LLM models via Llama.cpp.

Installation

pip install superduper_llamacpp

API

Class Description
superduper_llamacpp.model.LlamaCpp Llama.cpp connector.
superduper_llamacpp.model.LlamaCppEmbedding Llama.cpp connector for embeddings.

Examples

LlamaCpp

from superduper_llama_cpp.model import LlamaCpp

model = LlamaCpp(
    identifier="llm",
    model_name_or_path="mistral-7b-instruct-v0.2.Q4_K_M.gguf",
)
model.predict("Hello world")

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

superduper_llamacpp-0.0.5.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

superduper_llamacpp-0.0.5-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file superduper_llamacpp-0.0.5.tar.gz.

File metadata

  • Download URL: superduper_llamacpp-0.0.5.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for superduper_llamacpp-0.0.5.tar.gz
Algorithm Hash digest
SHA256 491e0b55b099a828d7fe07903f782f9a0118e29c04480fbbf03a4599f6f9b8d0
MD5 951642c3dac685c938fb6e83293fdee8
BLAKE2b-256 24b414a81777eeb3a047fa09c62dd8dfb3c830adcfccf68dd949a24897fcaff5

See more details on using hashes here.

File details

Details for the file superduper_llamacpp-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for superduper_llamacpp-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b883967904797bce327da53d55c6d5199d2e969e5c02e470625c5ed7c6735f70
MD5 4bb22a2704d6437d6ab6513728b65881
BLAKE2b-256 6fa7bfbf2a5b7411a59f0324b63a1fd0de1621160f09a2dead73969c8c7d0066

See more details on using hashes here.

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