machinelearningzuu commited on
Commit
f2521fb
·
verified ·
1 Parent(s): 85f6e93

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +57 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dslim/bert-base-NER",
3
+ "_num_labels": 9,
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "I-URL_PERSONAL",
15
+ "2": "B-USERNAME",
16
+ "3": "B-STREET_ADDRESS",
17
+ "4": "B-NAME_STUDENT",
18
+ "5": "I-ID_NUM",
19
+ "6": "I-STREET_ADDRESS",
20
+ "7": "I-PHONE_NUM",
21
+ "8": "B-EMAIL",
22
+ "9": "B-PHONE_NUM",
23
+ "10": "B-URL_PERSONAL",
24
+ "11": "B-ID_NUM",
25
+ "12": "I-NAME_STUDENT"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "B-EMAIL": 8,
31
+ "B-ID_NUM": 11,
32
+ "B-NAME_STUDENT": 4,
33
+ "B-PHONE_NUM": 9,
34
+ "B-STREET_ADDRESS": 3,
35
+ "B-URL_PERSONAL": 10,
36
+ "B-USERNAME": 2,
37
+ "I-ID_NUM": 5,
38
+ "I-NAME_STUDENT": 12,
39
+ "I-PHONE_NUM": 7,
40
+ "I-STREET_ADDRESS": 6,
41
+ "I-URL_PERSONAL": 1,
42
+ "O": 0
43
+ },
44
+ "layer_norm_eps": 1e-12,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "bert",
47
+ "num_attention_heads": 12,
48
+ "num_hidden_layers": 12,
49
+ "output_past": true,
50
+ "pad_token_id": 0,
51
+ "position_embedding_type": "absolute",
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.42.3",
54
+ "type_vocab_size": 2,
55
+ "use_cache": true,
56
+ "vocab_size": 28996
57
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:496510297fc27c0858e7338fa05ed553b5c8cd8826666c17ea253c7f177c8052
3
+ size 430942044