Pytorch Torchtext Tutorial 1: Custom Datasets and loading JSON/CSV/TSV files
In this video I show you how to to load different file formats (json, csv, tsv) in Pytorch Torchtext using Fields, TabularDataset, BucketIterator to do all the heavy preprocessing for NLP tasks, such as numericalizing, padding, building vocabulary, which saves us a lot of time to focus on actually training the models! In this example I show a toy example dataset for sentiment analysis but the things we go through are general and can be adapted for any dataset.
Resources I used to learn about torchtext:
https://torchtext.readthedocs.io/en/latest/
https://anie.me/On-Torchtext/
https://github.com/bentrevett
https://towardsdatascience.com/how-to-use-torchtext-for-neural-machine-translation-plus-hack-to-make-it-5x-faster-77f3884d95
https://mlexplained.com/2018/02/08/a-comprehensive-tutorial-to-torchtext/
People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9
GitHub Repository:
https://github.com/aladdinpersson/Machine-Learning-Collection
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channel/UCkzW5JSFwvKRjXABI-UTAkQ/join
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/aladdin-persson-a95384153/
GitHub - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playlist?list=PLhhyoLH6IjfxeoooqP9rhU3HJIAVAJ3Vz
Видео Pytorch Torchtext Tutorial 1: Custom Datasets and loading JSON/CSV/TSV files канала Aladdin Persson
Resources I used to learn about torchtext:
https://torchtext.readthedocs.io/en/latest/
https://anie.me/On-Torchtext/
https://github.com/bentrevett
https://towardsdatascience.com/how-to-use-torchtext-for-neural-machine-translation-plus-hack-to-make-it-5x-faster-77f3884d95
https://mlexplained.com/2018/02/08/a-comprehensive-tutorial-to-torchtext/
People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9
GitHub Repository:
https://github.com/aladdinpersson/Machine-Learning-Collection
✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson
❤️ Become a Channel Member:
https://www.youtube.com/channel/UCkzW5JSFwvKRjXABI-UTAkQ/join
✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc
▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/aladdin-persson-a95384153/
GitHub - https://github.com/aladdinpersson
PyTorch Playlist:
https://www.youtube.com/playlist?list=PLhhyoLH6IjfxeoooqP9rhU3HJIAVAJ3Vz
Видео Pytorch Torchtext Tutorial 1: Custom Datasets and loading JSON/CSV/TSV files канала Aladdin Persson
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Pytorch Torchtext Tutorial 2: Built in Datasets with Example](https://i.ytimg.com/vi/InUqeaOSPpA/default.jpg)
![How to build custom Datasets for Text in Pytorch](https://i.ytimg.com/vi/9sHcLvVXsns/default.jpg)
![PyTorch Tutorial 09 - Dataset and DataLoader - Batch Training](https://i.ytimg.com/vi/PXOzkkB5eH0/default.jpg)
![Pytorch Seq2Seq Tutorial for Machine Translation](https://i.ytimg.com/vi/EoGUlvhRYpk/default.jpg)
![](https://i.ytimg.com/vi/rxuBUDYixE4/default.jpg)
![](https://i.ytimg.com/vi/VXCj8HhKhZA/default.jpg)
![torch.nn.Embedding explained (+ Character-level language model)](https://i.ytimg.com/vi/euwN5DHfLEo/default.jpg)
![Pytorch Transformers from Scratch (Attention is all you need)](https://i.ytimg.com/vi/U0s0f995w14/default.jpg)
![Pytorch Torchtext Tutorial 3: From Textfiles to Dataset](https://i.ytimg.com/vi/DaHAzCaXWYQ/default.jpg)
![How to build custom Datasets for Images in Pytorch](https://i.ytimg.com/vi/ZoZHd0Zm3RY/default.jpg)
![LSTM Speech Tagging with PyTorch](https://i.ytimg.com/vi/3SK4gaTfoyI/default.jpg)
![Pytorch Bidirectional LSTM example](https://i.ytimg.com/vi/jGst43P-TJA/default.jpg)
![PyTorch Image Segmentation Tutorial with U-NET: everything from scratch baby](https://i.ytimg.com/vi/IHq1t7NxS8k/default.jpg)
![Building an Image Captioner with Neural Networks](https://i.ytimg.com/vi/c_bVBYxX5EU/default.jpg)
![Text Classification on Custom Dataset using PyTorch and TORCHTEXT – On Kaggle Tweet Sentiment data](https://i.ytimg.com/vi/8gAUjBi330g/default.jpg)
![PyTorch Tutorial 13: Import CSV file in PyTorch](https://i.ytimg.com/vi/1vse3_or3aI/default.jpg)
![[4] Image dataset preparation in PyTorch (Dataloaders and Transforms)](https://i.ytimg.com/vi/ovZ_54IUSU4/default.jpg)
![A Deep Dive into NLP with PyTorch](https://i.ytimg.com/vi/4jROlXH9Nvc/default.jpg)
![#5: Using popular & pretrained models on ImageNet/ Transfer Learning (Resnet18)](https://i.ytimg.com/vi/AZGJhh-A3UQ/default.jpg)
![Deep Learning With PyTorch - Full Course](https://i.ytimg.com/vi/c36lUUr864M/default.jpg)