transformer-xl icon indicating copy to clipboard operation
transformer-xl copied to clipboard

How to use the model for predicting next word.

Open MoAbd opened this issue 7 years ago • 3 comments

MoAbd avatar Mar 27 '19 10:03 MoAbd

https://github.com/kimiyoung/transformer-xl/issues/49#issuecomment-472212730

kimiyoung avatar Mar 28 '19 04:03 kimiyoung

Many thanks @kimiyoung . I am more interested in tensorflow, is there any tensorflow example?

MoAbd avatar Mar 28 '19 11:03 MoAbd

@MoAbd if this can help you, I write inferencing part based on kimiyoung's code. https://github.com/GaoPeng97/transformer-xl-chinese

GaoPeng97 avatar May 31 '19 13:05 GaoPeng97