Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use mserloth/v21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mserloth/v21 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/v21")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mserloth/v21") model = AutoModelForSequenceClassification.from_pretrained("mserloth/v21", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from mserloth/v21: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/mserloth/v21/resolve/main/README.md
- Command line
-
hf download hf://mserloth/v21/README.md
-
curl -L -o README.md https://huggingface.co/mserloth/v21/resolve/main/README.md
566 Bytes
| tags: | |
| - autotrain | |
| - text-classification | |
| widget: | |
| - text: "I love AutoTrain" | |
| datasets: | |
| - v21/autotrain-data | |
| # Model Trained Using AutoTrain | |
| - Problem type: Text Classification | |
| ## Validation Metrics | |
| loss: 0.5896586775779724 | |
| f1_macro: 0.6544353292567254 | |
| f1_micro: 0.707936507936508 | |
| f1_weighted: 0.693246083160111 | |
| precision_macro: 0.7424193199047 | |
| precision_micro: 0.707936507936508 | |
| precision_weighted: 0.7052234495704283 | |
| recall_macro: 0.6125864829753165 | |
| recall_micro: 0.707936507936508 | |
| recall_weighted: 0.707936507936508 | |
| accuracy: 0.707936507936508 | |