varun-v-rao
commited on
Commit
•
2f6bcf7
1
Parent(s):
a4d9fa8
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: t5-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: t5-large-lora-4.72M-snli
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# t5-large-lora-4.72M-snli
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [t5-large](https://huggingface.co/t5-large) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.6356
|
21 |
+
- Accuracy: 0.7945
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 128
|
42 |
+
- eval_batch_size: 128
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 3
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
52 |
+
| 0.3516 | 1.0 | 4292 | 0.2753 | 0.9041 |
|
53 |
+
| 0.3315 | 2.0 | 8584 | 0.2624 | 0.9077 |
|
54 |
+
| 0.3283 | 3.0 | 12876 | 0.2595 | 0.9101 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.35.2
|
60 |
+
- Pytorch 2.0.1+cu118
|
61 |
+
- Datasets 2.15.0
|
62 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "t5-large",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 4096,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 1024,
|
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 |
+
"id2label": {
|
16 |
+
"0": "LABEL_0",
|
17 |
+
"1": "LABEL_1",
|
18 |
+
"2": "LABEL_2"
|
19 |
+
},
|
20 |
+
"initializer_factor": 1.0,
|
21 |
+
"is_encoder_decoder": true,
|
22 |
+
"is_gated_act": false,
|
23 |
+
"label2id": {
|
24 |
+
"LABEL_0": 0,
|
25 |
+
"LABEL_1": 1,
|
26 |
+
"LABEL_2": 2
|
27 |
+
},
|
28 |
+
"layer_norm_epsilon": 1e-06,
|
29 |
+
"model_type": "t5",
|
30 |
+
"n_positions": 512,
|
31 |
+
"num_decoder_layers": 24,
|
32 |
+
"num_heads": 16,
|
33 |
+
"num_layers": 24,
|
34 |
+
"output_past": true,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"relative_attention_max_distance": 128,
|
38 |
+
"relative_attention_num_buckets": 32,
|
39 |
+
"task_specific_params": {
|
40 |
+
"summarization": {
|
41 |
+
"early_stopping": true,
|
42 |
+
"length_penalty": 2.0,
|
43 |
+
"max_length": 200,
|
44 |
+
"min_length": 30,
|
45 |
+
"no_repeat_ngram_size": 3,
|
46 |
+
"num_beams": 4,
|
47 |
+
"prefix": "summarize: "
|
48 |
+
},
|
49 |
+
"translation_en_to_de": {
|
50 |
+
"early_stopping": true,
|
51 |
+
"max_length": 300,
|
52 |
+
"num_beams": 4,
|
53 |
+
"prefix": "translate English to German: "
|
54 |
+
},
|
55 |
+
"translation_en_to_fr": {
|
56 |
+
"early_stopping": true,
|
57 |
+
"max_length": 300,
|
58 |
+
"num_beams": 4,
|
59 |
+
"prefix": "translate English to French: "
|
60 |
+
},
|
61 |
+
"translation_en_to_ro": {
|
62 |
+
"early_stopping": true,
|
63 |
+
"max_length": 300,
|
64 |
+
"num_beams": 4,
|
65 |
+
"prefix": "translate English to Romanian: "
|
66 |
+
}
|
67 |
+
},
|
68 |
+
"torch_dtype": "float32",
|
69 |
+
"transformers_version": "4.35.2",
|
70 |
+
"use_cache": true,
|
71 |
+
"vocab_size": 32128
|
72 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03676830efcb23831af265d2aea6b19dd0efad1d2f12146d5b2c3213e3274d95
|
3 |
+
size 2954951748
|
runs/Jan26_02-49-19_gl1509.arc-ts.umich.edu/events.out.tfevents.1706272833.gl1509.arc-ts.umich.edu.3546625.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:952145b56c7c2bb08d0f3956772436b2e25a40484adf68cfd5a6b0a4451a16b8
|
3 |
+
size 1380
|