Text Classification
Transformers
Safetensors
sentence-transformers
multilingual
qwen2_vl
feature-extraction
vidore
reranker
custom_code
🇪🇺 Region: EU
Instructions to use jinaai/jina-reranker-m0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jinaai/jina-reranker-m0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jinaai/jina-reranker-m0", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("jinaai/jina-reranker-m0", trust_remote_code=True) model = AutoModel.from_pretrained("jinaai/jina-reranker-m0", trust_remote_code=True, device_map="auto") - sentence-transformers
How to use jinaai/jina-reranker-m0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jinaai/jina-reranker-m0", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
jinaai/jina-reranker-m0 compatibility question
#23 opened 6 months ago
by
dqdw
jina-reranker-m0 api ignore top_n value
#22 opened 7 months ago
by
davide-delbianco-zucchetti
请问怎么进行并行操作,提升推理的速度
2
#18 opened about 1 year ago
by
zhangliu12
NotImplementedError: Cannot copy out of meta tensor; no data!
4
#17 opened about 1 year ago
by
wxiaoke
我的推理框架已经支持 jina-reranker-m0 的OpenAI 接口服务,欢迎大家来体验
👍 2
2
#16 opened about 1 year ago
by
Liuyu
Technical Report
1
#14 opened about 1 year ago
by
ariesaa
About infer time
3
#13 opened about 1 year ago
by
lzzw666
can it be used as embedding model fot text or image be embeded in recall ?
#12 opened about 1 year ago
by
classdemo
Xinference is no support?
#10 opened over 1 year ago
by
jiatianxia
The results of the two inferences are different
1
#6 opened over 1 year ago
by
mickbrick
支持图文输入,匹配文本吗
5
#4 opened over 1 year ago
by
mayamonwang