SciNERTopic / config.json
RJuro's picture
Upload BertForTokenClassification
d35e58c
raw
history blame
1.29 kB
{
"_name_or_path": "/content/drive/MyDrive/Colab/NER-bert-sci/ner-scibert-model",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-Material",
"1": "O",
"2": "B-OtherScientificTerm",
"3": "I-OtherScientificTerm",
"4": "B-Generic",
"5": "B-Method",
"6": "I-Method",
"7": "B-Task",
"8": "I-Task",
"9": "I-Material",
"10": "B-Metric",
"11": "I-Metric",
"12": "I-Generic"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Generic": 4,
"B-Material": 0,
"B-Method": 5,
"B-Metric": 10,
"B-OtherScientificTerm": 2,
"B-Task": 7,
"I-Generic": 12,
"I-Material": 9,
"I-Method": 6,
"I-Metric": 11,
"I-OtherScientificTerm": 3,
"I-Task": 8,
"O": 1
},
"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",
"torch_dtype": "float32",
"transformers_version": "4.24.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 31116
}