AWS Certified AI PractitionerAI/ML and Generative AI FundamentalsEasy

A team is developing a new generative AI model to compose entire musical pieces. They are currently in the stage where the trained model is being used to produce new, original compositions based on a given prompt or style. What stage of the AI/ML lifecycle does this activity represent?

  1. ATraining
  2. BInference
  3. CModel Evaluation
  4. DData Preparation
Show answer & explanation

Correct answer: B. Inference

The activity of using a trained model to produce new, original compositions based on prompts is known as inference. This is the stage where the model, having already learned from data, applies its knowledge to make predictions or generate outputs. Training involves learning from data, data preparation involves cleaning and transforming data, and model evaluation assesses performance.

Why the other options are wrong

  • A. Training is when the model learns patterns from the data.
  • C. Model Evaluation assesses the performance and accuracy of a trained model using metrics.
  • D. Data Preparation involves collecting, cleaning, and transforming data before model training.

Inference (AI/ML)

The process of using a trained machine learning or generative AI model to make predictions, classifications, or generate new content based on new, unseen input data.

  • Occurs after the model has been trained and evaluated.
  • Applies the model's learned patterns to new data.
  • Can happen in real-time or in batch.

Memory trick: Data Prepares, Model Trains, Evaluates, then Infers and Deploys.

More AI/ML and Generative AI Fundamentals questions