deepex ranking model e793d26
Magolor commited on
How to use Magolor/deepex-ranking-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="Magolor/deepex-ranking-model") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Magolor/deepex-ranking-model")
model = AutoModel.from_pretrained("Magolor/deepex-ranking-model")