tensor2tensor
tensor2tensor copied to clipboard
Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
how to use “t2t-exporter model ” to calculate bleu score? I try to use t2t decoder and t2t bleu,but It ended badly.
Thanks to pycharm's unused variable highlighting, I saw that tensor2tensor's revnet model has a pretty serious problem in the `bottleneck = False` code path. Notice the value of `net` on...
I have follow this notebook(https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/Transformer_translate.ipynb) to do translation task. But I am using tensorflow 2.3. I can't find any alternatives for restore_variables_on_create ``` def translate(inputs): encoded_inputs = encode(inputs) with tfe.restore_variables_on_create(ckpt_path):...
### Description ``` C:\Users\XXXXX\Anaconda3\Lib\site-packages\tensor2tensor\bin>python t2t_trainer.py Traceback (most recent call last): File "t2t_trainer.py", line 24, in from tensor2tensor import models # pylint: disable=unused-import File "C:\Users\XXXXX\Anaconda3\lib\site-packages\tensor2tensor\models\__init__.py", line 26, in from tensor2tensor.models import...
### Description Installation of tensor2tensor 1.13.01 comes with the installation of tensorflow2.3 Conflicts with tensorflow GPU 1.13.1. GPU cannot be used How to solve it ### Environment information ``` OS:...
Hello, I love what Tensor2Tensor is doing. I have a general question: what is the recommanded Tensorflow version? The turorials are unsing TF1: https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/Transformer_translate.ipynb Further more, If i use the...
### Description When running t2t-decoder script ( En-De transformer-big) on a model which was trained on 8 GPUs using DistributedMirrorStrategy. I get the following error ValueError: Tensor("body/parallel_0/body/decoder/layer_0/self_attention/multihead_attention/dot_product_attention/attention:0", shape=(), dtype=string, device=/device:GPU:0)...
### Description I am unable to reproduce the english to german machine translation using either transformers or universal transformers. I am only able to get around 20 BLEU score for...
### Description T2T==1.15.7 requires kfac==0.2.3, which requires tensorflow-probability==0.8.0, however, T2T itself requires tensorflow-probability==0.7.0 ... ### Environment information ``` OS: debian buster 10 $ pip freeze | grep tensor # your...