How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("TitanML/jina-v2-code-embed", trust_remote_code=True)
model = AutoModel.from_pretrained("TitanML/jina-v2-code-embed", trust_remote_code=True, device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Jina V2 Embed Model

Reupload of the jina embedding model that removes the dependence on onnx and optimum, by recreating it with a custom class in Takeoff.

Downloads last month
11
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including TitanML/jina-v2-code-embed