text
text copied to clipboard
Models, data loaders and abstractions for language processing, powered by PyTorch
### 🐛 Describe the bug import torchtext --------------------------------------------------------------------------- OSError Traceback (most recent call last) [](https://localhost:8080/#) in () 8 import evaluate 9 import datasets ---> 10 import torchtext 5 frames [/usr/lib/python3.11/ctypes/__init__.py](https://localhost:8080/#)...
PS C:\Users\Kevin> pip install torchtext Collecting torchtext Downloading torchtext-0.6.0-py3-none-any.whl.metadata (6.3 kB) Requirement already satisfied: tqdm in c:\users\kevin\appdata\local\programs\python\python313\lib\site-packages (from torchtext) (4.67.1) Requirement already satisfied: requests in c:\users\kevin\appdata\local\programs\python\python313\lib\site-packages (from torchtext) (2.32.3) Requirement...
Summary: X-link: https://github.com/pytorch/vision/pull/8919 Remove headers flagged by facebook-unused-include-check over fbcode.pytorch. + format and autodeps This is a codemod. It was automatically generated and will be landed once it is approved...
## 🐛 Bug **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on...
## 🐛 Bug Today I installed torchtext in my Linux Ubuntu. When I tried to import torchtext into python, torchtext failed. Details 1. Ubuntu 24.04.1 LTS 2. Python 3.12.3 3....
## ❓ Questions and Help **Description** Hi, we can use glove embedding when building vocab, using something like: ``` MIN_FREQ = 2 TEXT.build_vocab(train_data, min_freq = MIN_FREQ, vectors = "glove.6B.300d", unk_init...
This change was approved by @alvations in the issue discussion. Fixes https://github.com/pytorch/text/issues/2276
## 🐛 Bug **Describe the bug** A clear and concise description of what the bug is. I get an OS Error with WinError 127 error code when importing torchtext and...
# بسم الله الرحمان الرحيم امى بعد فالصلاة و السلام على سيدنا محمد وعلى آله اجمعين ## Feature/Issue * building this project on mobile is pretty hard cuz of using...
## 📚 Documentation **Summary** This repo's [`README.md`](https://github.com/pytorch/text/blob/1d4ce73c57417f1af8278af56631de3c25e3bbaf/README.rst?plain=1#L72) points to the https://github.com/alvations/sacremoses repo for the Sacramoses project: https://github.com/pytorch/text/blob/1d4ce73c57417f1af8278af56631de3c25e3bbaf/README.rst?plain=1#L72 Similarly, in [`torchtext/data/utils.py`](https://github.com/pytorch/text/blob/1d4ce73c57417f1af8278af56631de3c25e3bbaf/torchtext/data/utils.py#L129): https://github.com/pytorch/text/blob/1d4ce73c57417f1af8278af56631de3c25e3bbaf/torchtext/data/utils.py#L129 However, the authoritative home of this project appears to...