From 8072b766b6fbe03b2b271c1edcd2e9cb878f4f54 Mon Sep 17 00:00:00 2001 From: system Date: Fri, 24 Apr 2020 16:05:44 +0000 Subject: [PATCH] Update config.json --- config.json | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index d04f72c..ffc8add 100644 --- a/config.json +++ b/config.json @@ -1,23 +1,32 @@ { + "_num_labels": 3, "architectures": [ "RobertaForSequenceClassification" ], "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, + "id2label": { + "0": "LABEL_0", + "1": "LABEL_1", + "2": "LABEL_2" + }, "initializer_range": 0.02, "intermediate_size": 4096, + "label2id": { + "LABEL_0": 0, + "LABEL_1": 1, + "LABEL_2": 2 + }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, + "model_type": "roberta", "num_attention_heads": 16, "num_hidden_layers": 24, - "num_labels": 3, - "output_attentions": false, - "output_hidden_states": false, - "pruned_heads": {}, - "torchscript": false, + "pad_token_id": 1, "type_vocab_size": 1, "vocab_size": 50265 }