Text Classification
Transformers
Safetensors
English
switch_transformers
Generated from Trainer
Eval Results (legacy)
Instructions to use glamprou/switch-base-8-sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use glamprou/switch-base-8-sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="glamprou/switch-base-8-sst2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("glamprou/switch-base-8-sst2") model = AutoModelForSequenceClassification.from_pretrained("glamprou/switch-base-8-sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 195 Bytes
ee8c716 | 1 2 3 4 5 6 7 8 | {
"epoch": 3.0,
"train_loss": 0.24820531837243603,
"train_runtime": 1181.836,
"train_samples": 67349,
"train_samples_per_second": 170.96,
"train_steps_per_second": 2.673
} |