kennethge123
commited on
Commit
•
c8dfd91
1
Parent(s):
c56644b
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: t5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- bigbench
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: bigbench_entailedpolarity-t5-base
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: bigbench
|
18 |
+
type: bigbench
|
19 |
+
config: entailed_polarity
|
20 |
+
split: train
|
21 |
+
args: entailed_polarity
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.9583333333333334
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# bigbench_entailedpolarity-t5-base
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [t5-base](https://huggingface.co/t5-base) on the bigbench dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3881
|
36 |
+
- Accuracy: 0.9583
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 4
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 20
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 24 | 0.4860 | 0.875 |
|
68 |
+
| No log | 2.0 | 48 | 0.3200 | 0.875 |
|
69 |
+
| No log | 3.0 | 72 | 0.3107 | 0.9167 |
|
70 |
+
| No log | 4.0 | 96 | 0.3666 | 0.9167 |
|
71 |
+
| No log | 5.0 | 120 | 0.5273 | 0.9167 |
|
72 |
+
| No log | 6.0 | 144 | 0.3190 | 0.9583 |
|
73 |
+
| No log | 7.0 | 168 | 0.3328 | 0.9583 |
|
74 |
+
| No log | 8.0 | 192 | 0.5994 | 0.9167 |
|
75 |
+
| No log | 9.0 | 216 | 0.6515 | 0.9167 |
|
76 |
+
| No log | 10.0 | 240 | 0.6435 | 0.9167 |
|
77 |
+
| No log | 11.0 | 264 | 0.6450 | 0.9167 |
|
78 |
+
| No log | 12.0 | 288 | 0.6565 | 0.9167 |
|
79 |
+
| No log | 13.0 | 312 | 0.6484 | 0.9167 |
|
80 |
+
| No log | 14.0 | 336 | 0.6376 | 0.9167 |
|
81 |
+
| No log | 15.0 | 360 | 0.6808 | 0.9167 |
|
82 |
+
| No log | 16.0 | 384 | 0.6884 | 0.9167 |
|
83 |
+
| No log | 17.0 | 408 | 0.6502 | 0.9167 |
|
84 |
+
| No log | 18.0 | 432 | 0.6781 | 0.9167 |
|
85 |
+
| No log | 19.0 | 456 | 0.3894 | 0.9583 |
|
86 |
+
| No log | 20.0 | 480 | 0.3881 | 0.9583 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.35.2
|
92 |
+
- Pytorch 1.10.1+cu102
|
93 |
+
- Datasets 2.15.0
|
94 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "t5-base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 3072,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "relu",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "relu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": false,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "t5",
|
20 |
+
"n_positions": 512,
|
21 |
+
"num_decoder_layers": 12,
|
22 |
+
"num_heads": 12,
|
23 |
+
"num_layers": 12,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"problem_type": "single_label_classification",
|
27 |
+
"relative_attention_max_distance": 128,
|
28 |
+
"relative_attention_num_buckets": 32,
|
29 |
+
"task_specific_params": {
|
30 |
+
"summarization": {
|
31 |
+
"early_stopping": true,
|
32 |
+
"length_penalty": 2.0,
|
33 |
+
"max_length": 200,
|
34 |
+
"min_length": 30,
|
35 |
+
"no_repeat_ngram_size": 3,
|
36 |
+
"num_beams": 4,
|
37 |
+
"prefix": "summarize: "
|
38 |
+
},
|
39 |
+
"translation_en_to_de": {
|
40 |
+
"early_stopping": true,
|
41 |
+
"max_length": 300,
|
42 |
+
"num_beams": 4,
|
43 |
+
"prefix": "translate English to German: "
|
44 |
+
},
|
45 |
+
"translation_en_to_fr": {
|
46 |
+
"early_stopping": true,
|
47 |
+
"max_length": 300,
|
48 |
+
"num_beams": 4,
|
49 |
+
"prefix": "translate English to French: "
|
50 |
+
},
|
51 |
+
"translation_en_to_ro": {
|
52 |
+
"early_stopping": true,
|
53 |
+
"max_length": 300,
|
54 |
+
"num_beams": 4,
|
55 |
+
"prefix": "translate English to Romanian: "
|
56 |
+
}
|
57 |
+
},
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.35.2",
|
60 |
+
"use_cache": true,
|
61 |
+
"vocab_size": 32128
|
62 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42fc2fec27b327606beb1b146fed8e80037f846a771ffc1bc758b0e21d0fc10f
|
3 |
+
size 894016712
|
runs/Mar22_22-15-50_dsail2/events.out.tfevents.1711160155.dsail2.28517.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a929e4b7d17c26df68af52491fbe7a395fd371193dad5d4b0e08ae0fbc8c84c
|
3 |
+
size 5069
|
runs/Mar22_22-16-56_dsail2/events.out.tfevents.1711160219.dsail2.29710.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e10210e05194582f1844d2ef3b7ef3fd4994a3d030645d642b615319ce5156f
|
3 |
+
size 11853
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29924a5b3404a58a6b432ec9f30f43385cb968356397ba903ef3d5c0b890cb58
|
3 |
+
size 4207
|