RedHitMark
commited on
Commit
•
ddfd218
1
Parent(s):
26d6bf1
Upload DistilBertForTokenClassification
Browse files- config.json +99 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./models/best_model",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-ACCOUNTNUM",
|
14 |
+
"2": "I-ACCOUNTNUM",
|
15 |
+
"3": "B-BUILDINGNUM",
|
16 |
+
"4": "I-BUILDINGNUM",
|
17 |
+
"5": "B-CITY",
|
18 |
+
"6": "I-CITY",
|
19 |
+
"7": "B-CREDITCARDNUMBER",
|
20 |
+
"8": "I-CREDITCARDNUMBER",
|
21 |
+
"9": "B-DATEOFBIRTH",
|
22 |
+
"10": "I-DATEOFBIRTH",
|
23 |
+
"11": "B-DRIVERLICENSENUM",
|
24 |
+
"12": "I-DRIVERLICENSENUM",
|
25 |
+
"13": "B-EMAIL",
|
26 |
+
"14": "I-EMAIL",
|
27 |
+
"15": "B-GIVENNAME",
|
28 |
+
"16": "I-GIVENNAME",
|
29 |
+
"17": "B-IDCARDNUM",
|
30 |
+
"18": "I-IDCARDNUM",
|
31 |
+
"19": "B-PASSWORD",
|
32 |
+
"20": "I-PASSWORD",
|
33 |
+
"21": "B-SOCIALNUM",
|
34 |
+
"22": "I-SOCIALNUM",
|
35 |
+
"23": "B-STREET",
|
36 |
+
"24": "I-STREET",
|
37 |
+
"25": "B-SURNAME",
|
38 |
+
"26": "I-SURNAME",
|
39 |
+
"27": "B-TAXNUM",
|
40 |
+
"28": "I-TAXNUM",
|
41 |
+
"29": "B-TELEPHONENUM",
|
42 |
+
"30": "I-TELEPHONENUM",
|
43 |
+
"31": "B-USERNAME",
|
44 |
+
"32": "I-USERNAME",
|
45 |
+
"33": "B-ZIPCODE",
|
46 |
+
"34": "I-ZIPCODE"
|
47 |
+
},
|
48 |
+
"initializer_range": 0.02,
|
49 |
+
"label2id": {
|
50 |
+
"B-ACCOUNTNUM": 1,
|
51 |
+
"B-BUILDINGNUM": 3,
|
52 |
+
"B-CITY": 5,
|
53 |
+
"B-CREDITCARDNUMBER": 7,
|
54 |
+
"B-DATEOFBIRTH": 9,
|
55 |
+
"B-DRIVERLICENSENUM": 11,
|
56 |
+
"B-EMAIL": 13,
|
57 |
+
"B-GIVENNAME": 15,
|
58 |
+
"B-IDCARDNUM": 17,
|
59 |
+
"B-PASSWORD": 19,
|
60 |
+
"B-SOCIALNUM": 21,
|
61 |
+
"B-STREET": 23,
|
62 |
+
"B-SURNAME": 25,
|
63 |
+
"B-TAXNUM": 27,
|
64 |
+
"B-TELEPHONENUM": 29,
|
65 |
+
"B-USERNAME": 31,
|
66 |
+
"B-ZIPCODE": 33,
|
67 |
+
"I-ACCOUNTNUM": 2,
|
68 |
+
"I-BUILDINGNUM": 4,
|
69 |
+
"I-CITY": 6,
|
70 |
+
"I-CREDITCARDNUMBER": 8,
|
71 |
+
"I-DATEOFBIRTH": 10,
|
72 |
+
"I-DRIVERLICENSENUM": 12,
|
73 |
+
"I-EMAIL": 14,
|
74 |
+
"I-GIVENNAME": 16,
|
75 |
+
"I-IDCARDNUM": 18,
|
76 |
+
"I-PASSWORD": 20,
|
77 |
+
"I-SOCIALNUM": 22,
|
78 |
+
"I-STREET": 24,
|
79 |
+
"I-SURNAME": 26,
|
80 |
+
"I-TAXNUM": 28,
|
81 |
+
"I-TELEPHONENUM": 30,
|
82 |
+
"I-USERNAME": 32,
|
83 |
+
"I-ZIPCODE": 34,
|
84 |
+
"O": 0
|
85 |
+
},
|
86 |
+
"max_position_embeddings": 512,
|
87 |
+
"model_type": "distilbert",
|
88 |
+
"n_heads": 12,
|
89 |
+
"n_layers": 6,
|
90 |
+
"output_past": true,
|
91 |
+
"pad_token_id": 0,
|
92 |
+
"qa_dropout": 0.1,
|
93 |
+
"seq_classif_dropout": 0.2,
|
94 |
+
"sinusoidal_pos_embds": false,
|
95 |
+
"tie_weights_": true,
|
96 |
+
"torch_dtype": "float32",
|
97 |
+
"transformers_version": "4.46.0",
|
98 |
+
"vocab_size": 119547
|
99 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07acc5f5704d877201e9bd82a259f4089dd09b259a365e3719dfc88d33da6832
|
3 |
+
size 539056340
|