ner4opt-roberta-v1 / config.json
TheBeast
Model update
c62bdca
raw
history blame
No virus
1.2 kB
{
"_name_or_path": "roberta-large",
"architectures": [
"RobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "O",
"1": "B-CONST_DIR",
"2": "I-CONST_DIR",
"3": "B-LIMIT",
"4": "I-LIMIT",
"5": "B-VAR",
"6": "I-VAR",
"7": "B-OBJ_DIR",
"8": "B-OBJ_NAME",
"9": "I-OBJ_NAME",
"10": "B-PARAM",
"11": "I-PARAM"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-CONST_DIR": 1,
"B-LIMIT": 3,
"B-OBJ_DIR": 7,
"B-OBJ_NAME": 8,
"B-PARAM": 10,
"B-VAR": 5,
"I-CONST_DIR": 2,
"I-LIMIT": 4,
"I-OBJ_NAME": 9,
"I-PARAM": 11,
"I-VAR": 6,
"O": 0
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.20.1",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}