Guest User

Untitled

a guest
May 25th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # Use the in-built word embedding model GloVe# Use t
  2. # You can use your own word embedding model using torchtext.vocab.Vectors
  3. TEXT.build_vocab(train, test, vectors="glove.6B.300d", max_size=30000)
  4.  
  5. # Serialize the label
  6. LABEL.build_vocab(train, test)
Add Comment
Please, Sign In to add comment