Text Classification
Transformers
PyTorch
ONNX
Safetensors
Transformers.js
English
bert
reranker
cross-encoder
custom_code
text-embeddings-inference
Instructions to use walter-bd/jina-reranker-fixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use walter-bd/jina-reranker-fixed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="walter-bd/jina-reranker-fixed", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("walter-bd/jina-reranker-fixed", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("walter-bd/jina-reranker-fixed", trust_remote_code=True, device_map="auto") - Transformers.js
How to use walter-bd/jina-reranker-fixed with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'walter-bd/jina-reranker-fixed'); - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from walter-bd/jina-reranker-fixed: direct link, hf CLI and curl.
- Browser
- Download file 2.03 MB
-
https://huggingface.co/walter-bd/jina-reranker-fixed/resolve/main/tokenizer.json
- Command line
-
hf download hf://walter-bd/jina-reranker-fixed/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/walter-bd/jina-reranker-fixed/resolve/main/tokenizer.json
2.03 MB
File too large to display, you can check the raw version instead.