Update config.json

This commit is contained in:
system 2020-04-24 16:07:33 +00:00
parent 12bf440479
commit 9615d9b79c
1 changed files with 5 additions and 8 deletions

View File

@ -1,9 +1,11 @@
{ {
"_num_labels": 8,
"architectures": [ "architectures": [
"XLMRobertaForTokenClassification" "XLMRobertaForTokenClassification"
], ],
"attention_probs_dropout_prob": 0.1, "attention_probs_dropout_prob": 0.1,
"finetuning_task": null, "bos_token_id": 0,
"eos_token_id": 2,
"hidden_act": "gelu", "hidden_act": "gelu",
"hidden_dropout_prob": 0.1, "hidden_dropout_prob": 0.1,
"hidden_size": 1024, "hidden_size": 1024,
@ -19,7 +21,6 @@
}, },
"initializer_range": 0.02, "initializer_range": 0.02,
"intermediate_size": 4096, "intermediate_size": 4096,
"is_decoder": false,
"label2id": { "label2id": {
"B-LOC": 0, "B-LOC": 0,
"B-MISC": 1, "B-MISC": 1,
@ -32,15 +33,11 @@
}, },
"layer_norm_eps": 1e-05, "layer_norm_eps": 1e-05,
"max_position_embeddings": 514, "max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 16, "num_attention_heads": 16,
"num_hidden_layers": 24, "num_hidden_layers": 24,
"num_labels": 8,
"output_attentions": false,
"output_hidden_states": false,
"output_past": true, "output_past": true,
"pruned_heads": {}, "pad_token_id": 1,
"torchscript": false,
"type_vocab_size": 1, "type_vocab_size": 1,
"use_bfloat16": false,
"vocab_size": 250002 "vocab_size": 250002
} }