Text Classification
Transformers
PyTorch
TensorBoard
English
mobilebert
Generated from Trainer
Eval Results (legacy)
Instructions to use Alireza1044/mobilebert_sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alireza1044/mobilebert_sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Alireza1044/mobilebert_sst2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Alireza1044/mobilebert_sst2") model = AutoModelForSequenceClassification.from_pretrained("Alireza1044/mobilebert_sst2") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 10.0, | |
| "eval_accuracy": 0.9036697247706422, | |
| "eval_loss": 1.1730189323425293, | |
| "eval_runtime": 4.6464, | |
| "eval_samples": 872, | |
| "eval_samples_per_second": 187.674, | |
| "eval_steps_per_second": 23.459 | |
| } |