Skip to content

Instantly share code, notes, and snippets.

@ferrygun
Last active June 8, 2020 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ferrygun/3cec7d1ec1ab80c70fa0fe5b53c1cbd9 to your computer and use it in GitHub Desktop.
Save ferrygun/3cec7d1ec1ab80c70fa0fe5b53c1cbd9 to your computer and use it in GitHub Desktop.
vocab_size = 5000 # make the top list of words (common words)
embedding_dim = 64
max_length = 200
trunc_type = 'post'
padding_type = 'post'
oov_tok = '<OOV>' # OOV = Out of Vocabulary
training_portion = .8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment