CommencerCommencer gratuitement

Identification du transformer

Un modèle a été chargé en tant que llm. Examinez l'architecture du transformer en affichant l'un des éléments suivants :

  • llm.model
  • llm.model.config
  • llm.model.config.is_decoder
  • llm.model.config.is_encoder_decoder

Quelle est l'architecture de ce modèle ?

Cet exercice fait partie du cours

Introduction aux LLM en Python

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice