Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use the in-built word embedding model GloVe# Use t
- # You can use your own word embedding model using torchtext.vocab.Vectors
- TEXT.build_vocab(train, test, vectors="glove.6B.300d", max_size=30000)
- # Serialize the label
- LABEL.build_vocab(train, test)
Add Comment
Please, Sign In to add comment