From 312fdd775282fc16ef7e97f2d19ca63cdcae5424 Mon Sep 17 00:00:00 2001 From: VictorSanh Date: Sat, 1 Jun 2019 17:43:26 -0400 Subject: [PATCH] fix doc error --- hubconfs/transformer_xl_hubconf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hubconfs/transformer_xl_hubconf.py b/hubconfs/transformer_xl_hubconf.py index a4fae31493..d5c697547e 100644 --- a/hubconfs/transformer_xl_hubconf.py +++ b/hubconfs/transformer_xl_hubconf.py @@ -59,9 +59,7 @@ def transformerXLTokenizer(*args, **kwargs): @_append_from_pretrained_docstring(transformer_xl_docstring) def transformerXLModel(*args, **kwargs): """ - gpt2Model is the basic OpenAI GPT-2 Transformer model based on - identical stacked masked self-attention blocks and pre-trained - on large scale dataset using language modeling signal. + transformerXLModel is the basic Transformer XL model. Example: # Load the tokenizer @@ -95,7 +93,7 @@ def transformerXLModel(*args, **kwargs): @_append_from_pretrained_docstring(transformer_xl_docstring) def transformerXLLMHeadModel(*args, **kwargs): """ - gpt2LMHeadModel is the OpenAI GPT-2 Transformer model with the + transformerXLModel is the basic Transformer XL model with the tied (pre-trained) language modeling head on top. Example: