Instructions to use hendryset112/m-bert-formalityClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hendryset112/m-bert-formalityClassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hendryset112/m-bert-formalityClassifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hendryset112/m-bert-formalityClassifier") model = AutoModelForSequenceClassification.from_pretrained("hendryset112/m-bert-formalityClassifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload BertForSequenceClassification
Verified signature9ad1ae4
-
Upload BertForSequenceClassification
Verified signature7b0fcf7
-
Upload tokenizer
Verified signature4370e51 -
Upload BertForSequenceClassification
Verified signature8664094 -
initial commit
Verified signatureb61bcb6