jina-embeddings-v5-text-small-classification-mlx
193
license:cc-by-nc-4.0
by
jinaai
Embedding Model
OTHER
New
193 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Installationbash
pip install mlx tokenizers huggingface_hubFull Precision Modelpython
import mlx.core as mx
from tokenizers import Tokenizer
from model import JinaEmbeddingModel
import json
# Load config
with open("config.json") as f:
config = json.load(f)
# Load model (full precision)
model = JinaEmbeddingModel(config)
weights = mx.load("model.safetensors")
model.load_weights(list(weights.items()))
# Load tokenizer
tokenizer = Tokenizer.from_file("tokenizer.json")
# Encode
texts = ["Query: What is machine learning?", "Document: Machine learning is..."]
embeddings = model.encode(texts, tokenizer, task_type="classification.query")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.