jina-embeddings-v5-text-nano-retrieval-mlx
79
license:cc-by-nc-4.0
by
jinaai
Embedding Model
OTHER
New
79 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Usagepython
import mlx.core as mx
from tokenizers import Tokenizer
from model import JinaEmbeddingModel
import json
with open("config.json") as f:
config = json.load(f)
model = JinaEmbeddingModel(config)
weights = mx.load("model.safetensors")
model.load_weights(list(weights.items()))
tokenizer = Tokenizer.from_file("tokenizer.json")
# Encode query
query_embeddings = model.encode(
["Overview of climate change impacts on coastal cities"],
tokenizer,
task_type="retrieval.query",
)
# Encode document
document_embeddings = model.encode(
["Climate change has led to rising sea levels, increased frequency of extreme weather events..."],
tokenizer,
task_type="retrieval.passage",
)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.