(03) GenAI – How Embeddings Are Learned ?


GenAI – How Embeddings Are Learned ?

Table Of Contents:

  1. What Are Vector Embeddings.
  2. What’s the Goal of Learning Embeddings?
  3. Define What to Represent.
  4. Initialize the Embedding Matrix.
  5. Choose a Training Objective (Task).
  6. Prepare the Training Data.
  7. Forward Pass.
  8. Compute Loss.
  9. Backpropagation.
  10. Repeat Over Many Batches.
  11. Use or Export Embeddings.

(1) What Are Vector Embedding ?

(2) What’s the Goal of Learning Embeddings ?

Step-1: Define What to Represent

Step-2: Initialize the Embedding Matrix

Step-3: Choose a Training Objective (Task)

Step-4: Prepare The Training Data

Step-5: Forward Pass

Step-6: Compute Loss

Step-7: Backpropagation

Step-8: Repeat Over Many Batches

Step-9: Use or Export Embeddings

Leave a Reply

Your email address will not be published. Required fields are marked *