10a1b3169b6325c9ff48f6409c0d5dc57e85fa882b19fb1c5ebe80c02b8b5194
Browse files- added_tokens.json +14 -0
- artifacts.ckpt +3 -0
- config.json +24 -0
- config.yaml +29 -0
- events.out.tfevents.1689487544.phy-deino.physics.uu.se.10151.0 +3 -0
- hparams.yaml +1 -0
added_tokens.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_city>": 57527,
|
3 |
+
"</s_date>": 57525,
|
4 |
+
"</s_state>": 57529,
|
5 |
+
"</s_zip>": 57531,
|
6 |
+
"<s_>": 57533,
|
7 |
+
"<s_city>": 57528,
|
8 |
+
"<s_date>": 57526,
|
9 |
+
"<s_iitcdip>": 57523,
|
10 |
+
"<s_state>": 57530,
|
11 |
+
"<s_synthdog>": 57524,
|
12 |
+
"<s_zip>": 57532,
|
13 |
+
"<sep/>": 57522
|
14 |
+
}
|
artifacts.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3afbb878b6754086d9c709895947c8199452044616428fd0b761e45363c19118
|
3 |
+
size 1608921691
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "naver-clova-ix/donut-base",
|
3 |
+
"align_long_axis": false,
|
4 |
+
"architectures": [
|
5 |
+
"DonutModel"
|
6 |
+
],
|
7 |
+
"decoder_layer": 4,
|
8 |
+
"encoder_layer": [
|
9 |
+
2,
|
10 |
+
2,
|
11 |
+
14,
|
12 |
+
2
|
13 |
+
],
|
14 |
+
"input_size": [
|
15 |
+
1280,
|
16 |
+
960
|
17 |
+
],
|
18 |
+
"max_length": 768,
|
19 |
+
"max_position_embeddings": 768,
|
20 |
+
"model_type": "donut",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.30.2",
|
23 |
+
"window_size": 10
|
24 |
+
}
|
config.yaml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
resume_from_checkpoint_path: None
|
2 |
+
result_path: './result'
|
3 |
+
pretrained_model_name_or_path: 'naver-clova-ix/donut-base'
|
4 |
+
dataset_name_or_paths:
|
5 |
+
- 'dataset/nist/'
|
6 |
+
sort_json_key: False
|
7 |
+
train_batch_sizes:
|
8 |
+
- 1
|
9 |
+
val_batch_sizes:
|
10 |
+
- 1
|
11 |
+
input_size:
|
12 |
+
- 1280
|
13 |
+
- 960
|
14 |
+
max_length: 768
|
15 |
+
align_long_axis: False
|
16 |
+
num_nodes: 1
|
17 |
+
seed: 2022
|
18 |
+
lr: 3e-05
|
19 |
+
warmup_steps: 300
|
20 |
+
num_training_samples_per_epoch: 800
|
21 |
+
max_epochs: 30
|
22 |
+
max_steps: -1
|
23 |
+
num_workers: 8
|
24 |
+
val_check_interval: 1.0
|
25 |
+
check_val_every_n_epoch: 3
|
26 |
+
gradient_clip_val: 1.0
|
27 |
+
verbose: True
|
28 |
+
exp_name: 'train_nist'
|
29 |
+
exp_version: '20230716_080527'
|
events.out.tfevents.1689487544.phy-deino.physics.uu.se.10151.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a5846797464aee9637feb58b1d8d0ae1ef89ff1d57b64f930f739607b3d9f3f
|
3 |
+
size 107171
|
hparams.yaml
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{}
|