text
text copied to clipboard
Models, data loaders and abstractions for language processing, powered by PyTorch
## ❓ Questions and Help **Description** I'm using pytorch2.0.0, the version of torchtext is 0.15.2, when I import "Field" and "BucketIterator" in the code(`from torchtext.data import Field, BucketIterator`), I got...
## 🚀 Feature **Motivation** torchtext provide several open source nlp datasets in raw form. These datasets are provide as [Iterables](https://pytorch.org/docs/stable/data.html#iterable-style-datasets). Although there are times when user may prefer [map-style](https://pytorch.org/docs/stable/data.html#map-style-datasets) datasets....
## ❓ Questions and Help **Description** I did this: ```py >> train_data, val_data, test_data = Multi30k(split=('train', 'valid', 'test')) >> next(train_data) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[33], line...
According to [the docs][1], DBpedia dataset has 14 classes (labels) and 40000 texts for each class. Hence, if I create batches using `DataLoader(shuffle=True)` as follows: ```python import torchtext.datasets as d...
I am working on personal application and rust bert module is require. So I follow documentation https://crates.io/crates/rust-bert When I compile my rust code my machine suffered panic attack [error](https://drive.google.com/file/d/1kjSYlhF7d6TSoDf4WYGQyiWr8Pw0F-1e/view?usp=drive_link) So...
## 🐛 Bug **Describe the bug** The FLAN T5 XXL model is not downloadable: it throws a 403 error. Likely either needs to be uploaded to the bucket, or just...
## 📚 Documentation **Description** As per title. There is no documentation on T5 model although it exists https://pytorch.org/text/stable/models.html
## 🐛 Bug **Describe the bug** Get 404 when downloading `glove.6B.*d`. The links to the pretrained word vectors in [Glove (mirror)](https://github.com/stanfordnlp/GloVe#download-pre-trained-word-vectors) were not found, which makes links in class Glove...
It seems like we call `git submodule update --init --recursive` even when we update submodules beforehand as per https://github.com/pytorch/text/blob/60bea668f7bf4359a447487555b9209ae5b1e07b/setup.py#L48-L57 Would you mind if you share your take on following what...
## 🐛 Bug **Describe the bug** A clear and concise description of what the bug is. When using GloVe from torchtext.vocab an error occurs saying that zipfile.BadZipFile: File is not...