stanfordnlp/sst
Updated • 2.76k • 22
How to use kennethge123/sst-t5-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="kennethge123/sst-t5-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("kennethge123/sst-t5-base")
model = AutoModelForSequenceClassification.from_pretrained("kennethge123/sst-t5-base")This model is a fine-tuned version of t5-base on the sst dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Mse |
|---|---|---|---|---|
| No log | 1.0 | 267 | 0.0196 | 0.0196 |
| 0.0237 | 2.0 | 534 | 0.0179 | 0.0179 |
| 0.0237 | 3.0 | 801 | 0.0174 | 0.0174 |
| 0.0133 | 4.0 | 1068 | 0.0182 | 0.0182 |
| 0.0133 | 5.0 | 1335 | 0.0181 | 0.0181 |
| 0.0101 | 6.0 | 1602 | 0.0180 | 0.0180 |
| 0.0101 | 7.0 | 1869 | 0.0183 | 0.0183 |
| 0.0083 | 8.0 | 2136 | 0.0188 | 0.0188 |
| 0.0083 | 9.0 | 2403 | 0.0185 | 0.0186 |
| 0.0067 | 10.0 | 2670 | 0.0187 | 0.0187 |
| 0.0067 | 11.0 | 2937 | 0.0184 | 0.0184 |
| 0.0057 | 12.0 | 3204 | 0.0186 | 0.0186 |
| 0.0057 | 13.0 | 3471 | 0.0194 | 0.0194 |
| 0.005 | 14.0 | 3738 | 0.0175 | 0.0176 |
| 0.0045 | 15.0 | 4005 | 0.0182 | 0.0182 |
| 0.0045 | 16.0 | 4272 | 0.0183 | 0.0183 |
| 0.0041 | 17.0 | 4539 | 0.0187 | 0.0187 |
| 0.0041 | 18.0 | 4806 | 0.0186 | 0.0186 |
| 0.0038 | 19.0 | 5073 | 0.0188 | 0.0188 |
| 0.0038 | 20.0 | 5340 | 0.0185 | 0.0185 |
Base model
google-t5/t5-base