Commit Graph

5 Commits

Author SHA1 Message Date
bentrevett
807ec2082a fixed typos in max pool figure and size of tensors after convolutional filters (#35) 2019-04-22 13:26:13 +01:00
bentrevett
6e037d8386 fixed wording and updated assets for notebook 4 2019-03-10 16:28:21 +00:00
bentrevett
977613215e updated assets and wording for notebook 3 2019-03-10 15:45:40 +00:00
bentrevett
25efef84d4 changed imgur urls to own assets 2019-03-10 14:45:44 +00:00
bentrevett
61bf7da1d0 Update for TorchText 0.3
- reworded a lot of the explanations
- fixed a lot of typos
- updated some images and moved new ones to assets folder

- fixed deterministic evaluation with `torch.backends.cudnn.deterministic = True`

- tensor_type in Fields becomes dtype
- changed train, valid, test TorchText dataset objects to be named train_data, valid_data and test_data

- TorchText iterators now have `repeat = False` by default, so removed
- TorchText iterators now take a `torch.device` instead of an int representing the GPU number (and -1 for CPU)

- `F.sigmoid` is now `torch.sigmoid`

- padding sentences in the CNN model is now fixed (before spaCy would tokenize the <pad> token into three separate tokens)
2018-10-17 17:54:31 +01:00