Skip to content

Commit

Permalink
Created using Colaboratory
Browse files Browse the repository at this point in the history
  • Loading branch information
udlbook committed Dec 14, 2023
1 parent 5f8f05a commit 905d7d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Notebooks/Chap12/12_4_Decoding_Strategies.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyNPrHfkLWjy3NfDHRhGG3IE",
"authorship_tag": "ABX9TyPsZjfqVeHYh95Hzt+hCIO7",
"include_colab_link": true
},
"kernelspec": {
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 905d7d1

Please sign in to comment.