From 9615d9b79cb5f131ec83fb8db2ee4be05e5c0c44 Mon Sep 17 00:00:00 2001 From: system Date: Fri, 24 Apr 2020 16:07:33 +0000 Subject: [PATCH] Update config.json --- config.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/config.json b/config.json index 3996226..6a591ef 100644 --- a/config.json +++ b/config.json @@ -1,9 +1,11 @@ { + "_num_labels": 8, "architectures": [ "XLMRobertaForTokenClassification" ], "attention_probs_dropout_prob": 0.1, - "finetuning_task": null, + "bos_token_id": 0, + "eos_token_id": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 1024, @@ -19,7 +21,6 @@ }, "initializer_range": 0.02, "intermediate_size": 4096, - "is_decoder": false, "label2id": { "B-LOC": 0, "B-MISC": 1, @@ -32,15 +33,11 @@ }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, + "model_type": "xlm-roberta", "num_attention_heads": 16, "num_hidden_layers": 24, - "num_labels": 8, - "output_attentions": false, - "output_hidden_states": false, "output_past": true, - "pruned_heads": {}, - "torchscript": false, + "pad_token_id": 1, "type_vocab_size": 1, - "use_bfloat16": false, "vocab_size": 250002 }