Commit
·
68f8bfa
1
Parent(s):
d47dc3b
End of training
Browse files- README.md +81 -0
- eval_results.txt +6 -0
- logs/events.out.tfevents.1649404000.algo-1.599.0 +2 -2
- logs/events.out.tfevents.1649404434.algo-1.599.2 +3 -0
- pytorch_model.bin +1 -1
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
datasets:
|
| 6 |
+
- glue
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: roberta-large-sst2
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Text Classification
|
| 14 |
+
type: text-classification
|
| 15 |
+
dataset:
|
| 16 |
+
name: glue
|
| 17 |
+
type: glue
|
| 18 |
+
args: sst2
|
| 19 |
+
metrics:
|
| 20 |
+
- name: Accuracy
|
| 21 |
+
type: accuracy
|
| 22 |
+
value: 0.9644495412844036
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 26 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 27 |
+
|
| 28 |
+
# roberta-large-sst2
|
| 29 |
+
|
| 30 |
+
This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on the glue dataset.
|
| 31 |
+
It achieves the following results on the evaluation set:
|
| 32 |
+
- Loss: 0.1400
|
| 33 |
+
- Accuracy: 0.9644
|
| 34 |
+
|
| 35 |
+
## Model description
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Intended uses & limitations
|
| 40 |
+
|
| 41 |
+
More information needed
|
| 42 |
+
|
| 43 |
+
## Training and evaluation data
|
| 44 |
+
|
| 45 |
+
More information needed
|
| 46 |
+
|
| 47 |
+
## Training procedure
|
| 48 |
+
|
| 49 |
+
### Training hyperparameters
|
| 50 |
+
|
| 51 |
+
The following hyperparameters were used during training:
|
| 52 |
+
- learning_rate: 3e-05
|
| 53 |
+
- train_batch_size: 32
|
| 54 |
+
- eval_batch_size: 32
|
| 55 |
+
- seed: 42
|
| 56 |
+
- distributed_type: sagemaker_data_parallel
|
| 57 |
+
- num_devices: 8
|
| 58 |
+
- total_train_batch_size: 256
|
| 59 |
+
- total_eval_batch_size: 256
|
| 60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 61 |
+
- lr_scheduler_type: linear
|
| 62 |
+
- lr_scheduler_warmup_steps: 500
|
| 63 |
+
- num_epochs: 4
|
| 64 |
+
- mixed_precision_training: Native AMP
|
| 65 |
+
|
| 66 |
+
### Training results
|
| 67 |
+
|
| 68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
+
| 0.3688 | 1.0 | 264 | 0.1444 | 0.9564 |
|
| 71 |
+
| 0.1529 | 2.0 | 528 | 0.1502 | 0.9518 |
|
| 72 |
+
| 0.107 | 3.0 | 792 | 0.1388 | 0.9530 |
|
| 73 |
+
| 0.0666 | 4.0 | 1056 | 0.1400 | 0.9644 |
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
### Framework versions
|
| 77 |
+
|
| 78 |
+
- Transformers 4.17.0
|
| 79 |
+
- Pytorch 1.10.2+cu113
|
| 80 |
+
- Datasets 1.18.4
|
| 81 |
+
- Tokenizers 0.11.6
|
eval_results.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
epoch = 4.0
|
| 2 |
+
eval_accuracy = 0.9644495412844036
|
| 3 |
+
eval_loss = 0.13998015224933624
|
| 4 |
+
eval_runtime = 0.8129
|
| 5 |
+
eval_samples_per_second = 1072.698
|
| 6 |
+
eval_steps_per_second = 4.921
|
logs/events.out.tfevents.1649404000.algo-1.599.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4dd80f8f3c6acd0bbc9a5db8c9f6405f260d97c33faf61d6ace66b7026ead8d
|
| 3 |
+
size 5678
|
logs/events.out.tfevents.1649404434.algo-1.599.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7211b3a05ba425a719d95d1596281328c893210d785c9712ac593daf3a85479d
|
| 3 |
+
size 363
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1421613229
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26b88613113fabd49aa922c4759d2c50e837073e8356e4e3609e8f7c1b5036f3
|
| 3 |
size 1421613229
|