fairseq
fairseq copied to clipboard
Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
## 🐛 Bug Hi I am trying to run a translation example here https://github.com/pytorch/fairseq/tree/main/examples/translation running preprocess: ``` TEXT=examples/translation/iwslt14.tokenized.de-en fairseq-preprocess --source-lang de --target-lang en \ --trainpref $TEXT/train --validpref $TEXT/valid --testpref $TEXT/test...
How to make some keywords/abbreviations not to translate and keep it as it is in the target language after translation
## 🐛 Bug 'TH/TH.h' file not found error at fairseq/clib/libnat_cuda/edit_dist.cu Line 11 for PyTorch>=1.11. ### To Reproduce have PyTorch>=1.11 installed Steps to reproduce the behavior (**always include the command you...
## 🐛 Bug Fatal error when trying to torch.jit.save: "Could not cast value of type NoneType to bool" ### To Reproduce ``` modelname='transformer.wmt14.en-fr' m = torch.hub.load('pytorch/fairseq', modelname, tokenizer='moses', bpe='subword_nmt') tmodel...
## What does this PR do? This PR fixes a trivial typo in HuBERT preprocessing guideline. ## PR review Anyone in the community is free to review the PR once...
# Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/main/CONTRIBUTING.md)? - [ ]...
## 🐛 Bug ### To Reproduce I tried to convert a model to TorchScript. This works in 0.10.1 and in 0.12.1 but fails in 0.12.2. The issue I see is:...
## ❓ Questions and Help ### Before asking: 1. search the issues. 2. search the docs. #### What is your question? How do I truncate the source to the maximum...
Hi, As written in the title, how can we run model training, e.g., wav2vec2.0, from the python file instead of via CLI? My use case is that I want to...
hi, i want to train a NAT model for zh-en (about 260k) . I get about 30 BLEU on teacher model , but always overfit on student model There are...