How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="hf-internal-testing/mrpc-bert-base-cased")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/mrpc-bert-base-cased")
model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/mrpc-bert-base-cased")
Quick Links

MRPC BERT base model (cased)

This is a sample model fine-tuned from the nlp_example_script.py using Accelerate and saved at the end.

Downloads last month
119
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using hf-internal-testing/mrpc-bert-base-cased 3