MulaiMulai sekarang secara gratis

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?

Latihan ini adalah bagian dari kursus

Introduction to LLMs in Python

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga