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.10.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.10.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: superduper_llamacpp-0.10.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.10.0.tar.gz
Algorithm Hash digest
SHA256 82276c849133689184701d0884f57d1cb8ba5a459f83c9d80aee2bbaa5d9d9bf
MD5 d2c71bbd0564917a7ea1069b2cc696d4
BLAKE2b-256 64567dea432a3e1eaa9d28aaa6c1fac68682a2e34aa50d794ff10fd092a4ef61

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_llamacpp-0.10.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.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for superduper_llamacpp-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb421c04a542cd0b1aceeaf184b39bac9b7f702ba3f4541dfa1e382d8c5bc330
MD5 836c7a4c957b5a9ba6cd73fe4ff011b9
BLAKE2b-256 ce6b7bb69536e1b9e16362970ed03bdd927622876c25dc2d0f043eeb72712c80

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_llamacpp-0.10.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