Learned what GenAI for Devs means and how GPT (Generative Pretrained Transformer) works.
Understood Transformers architecture (embeddings, positional encoding, attention).
Learned what a Token is in AI and implemented basic tokenizer logic using tiktoken.js
.
Explored Vector Embeddings and their role in semantic understanding.
Practiced Gemini API usage (@google/generative-ai
) and compared it with OpenAI-style APIs.
Learned the importance of prompt engineering and how crafting effective prompts improves AI output.
Understood prompting styles including Alpaca, INST (LLaMA-2), FLAN-T5, and ChatML (OpenAI), with examples.
Explored system prompting techniques: zero-shot, few-shot, chain-of-thought (CoT), self-consistency, and persona-based prompting.
Practiced role-based prompting in ChatML and understood the importance of system
, user
, and assistant
roles.
Implemented example prompts for translation, coding, and reasoning tasks to see differences between prompting styles.