Created using Colaboratory
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user