bert-ner-japanese / config.json
hayashi-jurabi's picture
add model.
ea0704a
{
"_name_or_path": "cl-tohoku/bert-base-japanese-v2",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-\u4eba\u540d",
"2": "I-\u4eba\u540d",
"3": "B-\u6cd5\u4eba\u540d",
"4": "I-\u6cd5\u4eba\u540d",
"5": "B-\u653f\u6cbb\u7684\u7d44\u7e54\u540d",
"6": "I-\u653f\u6cbb\u7684\u7d44\u7e54\u540d",
"7": "B-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d",
"8": "I-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d",
"9": "B-\u5730\u540d",
"10": "I-\u5730\u540d",
"11": "B-\u65bd\u8a2d\u540d",
"12": "I-\u65bd\u8a2d\u540d",
"13": "B-\u88fd\u54c1\u540d",
"14": "I-\u88fd\u54c1\u540d",
"15": "B-\u30a4\u30d9\u30f3\u30c8\u540d",
"16": "I-\u30a4\u30d9\u30f3\u30c8\u540d"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d": 7,
"B-\u30a4\u30d9\u30f3\u30c8\u540d": 15,
"B-\u4eba\u540d": 1,
"B-\u5730\u540d": 9,
"B-\u653f\u6cbb\u7684\u7d44\u7e54\u540d": 5,
"B-\u65bd\u8a2d\u540d": 11,
"B-\u6cd5\u4eba\u540d": 3,
"B-\u88fd\u54c1\u540d": 13,
"I-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d": 8,
"I-\u30a4\u30d9\u30f3\u30c8\u540d": 16,
"I-\u4eba\u540d": 2,
"I-\u5730\u540d": 10,
"I-\u653f\u6cbb\u7684\u7d44\u7e54\u540d": 6,
"I-\u65bd\u8a2d\u540d": 12,
"I-\u6cd5\u4eba\u540d": 4,
"I-\u88fd\u54c1\u540d": 14,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"tokenizer_class": "BertJapaneseTokenizer",
"torch_dtype": "float32",
"transformers_version": "4.22.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32768
}