Upload 5 files
Browse files- all_results.json +26 -0
- config.4.13.0.json +38 -0
- config.json +68 -0
- eval_results.json +15 -0
- sentencepiece.bpe.model +3 -0
all_results.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 40.0,
|
3 |
+
"eval_accuracy": 0.7919082377476538,
|
4 |
+
"eval_f1": 0.7886944818304172,
|
5 |
+
"eval_loss": 1.6934013366699219,
|
6 |
+
"eval_mem_cpu_alloc_delta": 819200,
|
7 |
+
"eval_mem_cpu_peaked_delta": 0,
|
8 |
+
"eval_mem_gpu_alloc_delta": 0,
|
9 |
+
"eval_mem_gpu_peaked_delta": 377472512,
|
10 |
+
"eval_precision": 0.7367979882648784,
|
11 |
+
"eval_recall": 0.8484555984555985,
|
12 |
+
"eval_runtime": 4.2599,
|
13 |
+
"eval_samples": 71,
|
14 |
+
"eval_samples_per_second": 16.667,
|
15 |
+
"init_mem_cpu_alloc_delta": 1262002176,
|
16 |
+
"init_mem_cpu_peaked_delta": 767479808,
|
17 |
+
"init_mem_gpu_alloc_delta": 1481701376,
|
18 |
+
"init_mem_gpu_peaked_delta": 0,
|
19 |
+
"train_mem_cpu_alloc_delta": 28925952,
|
20 |
+
"train_mem_cpu_peaked_delta": 1562083328,
|
21 |
+
"train_mem_gpu_alloc_delta": 4458109440,
|
22 |
+
"train_mem_gpu_peaked_delta": 7030973440,
|
23 |
+
"train_runtime": 1135.9773,
|
24 |
+
"train_samples": 194,
|
25 |
+
"train_samples_per_second": 0.88
|
26 |
+
}
|
config.4.13.0.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attention_probs_dropout_prob": 0.1,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"coordinate_size": 128,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"fast_qkv": false,
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"has_relative_attention_bias": false,
|
9 |
+
"has_spatial_attention_bias": false,
|
10 |
+
"has_visual_segment_embedding": true,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"image_feature_pool_shape": [
|
15 |
+
7,
|
16 |
+
7,
|
17 |
+
256
|
18 |
+
],
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-05,
|
22 |
+
"max_2d_position_embeddings": 1024,
|
23 |
+
"max_position_embeddings": 514,
|
24 |
+
"max_rel_2d_pos": 256,
|
25 |
+
"max_rel_pos": 128,
|
26 |
+
"model_type": "layoutlmv2",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"output_past": true,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"shape_size": 128,
|
32 |
+
"rel_2d_pos_bins": 64,
|
33 |
+
"rel_pos_bins": 32,
|
34 |
+
"transformers_version": "4.5.1",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"vocab_size": 250002,
|
37 |
+
"tokenizer_class": "LayoutXLMTokenizer"
|
38 |
+
}
|
config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutxlm-base",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"configuration_files": [
|
9 |
+
"config.json",
|
10 |
+
"config.4.13.0.json"
|
11 |
+
],
|
12 |
+
"convert_sync_batchnorm": true,
|
13 |
+
"coordinate_size": 128,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"fast_qkv": false,
|
16 |
+
"finetuning_task": "ner",
|
17 |
+
"gradient_checkpointing": false,
|
18 |
+
"has_relative_attention_bias": false,
|
19 |
+
"has_spatial_attention_bias": false,
|
20 |
+
"has_visual_segment_embedding": true,
|
21 |
+
"hidden_act": "gelu",
|
22 |
+
"hidden_dropout_prob": 0.1,
|
23 |
+
"hidden_size": 768,
|
24 |
+
"id2label": {
|
25 |
+
"0": "LABEL_0",
|
26 |
+
"1": "LABEL_1",
|
27 |
+
"2": "LABEL_2",
|
28 |
+
"3": "LABEL_3",
|
29 |
+
"4": "LABEL_4",
|
30 |
+
"5": "LABEL_5",
|
31 |
+
"6": "LABEL_6"
|
32 |
+
},
|
33 |
+
"image_feature_pool_shape": [
|
34 |
+
7,
|
35 |
+
7,
|
36 |
+
256
|
37 |
+
],
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"intermediate_size": 3072,
|
40 |
+
"label2id": {
|
41 |
+
"LABEL_0": 0,
|
42 |
+
"LABEL_1": 1,
|
43 |
+
"LABEL_2": 2,
|
44 |
+
"LABEL_3": 3,
|
45 |
+
"LABEL_4": 4,
|
46 |
+
"LABEL_5": 5,
|
47 |
+
"LABEL_6": 6
|
48 |
+
},
|
49 |
+
"layer_norm_eps": 1e-05,
|
50 |
+
"max_2d_position_embeddings": 1024,
|
51 |
+
"max_position_embeddings": 514,
|
52 |
+
"max_rel_2d_pos": 256,
|
53 |
+
"max_rel_pos": 128,
|
54 |
+
"model_type": "layoutlmv2",
|
55 |
+
"num_attention_heads": 12,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"output_past": true,
|
58 |
+
"pad_token_id": 1,
|
59 |
+
"position_embedding_type": "absolute",
|
60 |
+
"rel_2d_pos_bins": 64,
|
61 |
+
"rel_pos_bins": 32,
|
62 |
+
"shape_size": 128,
|
63 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
64 |
+
"transformers_version": "4.5.1",
|
65 |
+
"type_vocab_size": 1,
|
66 |
+
"use_cache": true,
|
67 |
+
"vocab_size": 250002
|
68 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 40.0,
|
3 |
+
"eval_accuracy": 0.7919082377476538,
|
4 |
+
"eval_f1": 0.7886944818304172,
|
5 |
+
"eval_loss": 1.6934013366699219,
|
6 |
+
"eval_mem_cpu_alloc_delta": 819200,
|
7 |
+
"eval_mem_cpu_peaked_delta": 0,
|
8 |
+
"eval_mem_gpu_alloc_delta": 0,
|
9 |
+
"eval_mem_gpu_peaked_delta": 377472512,
|
10 |
+
"eval_precision": 0.7367979882648784,
|
11 |
+
"eval_recall": 0.8484555984555985,
|
12 |
+
"eval_runtime": 4.2599,
|
13 |
+
"eval_samples": 71,
|
14 |
+
"eval_samples_per_second": 16.667
|
15 |
+
}
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|