Instructions to use contemmcm/b0d39fbd551ae9736bbc42ca479411be with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use contemmcm/b0d39fbd551ae9736bbc42ca479411be with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="contemmcm/b0d39fbd551ae9736bbc42ca479411be")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("contemmcm/b0d39fbd551ae9736bbc42ca479411be") model = AutoModelForSequenceClassification.from_pretrained("contemmcm/b0d39fbd551ae9736bbc42ca479411be") - Notebooks
- Google Colab
- Kaggle
b0d39fbd551ae9736bbc42ca479411be
This model is a fine-tuned version of google-bert/bert-large-cased on the nyu-mll/glue [sst2] dataset. It achieves the following results on the evaluation set:
- Loss: 0.6927
- Data Size: 1.0
- Epoch Runtime: 192.8474
- Accuracy: 0.5093
- F1 Macro: 0.3374
- Rouge1: 0.5093
- Rouge2: 0.0
- Rougel: 0.5093
- Rougelsum: 0.5081
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.7238 | 0 | 1.2566 | 0.4919 | 0.3357 | 0.4919 | 0.0 | 0.4925 | 0.4925 |
| No log | 1 | 2104 | 0.6762 | 0.0078 | 3.2705 | 0.5093 | 0.3374 | 0.5093 | 0.0 | 0.5093 | 0.5081 |
| No log | 2 | 4208 | 0.3544 | 0.0156 | 5.0865 | 0.8519 | 0.8490 | 0.8519 | 0.0 | 0.8519 | 0.8519 |
| 0.0109 | 3 | 6312 | 0.2632 | 0.0312 | 8.4531 | 0.9062 | 0.9062 | 0.9062 | 0.0 | 0.9051 | 0.9068 |
| 0.3957 | 4 | 8416 | 0.3414 | 0.0625 | 15.0729 | 0.8762 | 0.8759 | 0.8762 | 0.0 | 0.8762 | 0.8762 |
| 0.2655 | 5 | 10520 | 0.2528 | 0.125 | 27.2715 | 0.9097 | 0.9095 | 0.9097 | 0.0 | 0.9097 | 0.9097 |
| 0.6983 | 6 | 12624 | 0.7084 | 0.25 | 51.1032 | 0.5093 | 0.3374 | 0.5093 | 0.0 | 0.5093 | 0.5081 |
| 0.6957 | 7 | 14728 | 0.7021 | 0.5 | 98.8424 | 0.5093 | 0.3374 | 0.5093 | 0.0 | 0.5093 | 0.5081 |
| 0.6984 | 8.0 | 16832 | 0.7005 | 1.0 | 192.7750 | 0.5093 | 0.3374 | 0.5093 | 0.0 | 0.5093 | 0.5081 |
| 0.6984 | 9.0 | 18936 | 0.6927 | 1.0 | 192.8474 | 0.5093 | 0.3374 | 0.5093 | 0.0 | 0.5093 | 0.5081 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu128
- Datasets 4.3.0
- Tokenizers 0.22.1
- Downloads last month
- 1
Model tree for contemmcm/b0d39fbd551ae9736bbc42ca479411be
Base model
google-bert/bert-large-cased