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