Skip to content

Commit

Permalink
Added decoding line
Browse files Browse the repository at this point in the history
  • Loading branch information
adeshpande3 committed Oct 4, 2017
1 parent ef0275c commit 3a99ecf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pre-Trained LSTM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"source": [
"import numpy as np\n",
"wordsList = np.load('wordsList.npy').tolist()\n",
"wordsList = [word.decode('UTF-8') for word in wordsList] #Encode words as UTF-8\n",
"wordVectors = np.load('wordVectors.npy')"
]
},
Expand Down Expand Up @@ -230,6 +231,7 @@
}
],
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [conda root]",
"language": "python",
Expand Down

1 comment on commit 3a99ecf

@arg1425
Copy link

@arg1425 arg1425 commented on 3a99ecf Apr 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Please sign in to comment.