DanSarm commited on
Commit
95a4dcd
·
verified ·
1 Parent(s): ab5d763

Training complete!

Browse files
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
- base_model: t5-small
5
  tags:
6
  - generated_from_trainer
7
  model-index:
@@ -14,9 +14,9 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # receipt-core-model
16
 
17
- This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 1.4566
20
 
21
  ## Model description
22
 
@@ -35,33 +35,31 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - learning_rate: 0.0005
39
- - train_batch_size: 16
40
- - eval_batch_size: 16
41
  - seed: 42
 
 
42
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
  - lr_scheduler_type: linear
44
- - num_epochs: 100
45
 
46
  ### Training results
47
 
48
  | Training Loss | Epoch | Step | Validation Loss |
49
  |:-------------:|:-----:|:----:|:---------------:|
50
- | 5.6391 | 1.0 | 8 | 1.9149 |
51
- | 1.1508 | 2.0 | 16 | 1.4115 |
52
- | 0.5832 | 3.0 | 24 | 1.3418 |
53
- | 0.3521 | 4.0 | 32 | 1.3398 |
54
- | 0.262 | 5.0 | 40 | 1.3215 |
55
- | 0.2127 | 6.0 | 48 | 1.3763 |
56
- | 0.1671 | 7.0 | 56 | 1.4019 |
57
- | 0.1425 | 8.0 | 64 | 1.4218 |
58
- | 0.1332 | 9.0 | 72 | 1.4471 |
59
- | 0.1183 | 10.0 | 80 | 1.4566 |
60
 
61
 
62
  ### Framework versions
63
 
64
  - Transformers 4.48.1
65
- - Pytorch 2.5.1+cu124
66
  - Datasets 3.2.0
67
  - Tokenizers 0.21.0
 
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
+ base_model: t5-base
5
  tags:
6
  - generated_from_trainer
7
  model-index:
 
14
 
15
  # receipt-core-model
16
 
17
+ This model is a fine-tuned version of [t5-base](https://huggingface.co/t5-base) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 8.6191
20
 
21
  ## Model description
22
 
 
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
+ - learning_rate: 0.001
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
  - seed: 42
42
+ - gradient_accumulation_steps: 16
43
+ - total_train_batch_size: 128
44
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
  - lr_scheduler_type: linear
46
+ - num_epochs: 200
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss |
51
  |:-------------:|:-----:|:----:|:---------------:|
52
+ | No log | 0 | 0 | 8.6191 |
53
+ | No log | 0 | 0 | 8.6191 |
54
+ | No log | 0 | 0 | 8.6191 |
55
+ | No log | 0 | 0 | 8.6191 |
56
+ | No log | 0 | 0 | 8.6191 |
57
+ | No log | 0 | 0 | 8.6191 |
 
 
 
 
58
 
59
 
60
  ### Framework versions
61
 
62
  - Transformers 4.48.1
63
+ - Pytorch 2.6.0+cu124
64
  - Datasets 3.2.0
65
  - Tokenizers 0.21.0
config.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "_name_or_path": "t5-small",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
6
  "classifier_dropout": 0.0,
7
- "d_ff": 2048,
8
  "d_kv": 64,
9
- "d_model": 512,
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": 6,
22
- "num_heads": 8,
23
- "num_layers": 6,
24
  "output_past": true,
25
  "pad_token_id": 0,
26
  "relative_attention_max_distance": 128,
 
1
  {
2
+ "_name_or_path": "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,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34218b4fe92e3965b4b2c788b88b493c1d924485617d9f2bc695a46ba0bea540
3
- size 242041896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc2e7c858126b4fca7136693c76d392df0e8da05f58f3f06edee52f20dcadd96
3
+ size 891644712
special_tokens_map.json CHANGED
@@ -101,25 +101,7 @@
101
  "<extra_id_98>",
102
  "<extra_id_99>"
103
  ],
104
- "eos_token": {
105
- "content": "</s>",
106
- "lstrip": false,
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
@@ -928,11 +928,11 @@
928
  "<extra_id_98>",
929
  "<extra_id_99>"
930
  ],
931
- "clean_up_tokenization_spaces": true,
932
  "eos_token": "</s>",
933
  "extra_ids": 100,
934
  "extra_special_tokens": {},
935
- "model_max_length": 512,
936
  "pad_token": "<pad>",
937
  "tokenizer_class": "T5Tokenizer",
938
  "unk_token": "<unk>"
 
928
  "<extra_id_98>",
929
  "<extra_id_99>"
930
  ],
931
+ "clean_up_tokenization_spaces": false,
932
  "eos_token": "</s>",
933
  "extra_ids": 100,
934
  "extra_special_tokens": {},
935
+ "model_max_length": 1000000000000000019884624838656,
936
  "pad_token": "<pad>",
937
  "tokenizer_class": "T5Tokenizer",
938
  "unk_token": "<unk>"
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ed87c7836f9d14cd0f9067ce05ebe69c735622017e7f91dd4deeb7fef1b3460
3
- size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50b395219fe48af3debdf0965de7246070b7a1aa85e4b029897567e13fd5f236
3
+ size 5496