install --upgrade keras-nlp !pip install --upgrade keras ( 2 ) Gemma를 불러오기 import keras_nlp # https://keras.io/api/keras_nlp/models/gemma/gemma_causal_lm/ gemma = keras_nlp.models.GemmaCausalLM.from_preset("gemma2_instruct_2b_en") ( 3 ) Text를 생성 gemma.generate("<start_of_turn>user\n홍길동전에 관한 시를 써주세요. <end_of_turn>\n<start_of_turn>model\n", max_length=512)