Downloads · 30 days
21
6% of all-time downloads
xplainlp/DeBERTa-v3-large-mnli-fever-anli-ling-wanli-climatecheck
DeBERTa-v3-large-mnli-fever-anli-ling-wanli-climatecheck is a zero-shot classification model from xplainlp. Use it when you need labels you did not train the model on. The card lists the license as mit.
First install the Sentence Transformers library:
Downloads · 30 days
21
6% of all-time downloads
All-time downloads
331
Public
Parameters
435M
20.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.7 GB · 99%
From the Hugging Face model README
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
"query: Turns ...",
'passage: Ab...',
'passage: With ...',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]