Text Classification
Transformers
PyTorch
TensorBoard
English
mobilebert
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Alireza1044/mobilebert_sst2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Alireza1044/mobilebert_sst2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Alireza1044/mobilebert_sst2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Alireza1044/mobilebert_sst2") model = AutoModelForSequenceClassification.from_pretrained("Alireza1044/mobilebert_sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download all_results.json from Alireza1044/mobilebert_sst2: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/Alireza1044/mobilebert_sst2/resolve/main/all_results.json
- Command line
-
hf download hf://Alireza1044/mobilebert_sst2/all_results.json
-
curl -L -o all_results.json https://huggingface.co/Alireza1044/mobilebert_sst2/resolve/main/all_results.json
403 Bytes
| { | |
| "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, | |
| "train_loss": 5265.971264971169, | |
| "train_runtime": 8516.6719, | |
| "train_samples": 67349, | |
| "train_samples_per_second": 79.079, | |
| "train_steps_per_second": 2.472 | |
| } |