1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to LLMs in Python

Connected

Exercise

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?

Instructions

50 XP

Possible answers