Downloads · 30 days
15
19% of all-time downloads
shadowdemonosprey/mrpc-distilbert
mrpc-distilbert is a text classification model from shadowdemonosprey. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned distilbert-base-uncased model for paraphrase identification using the GLUE MRPC dataset.
Downloads · 30 days
15
19% of all-time downloads
All-time downloads
80
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
Fine-tuned distilbert-base-uncased model for paraphrase identification using the GLUE MRPC dataset.
This model predicts whether two sentences have the same meaning.
0 → NOT_PARAPHRASE1 → PARAPHRASEAccuracy: 85.05%
Use the model with Hugging Face Transformers:
from transformers import pipeline
classifier = pipeline( "text-classification", model="shadowdemonosprey/mrpc-distilbert" )
result = classifier( { "text": "The company released a new phone.", "text_pair": "A new phone was released by the company." } )
print(result)
PARAPHRASE
Confidence: 0.9643
This model was trained on the MRPC dataset and may not generalize perfectly to all sentence similarity tasks.