okgrammer
okgrammer
I tried initializing a model with a shallow decoder (e.g., `--dec-depth 1`) with a pretrained model that has 6 decoder layers using the `--pretrained-model` argument. When I inspected the `model.npz`...
In the original paper, BERT model is fine-tuned on downstream NLP tasks, where the number of instances for each task is in the order of thousands to hundreds of thousands....
Hello, thanks for releasing this code! I need to pretrain a BERT model for non-English language using my own (domain-specific) data. I noticed that the training code for WordPiece vocabulary...
The paper stated that the model was pretrained for 1M steps. May I know how high roughly the masked_lm_accuracy is expected to be at the end of training? Is a...
Hi, I am trying the simple LSTM tutorial for adding new modules in fairseq. Training works fine, but the following error appears when I run fairseq-generate. ``` ... in forward...
Hi, I am running the IWSLT'14 en-de translation example on 2 machines each with 4 Titan X GPUs. I am getting speed of about 10K wps with 2 machines, while...
Hello, in the multilingual translation example, a joined dictionary is created between de-en, then the resulting dictionary is used for fr-en. In this case I think it's fine because there...
Hi, would it be possible to integrate alignment loss in Levenshtein Transformer? May I confirm that it could be done by adding this part: https://github.com/pytorch/fairseq/blob/master/fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py#L48-L56 into the forward method in...
Hello, recently the TorchServe library is released together with PyTorch 1.5.0. Will this be suitable for deploying Fairseq models? Is there any plan to support this? Thanks!
Hello, I am trying the constrained decoding feature and noticed a big drop in decoding speed. I trained my model using the sockeye autopilot on WMT'14 en-de. This is the...