Gen-AI Developer Classroom notes 11/Aug/2025

Playing with Transformers

  • For this we will be using Google CoLAB
  • Create a new Google CoLAB and execute the following in the block. Ensure the runtime is GPU (optional)
!nvidia-smi -L || echo "NO GPU found (CPU is fine Change runtime)"
!pip install -U transformers accelerate datasets sentencepiece sentence-transformers
  • Refer Here for the Colab notebook with all the examples

  • In Colab we have looked at

    • Tokenization
    • Classification
    • Summarization

By continuous learner

enthusiastic technology learner

Leave a comment