adityaprakhar commited on
Commit
b741397
·
verified ·
1 Parent(s): 3823448

Training in progress, step 500

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "microsoft/layoutlmv3-base",
3
  "architectures": [
4
  "LayoutLMv3ForTokenClassification"
5
  ],
@@ -15,62 +15,64 @@
15
  "hidden_size": 768,
16
  "id2label": {
17
  "0": "attorneys for plaintiff",
18
- "1": "attorneys for defendant",
19
- "2": "attorneys for co-defendant",
20
- "3": "fax",
21
- "4": "attorney_name",
22
- "5": "SBN",
23
- "6": "lawfirm",
24
- "7": "other",
25
- "8": "parties",
26
- "9": "attorney for defendant/cross-complainant/cross-defendant",
27
- "10": "counsel for plaintiff",
28
- "11": "attorneys for co-counsel",
29
  "12": "telephone",
30
- "13": "address",
31
- "14": "co-counsel for plaintiff",
32
- "15": "email"
33
  },
34
  "initializer_range": 0.02,
35
  "input_size": 224,
36
  "intermediate_size": 3072,
37
  "label2id": {
38
- "SBN": 5,
39
- "address": 13,
40
- "attorney for defendant/cross-complainant/cross-defendant": 9,
41
- "attorney_name": 4,
42
- "attorneys for co-counsel": 11,
43
- "attorneys for co-defendant": 2,
44
- "attorneys for defendant": 1,
45
  "attorneys for plaintiff": 0,
46
- "co-counsel for plaintiff": 14,
47
- "counsel for plaintiff": 10,
48
- "email": 15,
49
- "fax": 3,
50
- "lawfirm": 6,
51
- "other": 7,
52
- "parties": 8,
53
  "telephone": 12
54
  },
55
- "layer_norm_eps": 1e-05,
56
  "max_2d_position_embeddings": 1024,
57
- "max_position_embeddings": 514,
58
  "max_rel_2d_pos": 256,
59
  "max_rel_pos": 128,
60
  "model_type": "layoutlmv3",
61
  "num_attention_heads": 12,
62
  "num_channels": 3,
63
  "num_hidden_layers": 12,
64
- "pad_token_id": 1,
 
65
  "patch_size": 16,
 
66
  "rel_2d_pos_bins": 64,
67
  "rel_pos_bins": 32,
68
- "second_input_size": 112,
69
  "shape_size": 128,
70
  "text_embed": true,
71
  "torch_dtype": "float32",
72
  "transformers_version": "4.39.0.dev0",
73
- "type_vocab_size": 1,
 
74
  "visual_embed": true,
75
- "vocab_size": 50265
76
  }
 
1
  {
2
+ "_name_or_path": "microsoft/layoutlm-base-uncased",
3
  "architectures": [
4
  "LayoutLMv3ForTokenClassification"
5
  ],
 
15
  "hidden_size": 768,
16
  "id2label": {
17
  "0": "attorneys for plaintiff",
18
+ "1": "SBN",
19
+ "2": "counsel for plaintiff",
20
+ "3": "lawfirm",
21
+ "4": "parties",
22
+ "5": "email",
23
+ "6": "co-counsel for plaintiff",
24
+ "7": "attorney_name",
25
+ "8": "attorneys for co-counsel",
26
+ "9": "other",
27
+ "10": "fax",
28
+ "11": "attorneys for co-defendant",
29
  "12": "telephone",
30
+ "13": "attorney for defendant/cross-complainant/cross-defendant",
31
+ "14": "attorneys for defendant",
32
+ "15": "address"
33
  },
34
  "initializer_range": 0.02,
35
  "input_size": 224,
36
  "intermediate_size": 3072,
37
  "label2id": {
38
+ "SBN": 1,
39
+ "address": 15,
40
+ "attorney for defendant/cross-complainant/cross-defendant": 13,
41
+ "attorney_name": 7,
42
+ "attorneys for co-counsel": 8,
43
+ "attorneys for co-defendant": 11,
44
+ "attorneys for defendant": 14,
45
  "attorneys for plaintiff": 0,
46
+ "co-counsel for plaintiff": 6,
47
+ "counsel for plaintiff": 2,
48
+ "email": 5,
49
+ "fax": 10,
50
+ "lawfirm": 3,
51
+ "other": 9,
52
+ "parties": 4,
53
  "telephone": 12
54
  },
55
+ "layer_norm_eps": 1e-12,
56
  "max_2d_position_embeddings": 1024,
57
+ "max_position_embeddings": 512,
58
  "max_rel_2d_pos": 256,
59
  "max_rel_pos": 128,
60
  "model_type": "layoutlmv3",
61
  "num_attention_heads": 12,
62
  "num_channels": 3,
63
  "num_hidden_layers": 12,
64
+ "output_past": true,
65
+ "pad_token_id": 0,
66
  "patch_size": 16,
67
+ "position_embedding_type": "absolute",
68
  "rel_2d_pos_bins": 64,
69
  "rel_pos_bins": 32,
 
70
  "shape_size": 128,
71
  "text_embed": true,
72
  "torch_dtype": "float32",
73
  "transformers_version": "4.39.0.dev0",
74
+ "type_vocab_size": 2,
75
+ "use_cache": true,
76
  "visual_embed": true,
77
+ "vocab_size": 30522
78
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0a399559ff8695f03d8070521c03f4f400c146926ac9ab76a0496e89901701f
3
- size 503745816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a497fbae4db76bf633d0c6179841f4951588dfdb5cd15f671fe6e34121d89c
3
+ size 443092232
runs/Mar13_06-11-13_bfebc32db449/events.out.tfevents.1710310274.bfebc32db449.363.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a541ff6d297e270b1f0004272fa9ef887dfed3d6fafebe327a641e77b83a5604
3
+ size 11102
special_tokens_map.json CHANGED
@@ -1,50 +1,36 @@
1
  {
2
- "bos_token": {
3
- "content": "<s>",
4
- "lstrip": false,
5
- "normalized": true,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
  "cls_token": {
10
- "content": "<s>",
11
  "lstrip": false,
12
- "normalized": true,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
- "eos_token": {
17
- "content": "</s>",
18
- "lstrip": false,
19
- "normalized": true,
20
  "rstrip": false,
21
  "single_word": false
22
  },
23
  "mask_token": {
24
- "content": "<mask>",
25
- "lstrip": true,
26
- "normalized": true,
27
  "rstrip": false,
28
  "single_word": false
29
  },
30
  "pad_token": {
31
- "content": "<pad>",
32
  "lstrip": false,
33
- "normalized": true,
34
  "rstrip": false,
35
  "single_word": false
36
  },
37
  "sep_token": {
38
- "content": "</s>",
39
  "lstrip": false,
40
- "normalized": true,
41
  "rstrip": false,
42
  "single_word": false
43
  },
44
  "unk_token": {
45
- "content": "<unk>",
46
  "lstrip": false,
47
- "normalized": true,
48
  "rstrip": false,
49
  "single_word": false
50
  }
 
1
  {
 
 
 
 
 
 
 
2
  "cls_token": {
3
+ "content": "[CLS]",
4
  "lstrip": false,
5
+ "normalized": false,
 
 
 
 
 
 
 
6
  "rstrip": false,
7
  "single_word": false
8
  },
9
  "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
  "pad_token": {
17
+ "content": "[PAD]",
18
  "lstrip": false,
19
+ "normalized": false,
20
  "rstrip": false,
21
  "single_word": false
22
  },
23
  "sep_token": {
24
+ "content": "[SEP]",
25
  "lstrip": false,
26
+ "normalized": false,
27
  "rstrip": false,
28
  "single_word": false
29
  },
30
  "unk_token": {
31
+ "content": "[UNK]",
32
  "lstrip": false,
33
+ "normalized": false,
34
  "rstrip": false,
35
  "single_word": false
36
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,79 +1,56 @@
1
  {
2
- "add_prefix_space": true,
3
  "added_tokens_decoder": {
4
  "0": {
5
- "content": "<s>",
6
  "lstrip": false,
7
- "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
- "1": {
13
- "content": "<pad>",
14
  "lstrip": false,
15
- "normalized": true,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  },
20
- "2": {
21
- "content": "</s>",
22
  "lstrip": false,
23
- "normalized": true,
24
  "rstrip": false,
25
  "single_word": false,
26
  "special": true
27
  },
28
- "3": {
29
- "content": "<unk>",
30
  "lstrip": false,
31
- "normalized": true,
32
  "rstrip": false,
33
  "single_word": false,
34
  "special": true
35
  },
36
- "50264": {
37
- "content": "<mask>",
38
- "lstrip": true,
39
- "normalized": true,
40
  "rstrip": false,
41
  "single_word": false,
42
  "special": true
43
  }
44
  },
45
- "apply_ocr": false,
46
- "bos_token": "<s>",
47
  "clean_up_tokenization_spaces": true,
48
- "cls_token": "<s>",
49
- "cls_token_box": [
50
- 0,
51
- 0,
52
- 0,
53
- 0
54
- ],
55
- "eos_token": "</s>",
56
- "errors": "replace",
57
- "mask_token": "<mask>",
58
  "model_max_length": 512,
59
- "only_label_first_subword": true,
60
- "pad_token": "<pad>",
61
- "pad_token_box": [
62
- 0,
63
- 0,
64
- 0,
65
- 0
66
- ],
67
- "pad_token_label": -100,
68
- "processor_class": "LayoutLMv3Processor",
69
- "sep_token": "</s>",
70
- "sep_token_box": [
71
- 0,
72
- 0,
73
- 0,
74
- 0
75
- ],
76
- "tokenizer_class": "LayoutLMv3Tokenizer",
77
- "trim_offsets": true,
78
- "unk_token": "<unk>"
79
  }
 
1
  {
 
2
  "added_tokens_decoder": {
3
  "0": {
4
+ "content": "[PAD]",
5
  "lstrip": false,
6
+ "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "100": {
12
+ "content": "[UNK]",
13
  "lstrip": false,
14
+ "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "101": {
20
+ "content": "[CLS]",
21
  "lstrip": false,
22
+ "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "102": {
28
+ "content": "[SEP]",
29
  "lstrip": false,
30
+ "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  }
43
  },
 
 
44
  "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "max_len": 512,
 
 
 
 
 
 
49
  "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "LayoutLMTokenizer",
55
+ "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:209d58b310c62dee95c4f0c72f225b5bc4a29a9332710f52fde7a32473841dcb
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6f0b84f08d7b979070db356c4d7052a12fc971f626f5fce7f6d3826c779b461
3
  size 4856
vocab.txt ADDED
The diff for this file is too large to render. See raw diff