Text Classification
Transformers
PyTorch
English
bert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use henryscheible/sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use henryscheible/sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="henryscheible/sst2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("henryscheible/sst2") model = AutoModelForSequenceClassification.from_pretrained("henryscheible/sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.json from henryscheible/sst2: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/henryscheible/sst2/resolve/main/eval_results.json
- Command line
-
hf download hf://henryscheible/sst2/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/henryscheible/sst2/resolve/main/eval_results.json
228 Bytes
| { | |
| "epoch": 5.0, | |
| "eval_accuracy": 0.9334862385321101, | |
| "eval_loss": 0.35209208726882935, | |
| "eval_runtime": 1.7289, | |
| "eval_samples": 872, | |
| "eval_samples_per_second": 504.37, | |
| "eval_steps_per_second": 63.046 | |
| } |