text icon indicating copy to clipboard operation
text copied to clipboard

Models, data loaders and abstractions for language processing, powered by PyTorch

Results 221 text issues
Sort by recently updated
recently updated
newest added

## 🐛 Bug Do the following on a new env: ``` conda create -n metalearning python=3.9 conda activate metalearning conda install -y pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=11.0 -c pytorch -c nvidia...

## 🐛 Bug Trying to install torchtext with cuda >=11.09 Just try to install it your favorite way, bu you can try this command: **Expected behavior** torchtext and pytorch should...

## ❓ Why does this happen when I convert train_iter to a list using list() **Description** ``` import torch from torchtext.datasets import AG_NEWS train_iter = AG_NEWS(split='train') ``` ``` x =...

## 📚 Documentation **Description** yesterday,i learn Vectors and Vocab from torchtext 0.5. But today, i update it to torchtext0.10 by pip install --upgrade,and then, i found Vocab is changed. Now,...

Its been some days that v0.9.2-rc1 has been tagged. Do we expect final tag v0.9.2 sometime soon?

## ❓ Questions and Help **Description** class MyIterator(data.Iterator): def create_batches(self): if self.train: def pool(d, random_shuffler): for p in data.batch(d, self.batch_size * 100): p_batch = data.batch( sorted(p, key=self.sort_key), self.batch_size, self.batch_size_fn) for...

legacy

I am trying to use `Field` and `TabularDataset` to process the text sequence input. To make the input be a fix length, I add the `fix_length=MAX_SEQ_LEN` in Field. ``` MAX_SEQ_LEN...

legacy

https://github.com/pytorch/text/issues/1359

cla signed

Added offsets for AG NEWS iterable

cla signed