|
{ |
|
"_name_or_path": "dslim/bert-large-NER", |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"directionality": "bidi", |
|
"eos_token_ids": null, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "O", |
|
"1": "B-PER", |
|
"2": "I-PER", |
|
"3": "B-ORG", |
|
"4": "I-ORG", |
|
"5": "B-LOC", |
|
"6": "I-LOC", |
|
"7": "B-MISC", |
|
"8": "I-MISC", |
|
"9": "B-ACTOR", |
|
"10": "I-ACTOR", |
|
"11": "B-TITLE", |
|
"12": "I-TITLE", |
|
"13": "B-YEAR", |
|
"14": "I-YEAR", |
|
"15": "B-GENRE", |
|
"16": "I-GENRE", |
|
"17": "B-PLOT", |
|
"18": "I-PLOT", |
|
"19": "B-DIRECTOR", |
|
"20": "I-DIRECTOR", |
|
"21": "B-RATINGS_AVERAGE", |
|
"22": "I-RATINGS_AVERAGE", |
|
"23": "B-RATING", |
|
"24": "I-RATING", |
|
"25": "B-CHARACTER", |
|
"26": "I-CHARACTER", |
|
"27": "B-SONG", |
|
"28": "I-SONG", |
|
"29": "B-REVIEW", |
|
"30": "I-REVIEW", |
|
"31": "B-TRAILER", |
|
"32": "I-TRAILER" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 4096, |
|
"label2id": { |
|
"B-ACTOR": 9, |
|
"B-CHARACTER": 25, |
|
"B-DIRECTOR": 19, |
|
"B-GENRE": 15, |
|
"B-LOC": 5, |
|
"B-MISC": 7, |
|
"B-ORG": 3, |
|
"B-PER": 1, |
|
"B-PLOT": 17, |
|
"B-RATING": 23, |
|
"B-RATINGS_AVERAGE": 21, |
|
"B-REVIEW": 29, |
|
"B-SONG": 27, |
|
"B-TITLE": 11, |
|
"B-TRAILER": 31, |
|
"B-YEAR": 13, |
|
"I-ACTOR": 10, |
|
"I-CHARACTER": 26, |
|
"I-DIRECTOR": 20, |
|
"I-GENRE": 16, |
|
"I-LOC": 6, |
|
"I-MISC": 8, |
|
"I-ORG": 4, |
|
"I-PER": 2, |
|
"I-PLOT": 18, |
|
"I-RATING": 24, |
|
"I-RATINGS_AVERAGE": 22, |
|
"I-REVIEW": 30, |
|
"I-SONG": 28, |
|
"I-TITLE": 12, |
|
"I-TRAILER": 32, |
|
"I-YEAR": 14, |
|
"O": 0 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "bert", |
|
"num_attention_heads": 16, |
|
"num_hidden_layers": 24, |
|
"output_past": true, |
|
"pad_token_id": 0, |
|
"pooler_fc_size": 768, |
|
"pooler_num_attention_heads": 12, |
|
"pooler_num_fc_layers": 3, |
|
"pooler_size_per_head": 128, |
|
"pooler_type": "first_token_transform", |
|
"position_embedding_type": "absolute", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.38.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 28996 |
|
} |
|
|