How to use intfloat/simlm-base-msmarco-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="intfloat/simlm-base-msmarco-finetuned")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("intfloat/simlm-base-msmarco-finetuned") model = AutoModel.from_pretrained("intfloat/simlm-base-msmarco-finetuned")