Downloads · 30 days
8
15% of all-time downloads
mi55th/bert-sst2-nesterov
bert-sst2-nesterov is a text classification model from mi55th. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains a bert-base-uncased model fine-tuned for binary sentiment classification on the GLUE/SST-2 dataset.
Downloads · 30 days
8
15% of all-time downloads
All-time downloads
54
Public
Repo size
263 B
Likes
0
Public
Click a slice to open those files.
.json714 KB · 75%
From the Hugging Face model README
This repository contains a bert-base-uncased model fine-tuned for binary sentiment classification on the GLUE/SST-2 dataset.
0), positive (1)bert-base-uncasedTrainer API)TrainerFine-tuning used the GLUE benchmark dataset configuration SST-2 (Stanford Sentiment Treebank v2 as used in GLUE).
glue, config sst2sentencelabel (0/1)In the provided Colab:
train: selected range(640)validation: selected range(640)test: predictions generated without labels (GLUE test split)AutoTokenizer.from_pretrained("bert-base-uncased")truncation=True)DataCollatorWithPaddingepochs: 3learning_rate: 2e-5batch_size: 16 (per device)weight_decay: 0.01evaluation: each epochcheckpointing: each epochbest model selection: accuracy on validationlogging: disabled (report_to="none")(Optional: add confusion matrix, F1, etc. if available)