Instructions to use contemmcm/e60a1bc4b438b7d4439dde63776972bd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use contemmcm/e60a1bc4b438b7d4439dde63776972bd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="contemmcm/e60a1bc4b438b7d4439dde63776972bd")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("contemmcm/e60a1bc4b438b7d4439dde63776972bd") model = AutoModelForSequenceClassification.from_pretrained("contemmcm/e60a1bc4b438b7d4439dde63776972bd") - Notebooks
- Google Colab
- Kaggle
e60a1bc4b438b7d4439dde63776972bd
This model is a fine-tuned version of google-bert/bert-base-cased on the nyu-mll/glue [cola] dataset. It achieves the following results on the evaluation set:
- Loss: 0.6756
- Data Size: 1.0
- Epoch Runtime: 13.7203
- Accuracy: 0.8320
- F1 Macro: 0.7940
- Rouge1: 0.8320
- Rouge2: 0.0
- Rougel: 0.8320
- Rougelsum: 0.8330
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- distributed_type: multi-GPU
- num_devices: 4
- total_train_batch_size: 32
- total_eval_batch_size: 32
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: constant
- num_epochs: 50
Training results
| Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|---|---|---|---|
| No log | 0 | 0 | 0.6607 | 0 | 1.0341 | 0.6885 | 0.4078 | 0.6895 | 0.0 | 0.6885 | 0.6885 |
| No log | 1 | 267 | 0.6236 | 0.0078 | 1.6014 | 0.6885 | 0.4078 | 0.6895 | 0.0 | 0.6885 | 0.6885 |
| No log | 2 | 534 | 0.6648 | 0.0156 | 1.3779 | 0.6885 | 0.4078 | 0.6895 | 0.0 | 0.6885 | 0.6885 |
| No log | 3 | 801 | 0.6183 | 0.0312 | 1.6974 | 0.6885 | 0.4078 | 0.6895 | 0.0 | 0.6885 | 0.6885 |
| No log | 4 | 1068 | 0.6150 | 0.0625 | 2.2280 | 0.6885 | 0.4078 | 0.6895 | 0.0 | 0.6885 | 0.6885 |
| 0.0356 | 5 | 1335 | 0.6801 | 0.125 | 3.1249 | 0.6963 | 0.4369 | 0.6973 | 0.0 | 0.6963 | 0.6963 |
| 0.4976 | 6 | 1602 | 0.4631 | 0.25 | 4.6686 | 0.7842 | 0.7096 | 0.7842 | 0.0 | 0.7842 | 0.7842 |
| 0.3975 | 7 | 1869 | 0.5669 | 0.5 | 7.8033 | 0.7637 | 0.6310 | 0.7637 | 0.0 | 0.7646 | 0.7646 |
| 0.3427 | 8.0 | 2136 | 0.4735 | 1.0 | 14.3839 | 0.8018 | 0.7380 | 0.8018 | 0.0 | 0.8018 | 0.8018 |
| 0.1928 | 9.0 | 2403 | 0.5259 | 1.0 | 15.2627 | 0.8164 | 0.7577 | 0.8164 | 0.0 | 0.8164 | 0.8164 |
| 0.1567 | 10.0 | 2670 | 0.6756 | 1.0 | 13.7203 | 0.8320 | 0.7940 | 0.8320 | 0.0 | 0.8320 | 0.8330 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu128
- Datasets 4.3.0
- Tokenizers 0.22.1
- Downloads last month
- 5
Model tree for contemmcm/e60a1bc4b438b7d4439dde63776972bd
Base model
google-bert/bert-base-cased