getallineedeasily
commited on
Commit
•
f481c9c
1
Parent(s):
13eba7b
End of training
Browse files- README.md +17 -19
- config.json +7 -7
- generation_config.json +1 -1
- model.safetensors +2 -2
- runs/Nov18_06-25-56_65c9a8d1c9df/events.out.tfevents.1731911158.65c9a8d1c9df.1129.0 +3 -0
- special_tokens_map.json +3 -21
- tokenizer_config.json +2 -2
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
-
base_model: google-t5/t5-
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
@@ -16,13 +16,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# billsum-model
|
18 |
|
19 |
-
This model is a fine-tuned version of [google-t5/t5-
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss:
|
22 |
-
- Rouge1: 0.
|
23 |
-
- Rouge2: 0.
|
24 |
-
- Rougel: 0.
|
25 |
-
- Rougelsum: 0.
|
26 |
- Gen Len: 19.0
|
27 |
|
28 |
## Model description
|
@@ -43,27 +43,25 @@ More information needed
|
|
43 |
|
44 |
The following hyperparameters were used during training:
|
45 |
- learning_rate: 2e-05
|
46 |
-
- train_batch_size:
|
47 |
-
- eval_batch_size:
|
48 |
- seed: 42
|
49 |
-
- optimizer:
|
50 |
- lr_scheduler_type: linear
|
51 |
-
- num_epochs:
|
52 |
- mixed_precision_training: Native AMP
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
57 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
58 |
-
|
|
59 |
-
|
|
60 |
-
| No log | 3.0 | 372 | 2.4503 | 0.1735 | 0.075 | 0.1434 | 0.1431 | 19.0 |
|
61 |
-
| No log | 4.0 | 496 | 2.4378 | 0.1774 | 0.077 | 0.147 | 0.1469 | 19.0 |
|
62 |
|
63 |
|
64 |
### Framework versions
|
65 |
|
66 |
-
- Transformers 4.
|
67 |
-
- Pytorch 2.5.
|
68 |
-
- Datasets 3.0
|
69 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
+
base_model: google-t5/t5-base
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
|
|
16 |
|
17 |
# billsum-model
|
18 |
|
19 |
+
This model is a fine-tuned version of [google-t5/t5-base](https://huggingface.co/google-t5/t5-base) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.8421
|
22 |
+
- Rouge1: 0.1961
|
23 |
+
- Rouge2: 0.1049
|
24 |
+
- Rougel: 0.1705
|
25 |
+
- Rougelsum: 0.1707
|
26 |
- Gen Len: 19.0
|
27 |
|
28 |
## Model description
|
|
|
43 |
|
44 |
The following hyperparameters were used during training:
|
45 |
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 1
|
47 |
+
- eval_batch_size: 1
|
48 |
- seed: 42
|
49 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
50 |
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 2
|
52 |
- mixed_precision_training: Native AMP
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
57 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
58 |
+
| 2.395 | 1.0 | 989 | 1.8823 | 0.193 | 0.1042 | 0.1686 | 0.1688 | 19.0 |
|
59 |
+
| 1.9058 | 2.0 | 1978 | 1.8421 | 0.1961 | 0.1049 | 0.1705 | 0.1707 | 19.0 |
|
|
|
|
|
60 |
|
61 |
|
62 |
### Framework versions
|
63 |
|
64 |
+
- Transformers 4.46.2
|
65 |
+
- Pytorch 2.5.1+cu121
|
66 |
+
- Datasets 3.1.0
|
67 |
+
- Tokenizers 0.20.3
|
config.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "google-t5/t5-
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
"classifier_dropout": 0.0,
|
7 |
-
"d_ff":
|
8 |
"d_kv": 64,
|
9 |
-
"d_model":
|
10 |
"decoder_start_token_id": 0,
|
11 |
"dense_act_fn": "relu",
|
12 |
"dropout_rate": 0.1,
|
@@ -18,9 +18,9 @@
|
|
18 |
"layer_norm_epsilon": 1e-06,
|
19 |
"model_type": "t5",
|
20 |
"n_positions": 512,
|
21 |
-
"num_decoder_layers":
|
22 |
-
"num_heads":
|
23 |
-
"num_layers":
|
24 |
"output_past": true,
|
25 |
"pad_token_id": 0,
|
26 |
"relative_attention_max_distance": 128,
|
@@ -55,7 +55,7 @@
|
|
55 |
}
|
56 |
},
|
57 |
"torch_dtype": "float32",
|
58 |
-
"transformers_version": "4.
|
59 |
"use_cache": true,
|
60 |
"vocab_size": 32128
|
61 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google-t5/t5-base",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
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,
|
|
|
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 |
"relative_attention_max_distance": 128,
|
|
|
55 |
}
|
56 |
},
|
57 |
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.46.2",
|
59 |
"use_cache": true,
|
60 |
"vocab_size": 32128
|
61 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"decoder_start_token_id": 0,
|
3 |
"eos_token_id": 1,
|
4 |
"pad_token_id": 0,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"decoder_start_token_id": 0,
|
3 |
"eos_token_id": 1,
|
4 |
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.46.2"
|
6 |
}
|
model.safetensors
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:bc6ccfe186305df271191b4c6de49b8e07f67791ec3709806b5cf3def68be8f5
|
3 |
+
size 891644712
|
runs/Nov18_06-25-56_65c9a8d1c9df/events.out.tfevents.1731911158.65c9a8d1c9df.1129.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2dc84ba8f326753bbc6673fa4567680b34589f2958b8831e611fc9e4a020ee8
|
3 |
+
size 8192
|
special_tokens_map.json
CHANGED
@@ -101,25 +101,7 @@
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
104 |
-
"eos_token":
|
105 |
-
|
106 |
-
|
107 |
-
"normalized": false,
|
108 |
-
"rstrip": false,
|
109 |
-
"single_word": false
|
110 |
-
},
|
111 |
-
"pad_token": {
|
112 |
-
"content": "<pad>",
|
113 |
-
"lstrip": false,
|
114 |
-
"normalized": false,
|
115 |
-
"rstrip": false,
|
116 |
-
"single_word": false
|
117 |
-
},
|
118 |
-
"unk_token": {
|
119 |
-
"content": "<unk>",
|
120 |
-
"lstrip": false,
|
121 |
-
"normalized": false,
|
122 |
-
"rstrip": false,
|
123 |
-
"single_word": false
|
124 |
-
}
|
125 |
}
|
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
104 |
+
"eos_token": "</s>",
|
105 |
+
"pad_token": "<pad>",
|
106 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
tokenizer_config.json
CHANGED
@@ -927,10 +927,10 @@
|
|
927 |
"<extra_id_98>",
|
928 |
"<extra_id_99>"
|
929 |
],
|
930 |
-
"clean_up_tokenization_spaces":
|
931 |
"eos_token": "</s>",
|
932 |
"extra_ids": 100,
|
933 |
-
"model_max_length":
|
934 |
"pad_token": "<pad>",
|
935 |
"tokenizer_class": "T5Tokenizer",
|
936 |
"unk_token": "<unk>"
|
|
|
927 |
"<extra_id_98>",
|
928 |
"<extra_id_99>"
|
929 |
],
|
930 |
+
"clean_up_tokenization_spaces": false,
|
931 |
"eos_token": "</s>",
|
932 |
"extra_ids": 100,
|
933 |
+
"model_max_length": 1000000000000000019884624838656,
|
934 |
"pad_token": "<pad>",
|
935 |
"tokenizer_class": "T5Tokenizer",
|
936 |
"unk_token": "<unk>"
|
training_args.bin
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:d36a8f82de6a42739757fdc9f5ba2f9a17557791de7167c7689d01d92baca55f
|
3 |
+
size 5496
|