File size: 1,919 Bytes
366ec82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
  "_name_or_path": "nghuyong/ernie-3.0-xbase-zh",
  "architectures": [
    "ErnieForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "classifier_dropout": null,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 1024,
  "id2label": {
    "0": "O",
    "1": "B-position",
    "2": "I-position",
    "3": "B-name",
    "4": "I-name",
    "5": "B-movie",
    "6": "I-movie",
    "7": "B-organization",
    "8": "I-organization",
    "9": "B-company",
    "10": "I-company",
    "11": "B-book",
    "12": "I-book",
    "13": "B-address",
    "14": "I-address",
    "15": "B-scene",
    "16": "I-scene",
    "17": "B-mobile",
    "18": "I-mobile",
    "19": "B-email",
    "20": "I-email",
    "21": "B-game",
    "22": "I-game",
    "23": "B-government",
    "24": "I-government",
    "25": "B-QQ",
    "26": "I-QQ",
    "27": "B-vx",
    "28": "I-vx"
  },
  "initializer_range": 0.02,
  "intermediate_size": 4096,
  "label2id": {
    "B-QQ": 25,
    "B-address": 13,
    "B-book": 11,
    "B-company": 9,
    "B-email": 19,
    "B-game": 21,
    "B-government": 23,
    "B-mobile": 17,
    "B-movie": 5,
    "B-name": 3,
    "B-organization": 7,
    "B-position": 1,
    "B-scene": 15,
    "B-vx": 27,
    "I-QQ": 26,
    "I-address": 14,
    "I-book": 12,
    "I-company": 10,
    "I-email": 20,
    "I-game": 22,
    "I-government": 24,
    "I-mobile": 18,
    "I-movie": 6,
    "I-name": 4,
    "I-organization": 8,
    "I-position": 2,
    "I-scene": 16,
    "I-vx": 28,
    "O": 0
  },
  "layer_norm_eps": 1e-05,
  "max_position_embeddings": 2048,
  "model_type": "ernie",
  "num_attention_heads": 16,
  "num_hidden_layers": 20,
  "pad_token_id": 0,
  "position_embedding_type": "absolute",
  "task_type_vocab_size": 16,
  "torch_dtype": "float32",
  "transformers_version": "4.35.2",
  "type_vocab_size": 4,
  "use_cache": true,
  "use_task_id": true,
  "vocab_size": 40000
}