python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
NLP: How to look at sentence encoding in torchtext?
TEXT = data.Field(tokenize = 'spacy',
tokenizer_language = 'en_core_web_sm',
include_lengths = True)
LABEL = data.LabelField(dtype = torch.float)
train_data, test...

Piggy Wenzhou
Votes: 0
Answers: 1
Unable to create a custom torchtext BucketIterator
I'm trying to create a POS tagger with LSTM and I'm facing some difficulties with preparing the data.
I've successfully followed a guide that used the following code to prepare the data itertors:
TEXT...
EyalG
Votes: 0
Answers: 1
Save and load vocab and weight for torchtext to do inference
I have followed this example to build a text classifier using torchtext.
After finishing training, I've saved vocab and weights, but when I've loaded them again to make an inference with validation da...
Angelus
Votes: 0
Answers: 1