trainMd commited on
Commit
475730d
·
verified ·
1 Parent(s): d6423a4

Upload folder using huggingface_hub

Browse files
Files changed (35) hide show
  1. .gitattributes +1 -0
  2. canonical/canonical_entity.csv +0 -0
  3. canonical/canonical_entity_history.csv +0 -0
  4. evaluation/evaluation_pairs.csv +2 -2
  5. evaluation/ground_truth_entity_map.csv +0 -0
  6. evaluation/record_generation_metadata.csv +0 -0
  7. huggingface/business_registry/test.csv +0 -0
  8. huggingface/business_registry/train.csv +0 -0
  9. huggingface/business_registry/validation.csv +0 -0
  10. huggingface/canonical_entity/test.csv +0 -0
  11. huggingface/canonical_entity/train.csv +0 -0
  12. huggingface/canonical_entity/validation.csv +0 -0
  13. huggingface/canonical_entity_history/test.csv +0 -0
  14. huggingface/canonical_entity_history/train.csv +0 -0
  15. huggingface/canonical_entity_history/validation.csv +0 -0
  16. huggingface/evaluation_pairs/test.csv +0 -0
  17. huggingface/evaluation_pairs/train.csv +3 -0
  18. huggingface/evaluation_pairs/validation.csv +0 -0
  19. huggingface/ground_truth_entity_map/test.csv +0 -0
  20. huggingface/ground_truth_entity_map/train.csv +0 -0
  21. huggingface/ground_truth_entity_map/validation.csv +0 -0
  22. huggingface/inspection_record/test.csv +0 -0
  23. huggingface/inspection_record/train.csv +0 -0
  24. huggingface/inspection_record/validation.csv +0 -0
  25. huggingface/record_generation_metadata/test.csv +0 -0
  26. huggingface/record_generation_metadata/train.csv +0 -0
  27. huggingface/record_generation_metadata/validation.csv +0 -0
  28. huggingface/tax_registry/test.csv +0 -0
  29. huggingface/tax_registry/train.csv +0 -0
  30. huggingface/tax_registry/validation.csv +0 -0
  31. metadata/dataset_summary.json +115 -49
  32. metadata/generation_config.json +26 -0
  33. observed/business_registry.csv +0 -0
  34. observed/inspection_record.csv +0 -0
  35. observed/tax_registry.csv +0 -0
.gitattributes CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  evaluation/evaluation_pairs.csv filter=lfs diff=lfs merge=lfs -text
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  evaluation/evaluation_pairs.csv filter=lfs diff=lfs merge=lfs -text
62
+ huggingface/evaluation_pairs/train.csv filter=lfs diff=lfs merge=lfs -text
canonical/canonical_entity.csv CHANGED
The diff for this file is too large to render. See raw diff
 
canonical/canonical_entity_history.csv CHANGED
The diff for this file is too large to render. See raw diff
 
evaluation/evaluation_pairs.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddbf87cc10392012cc8faccf2f732a263a888fea675cf57bdd7b177c4d542998
3
- size 19930225
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee43cca02a06827d66c575ad804e772e768f26f7e1df70b3ac151569c4d7cdbe
3
+ size 20589878
evaluation/ground_truth_entity_map.csv CHANGED
The diff for this file is too large to render. See raw diff
 
evaluation/record_generation_metadata.csv CHANGED
The diff for this file is too large to render. See raw diff
 
huggingface/business_registry/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/business_registry/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/business_registry/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/canonical_entity/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/canonical_entity/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/canonical_entity/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/canonical_entity_history/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/canonical_entity_history/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/canonical_entity_history/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/evaluation_pairs/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/evaluation_pairs/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8cba52d4c4f34f6e4662fe417de9bd88bd31cbe0650f8dfcbff85d389f40d14
3
+ size 11982733
huggingface/evaluation_pairs/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/ground_truth_entity_map/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/ground_truth_entity_map/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/ground_truth_entity_map/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/inspection_record/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/inspection_record/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/inspection_record/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/record_generation_metadata/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/record_generation_metadata/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/record_generation_metadata/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/tax_registry/test.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/tax_registry/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
huggingface/tax_registry/validation.csv ADDED
The diff for this file is too large to render. See raw diff
 
metadata/dataset_summary.json CHANGED
@@ -1,21 +1,21 @@
1
  {
2
  "random_seed": 42,
3
  "total_entities": 12000,
4
- "total_records": 37441,
5
  "records_by_source": {
6
- "business_registry": 11437,
7
- "tax_registry": 11439,
8
- "inspection_record": 14565
9
  },
10
  "entities_by_cluster_size": {
11
- "1": 2432,
12
- "2": 3014,
13
- "3": 2944,
14
- "4": 2410,
15
- "5": 699,
16
- "14": 501
17
  },
18
- "duplicate_entity_rate": 0.7973333333333333,
19
  "missingness_by_field": {
20
  "business_registry": {
21
  "unique_id": 0.0,
@@ -23,11 +23,11 @@
23
  "record_date": 0.0,
24
  "business_registration_no": 0.0,
25
  "registration_date": 0.0,
26
- "registered_business_name": 0.0002623065489201714,
27
- "registered_tax_code": 0.0023607589402815424,
28
- "registered_representative_name": 0.0011366617119874093,
29
- "registered_address": 0.003322549619655504,
30
- "registered_industry": 0.001661274809827752,
31
  "registration_status": 0.0
32
  },
33
  "tax_registry": {
@@ -35,11 +35,11 @@
35
  "record_id": 0.0,
36
  "record_date": 0.0,
37
  "tax_record_no": 0.0,
38
- "taxpayer_name": 0.0012238832065740012,
39
- "tax_code": 0.013113034356150013,
40
- "taxpayer_representative_name": 0.0064690969490340065,
41
- "tax_registered_address": 0.00952880496546901,
42
- "tax_industry": 0.0075181396975260075,
43
  "tax_status": 0.0
44
  },
45
  "inspection_record": {
@@ -48,37 +48,103 @@
48
  "record_date": 0.0,
49
  "inspection_no": 0.0,
50
  "inspection_date": 0.0,
51
- "inspected_entity_name": 0.010230003432887057,
52
- "inspected_tax_code": 0.09694473051836594,
53
- "inspected_representative": 0.024030209406110538,
54
- "inspection_address": 0.02581531067627875,
55
- "observed_industry": 0.026021283899759697
56
  }
57
  },
58
  "error_type_distribution": {
59
- "abbreviation": 11506,
60
- "address_shorten_or_missing": 13835,
61
- "date_format_variation": 25672,
62
- "english_name": 1656,
63
- "placeholder_value": 13562,
64
- "tax_code_missing": 12881,
65
- "text_typo": 8269,
66
- "casing_punctuation_noise": 13311,
67
- "remove_diacritics": 14133,
68
- "field_missing": 7471,
69
- "ocr_confusion": 5326,
70
- "token_order_or_concatenation": 6899,
71
- "short_or_trade_name": 8532,
72
- "stale_value": 865,
73
- "tax_code_typo": 1672,
74
- "tax_code_format_noise": 1048
75
  },
76
- "records_without_errors": 4571,
77
- "records_with_3plus_errors": 20902,
78
- "true_positive_pair_count": 78887,
79
- "cross_period_positive_count": 21896,
80
- "hard_positive_count": 70254,
81
- "hard_negative_count": 2303,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  "orphan_record_count": 0,
83
- "cross_split_pair_count": 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  }
 
1
  {
2
  "random_seed": 42,
3
  "total_entities": 12000,
4
+ "total_records": 37748,
5
  "records_by_source": {
6
+ "business_registry": 11579,
7
+ "tax_registry": 11451,
8
+ "inspection_record": 14718
9
  },
10
  "entities_by_cluster_size": {
11
+ "1": 2439,
12
+ "2": 2991,
13
+ "3": 2968,
14
+ "4": 2366,
15
+ "5": 705,
16
+ "14": 531
17
  },
18
+ "duplicate_entity_rate": 0.79675,
19
  "missingness_by_field": {
20
  "business_registry": {
21
  "unique_id": 0.0,
 
23
  "record_date": 0.0,
24
  "business_registration_no": 0.0,
25
  "registration_date": 0.0,
26
+ "registered_business_name": 0.00017272648760687453,
27
+ "registered_tax_code": 0.002331807582692806,
28
+ "registered_representative_name": 0.0015545383884618706,
29
+ "registered_address": 0.0028499870455134294,
30
+ "registered_industry": 0.001640901632265308,
31
  "registration_status": 0.0
32
  },
33
  "tax_registry": {
 
35
  "record_id": 0.0,
36
  "record_date": 0.0,
37
  "tax_record_no": 0.0,
38
+ "taxpayer_name": 0.0018339009693476552,
39
+ "tax_code": 0.012051349227141734,
40
+ "taxpayer_representative_name": 0.0058510173783949,
41
+ "tax_registered_address": 0.00803423281809449,
42
+ "tax_industry": 0.007335603877390621,
43
  "tax_status": 0.0
44
  },
45
  "inspection_record": {
 
48
  "record_date": 0.0,
49
  "inspection_no": 0.0,
50
  "inspection_date": 0.0,
51
+ "inspected_entity_name": 0.011822258459029759,
52
+ "inspected_tax_code": 0.09627666802554695,
53
+ "inspected_representative": 0.02534311727136839,
54
+ "inspection_address": 0.027857045794265525,
55
+ "observed_industry": 0.025275173257236036
56
  }
57
  },
58
  "error_type_distribution": {
59
+ "casing_punctuation_noise": 13550,
60
+ "date_format_variation": 25768,
61
+ "abbreviation": 11785,
62
+ "remove_diacritics": 14187,
63
+ "address_shorten_or_missing": 14018,
64
+ "field_missing": 7602,
65
+ "placeholder_value": 13861,
66
+ "short_or_trade_name": 8593,
67
+ "tax_code_missing": 13146,
68
+ "ocr_confusion": 5323,
69
+ "token_order_or_concatenation": 6953,
70
+ "tax_code_typo": 1765,
71
+ "text_typo": 8415,
72
+ "english_name": 1639,
73
+ "tax_code_format_noise": 1022,
74
+ "stale_value": 846
75
  },
76
+ "current_status_distribution": {
77
+ "active": 11038,
78
+ "inactive": 601,
79
+ "suspended": 361
80
+ },
81
+ "current_industry_distribution": {
82
+ "Thương mại Dịch vụ": 3081,
83
+ "Công nghệ Thông tin": 1653,
84
+ "Xây dựng": 1602,
85
+ "Vận tải Logistics": 1200,
86
+ "Sản xuất Cơ khí": 1039,
87
+ "Dịch vụ Y tế": 826,
88
+ "Giáo dục Đào tạo": 726,
89
+ "Bất động sản": 574,
90
+ "Nông nghiệp": 467,
91
+ "Nhà hàng Khách sạn": 464,
92
+ "Tư vấn Tài chính": 368
93
+ },
94
+ "history_status_distribution": {
95
+ "active": 18314,
96
+ "inactive": 601,
97
+ "suspended": 585
98
+ },
99
+ "current_status_mismatch_count": 0,
100
+ "records_without_errors": 4577,
101
+ "records_with_3plus_errors": 21258,
102
+ "true_positive_pair_count": 81462,
103
+ "cross_period_positive_count": 23148,
104
+ "hard_positive_count": 72638,
105
+ "hard_negative_count": 2298,
106
  "orphan_record_count": 0,
107
+ "cross_split_pair_count": 0,
108
+ "huggingface_split_counts": {
109
+ "canonical_entity": {
110
+ "train": 7200,
111
+ "validation": 2400,
112
+ "test": 2400
113
+ },
114
+ "canonical_entity_history": {
115
+ "train": 11651,
116
+ "validation": 3937,
117
+ "test": 3912
118
+ },
119
+ "ground_truth_entity_map": {
120
+ "train": 22391,
121
+ "validation": 7727,
122
+ "test": 7630
123
+ },
124
+ "evaluation_pairs": {
125
+ "train": 95430,
126
+ "validation": 34362,
127
+ "test": 33132
128
+ },
129
+ "record_generation_metadata": {
130
+ "train": 22391,
131
+ "validation": 7727,
132
+ "test": 7630
133
+ },
134
+ "business_registry": {
135
+ "train": 6899,
136
+ "validation": 2391,
137
+ "test": 2289
138
+ },
139
+ "tax_registry": {
140
+ "train": 6736,
141
+ "validation": 2322,
142
+ "test": 2393
143
+ },
144
+ "inspection_record": {
145
+ "train": 8756,
146
+ "validation": 3014,
147
+ "test": 2948
148
+ }
149
+ }
150
  }
metadata/generation_config.json CHANGED
@@ -11,6 +11,32 @@
11
  "validation": 0.2,
12
  "test": 0.2
13
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  "record_count_values": [
15
  1,
16
  2,
 
11
  "validation": 0.2,
12
  "test": 0.2
13
  },
14
+ "industries": [
15
+ "Thương mại Dịch vụ",
16
+ "Công nghệ Thông tin",
17
+ "Xây dựng",
18
+ "Vận tải Logistics",
19
+ "Sản xuất Cơ khí",
20
+ "Dịch vụ Y tế",
21
+ "Giáo dục Đào tạo",
22
+ "Bất động sản",
23
+ "Nông nghiệp",
24
+ "Tư vấn Tài chính",
25
+ "Nhà hàng Khách sạn"
26
+ ],
27
+ "industry_weights": [
28
+ 0.25,
29
+ 0.14,
30
+ 0.13,
31
+ 0.1,
32
+ 0.09,
33
+ 0.07,
34
+ 0.06,
35
+ 0.05,
36
+ 0.04,
37
+ 0.03,
38
+ 0.04
39
+ ],
40
  "record_count_values": [
41
  1,
42
  2,
observed/business_registry.csv CHANGED
The diff for this file is too large to render. See raw diff
 
observed/inspection_record.csv CHANGED
The diff for this file is too large to render. See raw diff
 
observed/tax_registry.csv CHANGED
The diff for this file is too large to render. See raw diff