From 5c11bea3a9d8570dfb51eb42d2d3bb45cf3883c1 Mon Sep 17 00:00:00 2001 From: system Date: Fri, 24 Apr 2020 15:58:48 +0000 Subject: [PATCH] Update config.json --- config.json | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/config.json b/config.json index dbb5483..6f9f667 100644 --- a/config.json +++ b/config.json @@ -1,11 +1,15 @@ { + "_num_labels": 3, "activation_dropout": 0.0, + "activation_function": "gelu", + "add_final_layer_norm": false, "architectures": [ "BartModel", "BartForMaskedLM", "BartForSequenceClassification" ], "attention_dropout": 0.0, + "bos_token_id": 0, "classif_dropout": 0.0, "d_model": 1024, "decoder_attention_heads": 16, @@ -13,39 +17,32 @@ "decoder_layerdrop": 0.0, "decoder_layers": 12, "decoder_start_token_id": 2, - "do_sample": false, "dropout": 0.1, "encoder_attention_heads": 16, "encoder_ffn_dim": 4096, "encoder_layerdrop": 0.0, "encoder_layers": 12, - "finetuning_task": null, + "eos_token_id": 2, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "init_std": 0.02, - "is_decoder": false, + "is_encoder_decoder": true, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, - "length_penalty": 1.0, - "max_length": 20, "max_position_embeddings": 1024, "model_type": "bart", - "num_beams": 1, + "normalize_before": false, "num_hidden_layers": 12, - "num_labels": 3, - "num_return_sequences": 1, - "output_attentions": false, - "output_hidden_states": false, "output_past": false, + "pad_token_id": 1, "prefix": " ", - "pruned_heads": {}, - "repetition_penalty": 1.0, + "scale_embedding": false, "task_specific_params": { "summarization": { "early_stopping": true, @@ -56,10 +53,5 @@ "num_beams": 4 } }, - "temperature": 1.0, - "top_k": 50, - "top_p": 1.0, - "torchscript": false, - "use_bfloat16": false, "vocab_size": 50265 -} \ No newline at end of file +}