From 173722e0fb291a67357ef55b1c66ed4474021b82 Mon Sep 17 00:00:00 2001 From: Joao Gante Date: Tue, 24 Jan 2023 14:49:28 +0000 Subject: [PATCH] Adding generation config file(s) --- generation_config.json | 4 ++++ generation_config_for_text_generation.json | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 generation_config.json create mode 100644 generation_config_for_text_generation.json diff --git a/generation_config.json b/generation_config.json new file mode 100644 index 0000000..ff245ea --- /dev/null +++ b/generation_config.json @@ -0,0 +1,4 @@ +{ + "_from_model_config": true, + "transformers_version": "4.27.0.dev0" +} diff --git a/generation_config_for_text_generation.json b/generation_config_for_text_generation.json new file mode 100644 index 0000000..38b9661 --- /dev/null +++ b/generation_config_for_text_generation.json @@ -0,0 +1,6 @@ +{ + "_from_model_config": true, + "do_sample": true, + "max_length": 50, + "transformers_version": "4.27.0.dev0" +}