Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use mserloth/v14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mserloth/v14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/v14")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mserloth/v14") model = AutoModelForSequenceClassification.from_pretrained("mserloth/v14", 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/v14")
model = AutoModelForSequenceClassification.from_pretrained("mserloth/v14", device_map="auto")Quick Links
Model Trained Using AutoTrain
- Problem type: Text Classification
Validation Metrics
loss: 0.5613215565681458
f1_macro: 0.7270965370193369
f1_micro: 0.7587301587301587
f1_weighted: 0.7500760798400677
precision_macro: 0.7107159142726859
precision_micro: 0.7587301587301587
precision_weighted: 0.7611013397607105
recall_macro: 0.777733466267863
recall_micro: 0.7587301587301587
recall_weighted: 0.7587301587301587
accuracy: 0.7587301587301587
- Downloads last month
- 2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/v14")