-
### Description
...when i run t2t-decoder, an error occur, why and what happen?
here is the command:
t2t-decoder --data_dir=data --problem=translate_enzh_wmt32k --model=transformer --hparams_se…
-
### Description
I created a Text2ClassProblem including 7 labels. When I execute t2t-decoder, it crashes as soon as the output is label id 1. I researched a bit and in decoding.py it is running thr…
-
Hi,
I use this configuration for training and decoding the "title-to-text" problem:
PROBLEM=languagemodel_wiki_noref_v8k_l1k
MODEL=transformer
HPARAMS=transformer_base_v1
DATA_DIR=$HOME/t2t_d…
-
### Description
Attempting to use t2t-decoder with a universal transformer fails.
### Environment information
```
OS: Ubuntu 19 (Also tested on 18 with same result)
$ pip freeze | grep te…
-
该函数是位置编码函数
以位置长度为4,emb大小为6为例:
原论文的位置编码应该是:
![image](https://user-images.githubusercontent.com/7113823/103507715-c1e6f180-4e9a-11eb-8380-ca8a30e2420c.png)
值为:
![image](https://user-images.githubus…
-
https://github.com/neulab/xnmt/blob/1324881a5a5db5ab6bf3a05376d62592cce70fd7/xnmt/optimizer.py#L241
self.optimizer.learning_rate = 1. * decay
Let's make the constant 1. in the above equation as …
-
### Description
when I am trying to train english2hindi translation, I got following error
...raphil@raphil-Lenovo-G580:~$ PROBLEM=translateenhi
raphil@raphil-Lenovo-G580:~$ MODEL=transformer
raph…
-
Hi i get this error on install tihu on run this command
make ready
Collecting rsa>=3.1.4 (from oauth2client->tensor2tensor==1.7.0)
Downloading https://files.pythonhosted.org/packages/2d/d3/41b3db…
-
### Description
e.g. CNN/dailymail dataset. I know how to train the transformer on the dataset, but I don't know how to evaluate the performance of the transformer on the task.
-
### Description
Trying to call infer with beam_size > 1 on a restored universal tranformer model returns an error message. Same call works if I substitute a regular transformer model.
### Environm…