pytorch-sentiment-analysis
pytorch-sentiment-analysis copied to clipboard
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Awesome tutorials! I was wondering if using pytorch-lightning can remove the amount of boilerplate code and can remove even the function to calculate time, by using a simple profiler flag...
Hey @bentrevett, Thanks for your tutorial. Since torchtext has updated the datasets with the new abstraction, I'm wondering if you plan to update the tutorial here. One of the users...
Hi, I run the script both on a local machine with RTX 2080 and Google lab cell by cell, but everytime I run the model training cell (the one with...
In [Neural Bag of Words](https://github.com/bentrevett/pytorch-sentiment-analysis/blob/main/1%20-%20Neural%20Bag%20of%20Words.ipynb) notebook, section **Creating a Vocabulary**, there is links to _assets/vocabulary.png_ and _assets/padding.png_ but there is no such images in [assets](https://github.com/bentrevett/pytorch-sentiment-analysis/tree/main/assets) directory.
Cannot import torchtext, even though I installed it. The error: [/usr/lib/python3.10/ctypes/__init__.py](https://localhost:8080/#) in __init__(self, name, mode, handle, use_errno, use_last_error, winmode) 372 373 if handle is None: --> 374 self._handle = _dlopen(self._name,...