Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thtrieu committed Aug 16, 2019
2 parents 86f5737 + b84503f commit 35744a9
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions colab/Sentiment_Analysis_+_Back_translation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -457,19 +457,6 @@
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "HNCyP-LNd2o7",
"colab_type": "code",
"colab": {}
},
"source": [
"!head -n 20 $train_text_file"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -525,7 +512,7 @@
"metadata": {
"id": "4ngordrxKCWk",
"colab_type": "code",
"cellView": "form",
"cellView": "both",
"colab": {}
},
"source": [
Expand All @@ -548,7 +535,6 @@
"\n",
"# Without specifying batch_size in decode_hparams, the default value will be 32.\n",
"!python $src/back_translate.py \\\n",
"--lang=vi \\\n",
"--model=transformer --hparams_set=transformer_tiny \\\n",
"--decode_hparams=\"beam_size=4,alpha=0.6\" \\\n",
"--paraphrase_from_file=$paraphrase_from_file \\\n",
Expand Down

0 comments on commit 35744a9

Please sign in to comment.