From 905d7d1ac46b769329b5851d7d6737c1b33e3a85 Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:35:49 +0000 Subject: [PATCH] Created using Colaboratory --- Notebooks/Chap12/12_4_Decoding_Strategies.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notebooks/Chap12/12_4_Decoding_Strategies.ipynb b/Notebooks/Chap12/12_4_Decoding_Strategies.ipynb index c296764..6d7a388 100644 --- a/Notebooks/Chap12/12_4_Decoding_Strategies.ipynb +++ b/Notebooks/Chap12/12_4_Decoding_Strategies.ipynb @@ -4,7 +4,7 @@ "metadata": { "colab": { "provenance": [], - "authorship_tag": "ABX9TyNPrHfkLWjy3NfDHRhGG3IE", + "authorship_tag": "ABX9TyPsZjfqVeHYh95Hzt+hCIO7", "include_colab_link": true }, "kernelspec": { @@ -409,7 +409,7 @@ " print(\"Choosing from %d tokens\"%(thresh_index))\n", " # TODO: Find the probability value to threshold\n", " # Replace this line:\n", - " thresh_prob = sorted_probs_decreasing[thresh_index]\n", + " thresh_prob = 0.5\n", "\n", "\n", "\n",