61bf7da1d0
- 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)
8.1 KiB
438x213px
8.1 KiB
438x213px