From 2cfd5ad1f384a79c5dd5d64b612fe16d3fa95292 Mon Sep 17 00:00:00 2001 From: system Date: Fri, 24 Apr 2020 16:07:22 +0000 Subject: [PATCH] Update config.json --- config.json | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/config.json b/config.json index 3755a0f..49dd628 100644 --- a/config.json +++ b/config.json @@ -3,32 +3,20 @@ "XLMRobertaForMaskedLM" ], "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": 768, - "id2label": { - "0": "LABEL_0", - "1": "LABEL_1" - }, "initializer_range": 0.02, "intermediate_size": 3072, - "is_decoder": false, - "label2id": { - "LABEL_0": 0, - "LABEL_1": 1 - }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, + "model_type": "xlm-roberta", "num_attention_heads": 12, "num_hidden_layers": 12, - "num_labels": 2, - "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 }