Skip to content

Commit

Permalink
fix: remove the num_template_per_step param in the ui notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
want-to-be-relaxed authored Dec 23, 2024
1 parent 99d56be commit 08ad5ed
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
"source": [
"# @markdown **Instruction Optimization Configs**: <br/>\n",
"NUM_INST_OPTIMIZATION_STEPS = 10 # @param {type:\"integer\"}\n",
"NUM_TEMPLATES_PER_STEP = 2 # @param {type:\"integer\"}\n",
"\n",
"# @markdown **Demonstration Optimization Configs**: <br/>\n",
"NUM_DEMO_OPTIMIZATION_STEPS = 10 # @param {type:\"integer\"}\n",
Expand All @@ -294,9 +293,7 @@
"\n",
"# @markdown **Misc Configs**: <br/>\n",
"PLACEHOLDER_TO_VALUE = \"{}\" # @param\n",
"RESPONSE_MIME_TYPE = (\n",
" \"text/plain\" # @param [\"text/plain\", \"application/json\", \"text/x.enum\"]\n",
")\n",
"RESPONSE_MIME_TYPE = \"text/plain\" # @param [\"text/plain\", \"application/json\", \"text/x.enum\"]\n",
"RESPONSE_SCHEMA = \"\"\n",
"TARGET_LANGUAGE = \"English\" # @param [\"English\", \"French\", \"German\", \"Hebrew\", \"Hindi\", \"Italian\", \"Japanese\", \"Korean\", \"Portuguese\", \"Simplified Chinese\", \"Spanish\", \"Traditional Chinese\"]\n",
"TOOLS = \"\" # @param\n",
Expand Down Expand Up @@ -365,7 +362,6 @@
" \"demo_set_size\": NUM_DEMO_PER_PROMPT,\n",
" \"aggregation_type\": METRIC_AGGREGATION_TYPE,\n",
" \"data_limit\": 50,\n",
" \"num_template_eval_per_step\": NUM_TEMPLATES_PER_STEP,\n",
" \"input_data_path\": input_data_path,\n",
" \"output_path\": output_path,\n",
" \"response_mime_type\": RESPONSE_MIME_TYPE,\n",
Expand Down

0 comments on commit 08ad5ed

Please sign in to comment.