Llama Embedder
This is a python binding for llama embedder, a purpose-built library for embeddings.
Installation
pip install llama_embedder
Usage
Local Models
This example shows how to use local model to embed texts.
from llama_embedder import Embedder
embedder = Embedder(model_path='./path/to/model.gguf')
# Embed stings
embeddings = embedder.embed_texts(["Hello World!", "My name is Ishmael."])
Hugging Face Models
This example shows how to download and use a model from Hugging Face.
from llama_embedder import Embedder
hf_repo = "ChristianAzinn/snowflake-arctic-embed-s-gguf"
gguf_file = "snowflake-arctic-embed-s-f16.GGUF"
embedder = Embedder(gguf_file, hf_repository=hf_repo)
embeddings = embedder.embed_texts(["Hello, world!", "Another sentence"])
Metadata
Release files for llama-embedder 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_embedder-0.0.8.tar.gz | 18.8 MB | Without provenance | Details for llama_embedder-0.0.8.tar.gz |
Release files / llama_embedder-0.0.8.tar.gz
| Download URL | llama_embedder-0.0.8.tar.gz |
|---|---|
| Size | 18.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
519f09259094440c302fc2549161b49f63c211a818df455692096ae2e2e90ae9
|
|
BLAKE2b-256 checksum How to use checksums |
aeaa37deafd0a01528fc76cb43af26bac5f3e6a8884f21a8c80106504c7a03b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for llama-embedder 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.