KerasKeras 3 API 문서KerasHubPretrained ModelsGPT2GPT2원본 링크 : https://keras.io/api/keras_hub/models/gpt2/최종 확인 : 2024-11-25GPT2Tokenizer GPT2Tokenizer classfrom_preset methodGPT2Backbone model GPT2Backbone classfrom_preset methodtoken_embedding propertyGPT2CausalLM model GPT2CausalLM classfrom_preset methodgenerate methodbackbone propertypreprocessor propertyGPT2CausalLMPreprocessor layer GPT2CausalLMPreprocessor classfrom_preset methodgenerate_preprocess methodgenerate_postprocess methodtokenizer property