trainMd commited on
Commit
f9656d7
·
verified ·
1 Parent(s): a011338

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
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
canonical/canonical_entity.csv ADDED
The diff for this file is too large to render. See raw diff
 
canonical/canonical_entity_history.csv ADDED
The diff for this file is too large to render. See raw diff
 
evaluation/evaluation_pairs.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01dea9820a4fe1f2ee0aadea8a65489b258c4212c6d54ccd2d756dd47750b6ca
3
+ size 19639275
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 ADDED
The diff for this file is too large to render. See raw diff
 
metadata/dataset_summary.json CHANGED
@@ -1,81 +1,76 @@
1
  {
2
- "scenario_name": "data-splink",
3
- "n_canonical_entities": 8000,
4
- "n_observed_records": 20000,
5
- "n_evaluation_labels": 19688,
6
  "records_by_source": {
7
- "business_registry": 4613,
8
- "inspection_record": 5305,
9
- "license_record": 5395,
10
- "tax_registry": 4687
11
  },
12
  "entities_by_cluster_size": {
13
- "1": 2511,
14
- "2": 1994,
15
- "3": 1684,
16
- "4": 1035,
17
- "5": 486,
18
- "6": 195,
19
- "7": 67,
20
- "8": 14,
21
- "9": 12,
22
- "10": 2
23
  },
24
- "duplicate_entity_rate": 0.686125,
25
  "missingness_by_field": {
26
- "tax_code": 0.5176,
27
- "ward": 0.03805,
28
- "representative_name": 0.0,
29
- "business_name": 0.0,
30
- "address": 0.0,
31
- "industry": 0.0,
32
- "province": 0.0,
33
- "district": 0.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  },
35
- "top_error_types": {
36
- "tax_code_missing": 10352,
37
- "embedding_only_win_candidate": 6857,
38
- "address_shorten": 6688,
39
- "remove_diacritics": 6318,
40
- "merge_tokens": 3343,
41
- "english_translation": 2598,
42
- "token_order_swap": 2342,
43
- "legal_type_abbreviation": 2314,
44
- "short_name_or_abbrev": 2278,
45
- "typo": 1902,
46
- "representative_abbreviation": 1901,
47
- "representative_remove_diacritics": 1640,
48
- "representative_token_order_swap": 1264,
49
- "industry_abbreviation": 1095,
50
- "tax_code_typo": 1034,
51
- "address_remove_diacritics": 1005,
52
- "address_drop_admin": 761,
53
- "tax_code_wrong": 696,
54
- "legal_type_abbreviation_light": 551
55
  },
56
- "variant_difficulty_distribution": {
57
- "easy": 0.18175,
58
- "hard": 0.44605,
59
- "medium": 0.3722
60
- },
61
- "evaluation_pair_type_distribution": {
62
- "positive_hard": 6000,
63
- "negative_random": 5999,
64
- "negative_hard": 3849,
65
- "positive_regular": 3840
66
- },
67
- "evaluation_pair_difficulty_distribution": {
68
- "hard": 14757,
69
- "medium": 4432,
70
- "easy": 499
71
- },
72
- "hard_negative_distribution": {
73
- "same_name_different_legal_type": 1159,
74
- "similar_name_same_industry": 1020,
75
- "same_short_name_same_district": 1003,
76
- "same_address_different_business": 1000,
77
- "same_representative_different_business": 968,
78
- "same_short_name_different_province": 871
79
- },
80
- "design_note": "Dataset v2 keeps duplicate rate more realistic, weakens tax_code, increases semantic/text variants, and adds hard negatives so embedding has a meaningful role."
81
  }
 
1
  {
2
+ "random_seed": 42,
3
+ "total_entities": 12000,
4
+ "total_records": 37327,
 
5
  "records_by_source": {
6
+ "business_registry": 11688,
7
+ "tax_registry": 11179,
8
+ "inspection_record": 14460
 
9
  },
10
  "entities_by_cluster_size": {
11
+ "1": 2401,
12
+ "2": 3031,
13
+ "3": 2971,
14
+ "4": 2390,
15
+ "5": 723,
16
+ "14": 484
 
 
 
 
17
  },
18
+ "duplicate_entity_rate": 0.7999166666666667,
19
  "missingness_by_field": {
20
+ "business_registry": {
21
+ "unique_id": 0.0,
22
+ "record_id": 0.0,
23
+ "record_date": 0.0,
24
+ "business_registration_no": 0.0,
25
+ "registration_date": 0.0,
26
+ "registered_business_name": 0.0,
27
+ "registered_tax_code": 0.004962354551676934,
28
+ "registered_representative_name": 0.0,
29
+ "registered_address": 0.003593429158110883,
30
+ "registered_industry": 0.0,
31
+ "registration_status": 0.0
32
+ },
33
+ "tax_registry": {
34
+ "unique_id": 0.0,
35
+ "record_id": 0.0,
36
+ "record_date": 0.0,
37
+ "tax_record_no": 0.0,
38
+ "taxpayer_name": 0.0,
39
+ "tax_code": 0.020932104839431077,
40
+ "taxpayer_representative_name": 0.0,
41
+ "tax_registered_address": 0.01771178101798014,
42
+ "tax_industry": 0.0,
43
+ "tax_status": 0.0
44
+ },
45
+ "inspection_record": {
46
+ "unique_id": 0.0,
47
+ "record_id": 0.0,
48
+ "record_date": 0.0,
49
+ "inspection_no": 0.0,
50
+ "inspection_date": 0.0,
51
+ "inspected_entity_name": 0.0,
52
+ "inspected_tax_code": 0.5744813278008298,
53
+ "inspected_representative": 0.0,
54
+ "inspection_address": 0.052835408022130013,
55
+ "observed_industry": 0.0
56
+ }
57
  },
58
+ "error_type_distribution": {
59
+ "remove_diacritics": 6245,
60
+ "short_or_trade_name": 3448,
61
+ "tax_code_missing": 8599,
62
+ "abbreviation": 4308,
63
+ "text_typo": 2249,
64
+ "address_shorten_or_missing": 6865,
65
+ "stale_value": 861,
66
+ "token_order_or_concatenation": 1701,
67
+ "tax_code_typo": 371,
68
+ "english_name": 855
 
 
 
 
 
 
 
 
 
69
  },
70
+ "true_positive_pair_count": 77558,
71
+ "cross_period_positive_count": 22166,
72
+ "hard_positive_count": 48103,
73
+ "hard_negative_count": 2371,
74
+ "orphan_record_count": 0,
75
+ "cross_split_pair_count": 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
metadata/generation_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "random_seed": 42,
3
+ "n_entities": 12000,
4
+ "sources": [
5
+ "business_registry",
6
+ "tax_registry",
7
+ "inspection_record"
8
+ ],
9
+ "split_weights": {
10
+ "train": 0.6,
11
+ "validation": 0.2,
12
+ "test": 0.2
13
+ },
14
+ "record_count_values": [
15
+ 1,
16
+ 2,
17
+ 3,
18
+ 4,
19
+ 5,
20
+ 14
21
+ ],
22
+ "record_count_weights": [
23
+ 0.2,
24
+ 0.25,
25
+ 0.25,
26
+ 0.2,
27
+ 0.06,
28
+ 0.04
29
+ ],
30
+ "error_taxonomy": [
31
+ "remove_diacritics",
32
+ "abbreviation",
33
+ "text_typo",
34
+ "token_order_or_concatenation",
35
+ "short_or_trade_name",
36
+ "english_name",
37
+ "tax_code_missing",
38
+ "tax_code_typo",
39
+ "address_shorten_or_missing",
40
+ "stale_value"
41
+ ]
42
+ }
metadata/matching_field_allowlist.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "unique_id",
3
+ "business_name",
4
+ "tax_code",
5
+ "representative_name",
6
+ "address",
7
+ "industry",
8
+ "record_date"
9
+ ]
metadata/source_field_map.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "business_registry": {
3
+ "business_name": "registered_business_name",
4
+ "tax_code": "registered_tax_code",
5
+ "representative_name": "registered_representative_name",
6
+ "address": "registered_address",
7
+ "industry": "registered_industry",
8
+ "record_date": "record_date"
9
+ },
10
+ "tax_registry": {
11
+ "business_name": "taxpayer_name",
12
+ "tax_code": "tax_code",
13
+ "representative_name": "taxpayer_representative_name",
14
+ "address": "tax_registered_address",
15
+ "industry": "tax_industry",
16
+ "record_date": "record_date"
17
+ },
18
+ "inspection_record": {
19
+ "business_name": "inspected_entity_name",
20
+ "tax_code": "inspected_tax_code",
21
+ "representative_name": "inspected_representative",
22
+ "address": "inspection_address",
23
+ "industry": "observed_industry",
24
+ "record_date": "record_date"
25
+ }
26
+ }
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