tensor2tensor icon indicating copy to clipboard operation
tensor2tensor copied to clipboard

How to use t2t_distill.py

Open chiayewken opened this issue 8 years ago • 2 comments

How does one use the above-mentioned script for student-teacher learning? I am currently looking to a transformer_base_single_gpu to transformer_tiny setup, and have adapted the hparams from distill_resnet_32_to_15_cifar20x5() in models/distillation.py accordingly and registered in my t2t_usr_dir. However, I noticed that there is no command line way to call t2t_distill.py.

chiayewken avatar Jul 05 '18 09:07 chiayewken

@chiayewken , how have you progressed on this? I just found https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/models/distillation.py and am also wondering how to use it.

maxwellmckinnon avatar Nov 14 '18 01:11 maxwellmckinnon

Anyone has an example on how to use distillation work? Also Is it possible to use a model that doesn't exist in the mode repository?

nmoezzi avatar Jan 24 '19 21:01 nmoezzi