Created using Colaboratory

This commit is contained in:
udlbook
2023-12-14 18:35:49 +00:00
parent 5f8f05a381
commit 905d7d1ac4

View File

@@ -4,7 +4,7 @@
"metadata": { "metadata": {
"colab": { "colab": {
"provenance": [], "provenance": [],
"authorship_tag": "ABX9TyNPrHfkLWjy3NfDHRhGG3IE", "authorship_tag": "ABX9TyPsZjfqVeHYh95Hzt+hCIO7",
"include_colab_link": true "include_colab_link": true
}, },
"kernelspec": { "kernelspec": {
@@ -409,7 +409,7 @@
" print(\"Choosing from %d tokens\"%(thresh_index))\n", " print(\"Choosing from %d tokens\"%(thresh_index))\n",
" # TODO: Find the probability value to threshold\n", " # TODO: Find the probability value to threshold\n",
" # Replace this line:\n", " # Replace this line:\n",
" thresh_prob = sorted_probs_decreasing[thresh_index]\n", " thresh_prob = 0.5\n",
"\n", "\n",
"\n", "\n",
"\n", "\n",