xusenlin commited on
Commit
9376603
1 Parent(s): 290f5af

Upload 5 files

Browse files
Files changed (2) hide show
  1. config.json +21 -10
  2. tokenizer_config.json +2 -2
config.json CHANGED
@@ -9,6 +9,17 @@
9
  "decode_thresh": 0.0,
10
  "directionality": "bidi",
11
  "eos_token_id": 2,
 
 
 
 
 
 
 
 
 
 
 
12
  "head_size": 64,
13
  "head_type": "efficient_global_pointer",
14
  "hidden_act": "gelu",
@@ -29,15 +40,15 @@
29
  "intermediate_size": 3072,
30
  "is_sparse": false,
31
  "label2id": {
32
- "bod": 0,
33
- "dep": 1,
34
- "dis": 2,
35
- "dru": 3,
36
- "equ": 4,
37
- "ite": 5,
38
- "mic": 6,
39
- "pro": 7,
40
- "sym": 8
41
  },
42
  "layer_norm_eps": 1e-12,
43
  "max_position_embeddings": 512,
@@ -53,7 +64,7 @@
53
  "pooler_type": "first_token_transform",
54
  "position_embedding_type": "absolute",
55
  "torch_dtype": "float32",
56
- "transformers_version": "4.24.0",
57
  "type_vocab_size": 2,
58
  "use_cache": true,
59
  "use_rope": true,
 
9
  "decode_thresh": 0.0,
10
  "directionality": "bidi",
11
  "eos_token_id": 2,
12
+ "global_pointer_label2id": {
13
+ "bod": 0,
14
+ "dep": 1,
15
+ "dis": 2,
16
+ "dru": 3,
17
+ "equ": 4,
18
+ "ite": 5,
19
+ "mic": 6,
20
+ "pro": 7,
21
+ "sym": 8
22
+ },
23
  "head_size": 64,
24
  "head_type": "efficient_global_pointer",
25
  "hidden_act": "gelu",
 
40
  "intermediate_size": 3072,
41
  "is_sparse": false,
42
  "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1,
45
+ "LABEL_2": 2,
46
+ "LABEL_3": 3,
47
+ "LABEL_4": 4,
48
+ "LABEL_5": 5,
49
+ "LABEL_6": 6,
50
+ "LABEL_7": 7,
51
+ "LABEL_8": 8
52
  },
53
  "layer_norm_eps": 1e-12,
54
  "max_position_embeddings": 512,
 
64
  "pooler_type": "first_token_transform",
65
  "position_embedding_type": "absolute",
66
  "torch_dtype": "float32",
67
+ "transformers_version": "4.30.2",
68
  "type_vocab_size": 2,
69
  "use_cache": true,
70
  "use_rope": true,
tokenizer_config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
 
2
  "cls_token": "[CLS]",
3
  "do_lower_case": true,
4
  "mask_token": "[MASK]",
5
- "name_or_path": "hfl/chinese-roberta-wwm-ext",
6
  "pad_token": "[PAD]",
7
  "sep_token": "[SEP]",
8
- "special_tokens_map_file": "/home/xusenlin/.cache/huggingface/hub/models--hfl--chinese-roberta-wwm-ext/snapshots/5c58d0b8ec1d9014354d691c538661bf00bfdb44/special_tokens_map.json",
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
  "tokenizer_class": "BertTokenizer",
 
1
  {
2
+ "clean_up_tokenization_spaces": true,
3
  "cls_token": "[CLS]",
4
  "do_lower_case": true,
5
  "mask_token": "[MASK]",
6
+ "model_max_length": 1000000000000000019884624838656,
7
  "pad_token": "[PAD]",
8
  "sep_token": "[SEP]",
 
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
  "tokenizer_class": "BertTokenizer",