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.7.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

superduper_llamacpp-0.7.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for superduper_llamacpp-0.7.0.tar.gz
Algorithm Hash digest
SHA256 40f3205ec1897caa27ed0847b3e7be23a53090b253baf23ebfafe9c2ed96ae0e
MD5 e443a06fa82d69564ea38f84e9af5921
BLAKE2b-256 28b7a595e708a1ba78ee543289a72fc2f561d861b0cddf25fb6c3192c38fdbf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_llamacpp-0.7.0.tar.gz:

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for superduper_llamacpp-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40b5f72c70102b6c45a460be7f3a2498bf76f19815358b50a5b8b1fee688aa50
MD5 99a03e4236eaf0f82c1db0c5347d113e
BLAKE2b-256 6ccf1934ab87a3eb257884ae8ba92720b25e2a3caf2ca67a6426eb264cef96d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_llamacpp-0.7.0-py3-none-any.whl:

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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