Downloads · 30 days
117
0% of all-time downloads
seslami-pplx/pplx-embed-context-v1.3-4B
pplx-embed-context-v1.3-4B is a text retrieval model from seslami-pplx. Use it for the text retrieval task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Contextual sentence-embedding model. Same architecture and loading code as the v1.2-4B release — drop-in replacement.
Downloads · 30 days
117
0% of all-time downloads
All-time downloads
37.6K
Public
Parameters
4B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Contextual sentence-embedding model. Same architecture and loading code as the
v1.2-4B
release — drop-in replacement.
Targets the same three failure modes as prior versions: paraphrase resolution, lexical-distractor pull, and glossary co-retrieval.
from transformers import AutoModel
model_ctx = AutoModel.from_pretrained(
"seslami-pplx/pplx-embed-context-v1.3-4B",
trust_remote_code=True
)
doc_chunks = [
[
"Curiosity begins in childhood with endless questions about the world.",
"As we grow, curiosity drives us to explore new ideas.",
"Scientific breakthroughs often start with a curious question."
],
[
"The curiosity rover explores Mars searching for ancient life.",
"Each discovery on Mars sparks new questions about the universe."
]
]
# Returns list of numpy arrays (one per document)
# embeddings[0].shape = (3, 2560), embeddings[1].shape = (2, 2560)
embeddings = model_ctx.encode(doc_chunks)
</details>