Instructions to use textattack/bert-base-uncased-SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-SST-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-SST-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-SST-2") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-SST-2") - Inference
- Notebooks
- Google Colab
- Kaggle
Update eval_results_sst-2.txt
Browse files- eval_results_sst-2.txt +3 -0
eval_results_sst-2.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
eval_loss = 0.2785584788237299
|
| 2 |
+
eval_acc = 0.9243119266055045
|
| 3 |
+
epoch = 3.0
|