bert-finetuned-ner / config.json
andrewoh's picture
Training in progress, epoch 1
4d57b42 verified
raw
history blame
No virus
1.58 kB
{
"_name_or_path": "bert-base-cased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-Reactants",
"2": "I-Reactants",
"3": "B-Prod",
"4": "I-Prod",
"5": "B-Yield",
"6": "I-Yield",
"7": "B-Reaction",
"8": "I-Reaction",
"9": "B-Catalyst_Reagents",
"10": "I-Catalyst_Reagents",
"11": "B-Solvent",
"12": "I-Solvent",
"13": "B-Temperature",
"14": "I-Temperature",
"15": "B-Time",
"16": "I-Time",
"17": "B-Workup_reagents",
"18": "I-Workup_reagents"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Catalyst_Reagents": 9,
"B-Prod": 3,
"B-Reactants": 1,
"B-Reaction": 7,
"B-Solvent": 11,
"B-Temperature": 13,
"B-Time": 15,
"B-Workup_reagents": 17,
"B-Yield": 5,
"I-Catalyst_Reagents": 10,
"I-Prod": 4,
"I-Reactants": 2,
"I-Reaction": 8,
"I-Solvent": 12,
"I-Temperature": 14,
"I-Time": 16,
"I-Workup_reagents": 18,
"I-Yield": 6,
"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",
"torch_dtype": "float32",
"transformers_version": "4.41.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}