Downloads · 30 days
12
27% of all-time downloads
amannagrawall002/bert-finetued-mrpc
bert-finetued-mrpc is a text classification model from amannagrawall002. 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.
This model is a fine-tuned version of bert-finetuned-mrpc for sequence classification tasks.
Downloads · 30 days
12
27% of all-time downloads
All-time downloads
44
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of bert-finetuned-mrpc for sequence classification tasks.
Name: MRPC (Microsoft Research Paraphrase Corpus)
Description: The MRPC dataset consists of sentence pairs automatically extracted from online news sources, with human annotations for whether the sentences in the pair are semantically equivalent.
Source: The dataset is part of the GLUE benchmark.
This model is a fine-tuned version of BERT-base-uncased, specifically trained to determine if two sentences are paraphrases of each other. The model outputs 1 if the sentences are equivalent and 0 if they are not.
Intended Uses
Paraphrase Detection: This model can be used to determine if two sentences are paraphrases of each other, which is useful in applications like duplicate question detection in forums, semantic search, and text summarization.
Educational Purposes: Can be used for educational purposes to demonstrate fine-tuning of transformer models on specific tasks.
Limitations
Dataset Bias: The MRPC dataset contains sentence pairs from specific news sources, which might introduce bias. The model might not perform well on text from other domains.
Context Limitations: The model evaluates sentences pairwise without considering broader context, which might lead to incorrect paraphrase detections in complex contexts.
Optimizer: AdamW
Learning Rate: 5e-5
Epochs: 3
Batch Size: 8
{'accuracy': 0.8504901960784313, 'f1': 0.8942807625649913}