Identify the transformer
A model has been loaded as llm
. Examine the transformer architecture by printing one of the following:
llm.model
llm.model.config
llm.model.config.is_decoder
llm.model.config.is_encoder_decoder
What architecture does this model have?
Este exercício faz parte do curso
Introduction to LLMs in Python
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
