Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use mserloth/v12 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mserloth/v12 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/v12")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mserloth/v12") model = AutoModelForSequenceClassification.from_pretrained("mserloth/v12", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("mserloth/v12")
model = AutoModelForSequenceClassification.from_pretrained("mserloth/v12", device_map="auto")Quick Links
Model Trained Using AutoTrain
- Problem type: Text Classification
Validation Metrics
loss: 0.6593675017356873
f1_macro: 0.6489004767693293
f1_micro: 0.6925925925925925
f1_weighted: 0.6558835632606125
precision_macro: 0.6958400129775946
precision_micro: 0.6925925925925925
precision_weighted: 0.7395732343473669
recall_macro: 0.7205811088713783
recall_micro: 0.6925925925925925
recall_weighted: 0.6925925925925925
accuracy: 0.6925925925925925
- Downloads last month
- 2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/v12")