gyr66
Add Model
366ec82
raw
history blame
1.92 kB
{
"_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
}