prashantloni
commited on
Commit
•
6c0a7e9
1
Parent(s):
5f93472
End of training
Browse files- README.md +54 -0
- added_tokens.json +27 -0
- generation_config.json +8 -0
- preprocessor_config.json +26 -0
- runs/Apr13_07-56-51_111895df5221/events.out.tfevents.1681372626.111895df5221.226.0 +2 -2
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +41 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
model-index:
|
8 |
+
- name: aadhaar_2
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# aadhaar_2
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [prashantloni/aadhaar](https://huggingface.co/prashantloni/aadhaar) on the imagefolder dataset.
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 2e-05
|
37 |
+
- train_batch_size: 2
|
38 |
+
- eval_batch_size: 8
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- num_epochs: 20
|
43 |
+
- mixed_precision_training: Native AMP
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.27.4
|
52 |
+
- Pytorch 2.0.0+cu118
|
53 |
+
- Datasets 2.11.0
|
54 |
+
- Tokenizers 0.13.3
|
added_tokens.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_aadhaar_number>": 57538,
|
3 |
+
"</s_address>": 57542,
|
4 |
+
"</s_address_2>": 57536,
|
5 |
+
"</s_dob>": 57534,
|
6 |
+
"</s_doy>": 57540,
|
7 |
+
"</s_father_mother>": 57532,
|
8 |
+
"</s_father_name>": 57544,
|
9 |
+
"</s_gender>": 57530,
|
10 |
+
"</s_mobile_no>": 57528,
|
11 |
+
"</s_mother_name>": 57546,
|
12 |
+
"</s_name>": 57526,
|
13 |
+
"<s_aadhaar_number>": 57537,
|
14 |
+
"<s_address>": 57541,
|
15 |
+
"<s_address_2>": 57535,
|
16 |
+
"<s_dob>": 57533,
|
17 |
+
"<s_doy>": 57539,
|
18 |
+
"<s_father_mother>": 57531,
|
19 |
+
"<s_father_name>": 57543,
|
20 |
+
"<s_gender>": 57529,
|
21 |
+
"<s_iitcdip>": 57523,
|
22 |
+
"<s_mobile_no>": 57527,
|
23 |
+
"<s_mother_name>": 57545,
|
24 |
+
"<s_name>": 57525,
|
25 |
+
"<s_synthdog>": 57524,
|
26 |
+
"<sep/>": 57522
|
27 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"forced_eos_token_id": 2,
|
6 |
+
"pad_token_id": 1,
|
7 |
+
"transformers_version": "4.27.4"
|
8 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_align_long_axis": false,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": true,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"do_thumbnail": true,
|
8 |
+
"image_mean": [
|
9 |
+
0.5,
|
10 |
+
0.5,
|
11 |
+
0.5
|
12 |
+
],
|
13 |
+
"image_processor_type": "DonutImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.5,
|
16 |
+
0.5,
|
17 |
+
0.5
|
18 |
+
],
|
19 |
+
"processor_class": "DonutProcessor",
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": [
|
23 |
+
720,
|
24 |
+
960
|
25 |
+
]
|
26 |
+
}
|
runs/Apr13_07-56-51_111895df5221/events.out.tfevents.1681372626.111895df5221.226.0
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:37616ea70a9dc1db8f17262df9f69c11fa7ffd77687dd58e760c57aa8f6a29c2
|
3 |
+
size 9736
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb9e3dce4c326195d08fc3dd0f7e2eee1da8595c847bf4c1a9c78b7a82d47e2d
|
3 |
+
size 1296245
|
special_tokens_map.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s_name>",
|
4 |
+
"</s_name>",
|
5 |
+
"<s_mobile_no>",
|
6 |
+
"</s_mobile_no>",
|
7 |
+
"<s_gender>",
|
8 |
+
"</s_gender>",
|
9 |
+
"<s_father_mother>",
|
10 |
+
"</s_father_mother>",
|
11 |
+
"<s_dob>",
|
12 |
+
"</s_dob>",
|
13 |
+
"<s_address_2>",
|
14 |
+
"</s_address_2>",
|
15 |
+
"<s_aadhaar_number>",
|
16 |
+
"</s_aadhaar_number>",
|
17 |
+
"<s_doy>",
|
18 |
+
"</s_doy>",
|
19 |
+
"<s_address>",
|
20 |
+
"</s_address>",
|
21 |
+
"<s_father_name>",
|
22 |
+
"</s_father_name>",
|
23 |
+
"<s_mother_name>",
|
24 |
+
"</s_mother_name>",
|
25 |
+
"<s>",
|
26 |
+
"</s>"
|
27 |
+
],
|
28 |
+
"bos_token": "<s>",
|
29 |
+
"cls_token": "<s>",
|
30 |
+
"eos_token": "</s>",
|
31 |
+
"mask_token": {
|
32 |
+
"content": "<mask>",
|
33 |
+
"lstrip": true,
|
34 |
+
"normalized": true,
|
35 |
+
"rstrip": false,
|
36 |
+
"single_word": false
|
37 |
+
},
|
38 |
+
"pad_token": "<pad>",
|
39 |
+
"sep_token": "</s>",
|
40 |
+
"unk_token": "<unk>"
|
41 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"__type": "AddedToken",
|
7 |
+
"content": "<mask>",
|
8 |
+
"lstrip": true,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"model_max_length": 1000000000000000019884624838656,
|
14 |
+
"pad_token": "<pad>",
|
15 |
+
"processor_class": "DonutProcessor",
|
16 |
+
"sep_token": "</s>",
|
17 |
+
"sp_model_kwargs": {},
|
18 |
+
"special_tokens_map_file": null,
|
19 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
20 |
+
"unk_token": "<unk>"
|
21 |
+
}
|