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

Uploaded Python 3

File details

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

File metadata

  • Download URL: superduper_llamacpp-0.6.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.6.0.tar.gz
Algorithm Hash digest
SHA256 1508d72cd924dc0922f3f68bd402bc43e93e379958ca59be8851f053d1db72f9
MD5 933fab227ee384f0be6f06a3ed0647e1
BLAKE2b-256 0e2e2bf6c4048e4cb367a5437b18531906a0fa9bb56ad964095edce563575ec4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for superduper_llamacpp-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76d6bf86de59761071830436daa4adc8dd4f47e51345485dfa37198e4dd07bae
MD5 b0f30bc6ee2185fd990a35889269bbe0
BLAKE2b-256 f5a58e4dda1f47a2774df4e511945e8c20331063a1e6c8f7b3288d8e9ca50874

See more details on using hashes here.

Provenance

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