DanSarm commited on
Commit
f9edebc
·
verified ·
1 Parent(s): 00e98d3

Fine-tuned Construction Receipt Model

Browse files
Files changed (5) hide show
  1. README.md +5 -5
  2. config.json +5 -5
  3. model.safetensors +2 -2
  4. tokenizer_config.json +2 -2
  5. training_args.bin +2 -2
README.md CHANGED
@@ -16,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  This model is a fine-tuned version of [DanSarm/receipt-core-model](https://huggingface.co/DanSarm/receipt-core-model) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.8086
20
 
21
  ## Model description
22
 
@@ -48,14 +48,14 @@ The following hyperparameters were used during training:
48
 
49
  | Training Loss | Epoch | Step | Validation Loss |
50
  |:-------------:|:-----:|:----:|:---------------:|
51
- | No log | 1.0 | 2 | 0.8897 |
52
- | No log | 2.0 | 4 | 0.8323 |
53
- | No log | 3.0 | 6 | 0.8086 |
54
 
55
 
56
  ### Framework versions
57
 
58
  - Transformers 4.48.1
59
- - Pytorch 2.5.1+cu124
60
  - Datasets 3.2.0
61
  - Tokenizers 0.21.0
 
16
 
17
  This model is a fine-tuned version of [DanSarm/receipt-core-model](https://huggingface.co/DanSarm/receipt-core-model) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 5.5149
20
 
21
  ## Model description
22
 
 
48
 
49
  | Training Loss | Epoch | Step | Validation Loss |
50
  |:-------------:|:-----:|:----:|:---------------:|
51
+ | No log | 1.0 | 2 | 7.6513 |
52
+ | No log | 2.0 | 4 | 6.0836 |
53
+ | No log | 3.0 | 6 | 5.5149 |
54
 
55
 
56
  ### Framework versions
57
 
58
  - Transformers 4.48.1
59
+ - Pytorch 2.6.0+cu124
60
  - Datasets 3.2.0
61
  - Tokenizers 0.21.0
config.json CHANGED
@@ -4,9 +4,9 @@
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,
 
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:be3cae2d78dbf43116265e7183fdcde2475c43c261c46c223a2d294866a90cb8
3
- size 242041896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd67950a31bd1d566516ed8a853137d022663df0d24cd6a37ac631cc021fafc
3
+ size 891644712
tokenizer_config.json CHANGED
@@ -928,12 +928,12 @@
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
  "max_length": 128,
936
- "model_max_length": 512,
937
  "pad_to_multiple_of": null,
938
  "pad_token": "<pad>",
939
  "pad_token_type_id": 0,
 
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
  "max_length": 128,
936
+ "model_max_length": 1000000000000000019884624838656,
937
  "pad_to_multiple_of": null,
938
  "pad_token": "<pad>",
939
  "pad_token_type_id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:028617996871b47c558b1d577b112de6829e3c2691c996f4c9f3738075a78b93
3
- size 5496
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ebf4f712e783eac697e2e264d7886d225280dbca954c5fcfdba0db8245e236
3
+ size 5560