Session 1
Act 1 Foundation Models
Act 2 LLMs in Action
Act 3 Harness Eng.
Session 2
Act 4 GenAI Apps
Act 5 Fine-Tuning & RAG
Before we begin · watch this 3-minute video

Play as participants settle in · no need to introduce it · let it speak

Faculty Development Program · Single Day · 30 Dec 2026

G. Narayanamma Institute of Technology & Science (For Women)

GenAI Foundations
& Applications

From Foundation Models to Real-World AI Applications

Session 1 · 2 hrs Session 2 · 2 hrs
Sunil C

Sunil C

Technology Operations

Billtrust

20+ Yrs IT AI/ML & GenAI IIIT Hyderabad Certified
Day Roadmap

How the day is structured

Session 1 — Morning (2 hrs)

Act 1

~35 min

Foundation Models

AI history, the GenAI landscape, what a foundation model really is

Act 2

~35 min

LLMs in Action

Real-world applications, GPU compute, prompt engineering limits

Act 3

~30 min

Harness Engineering

Beyond prompting — building reliable AI-powered workflows · Lab 1

Session 2 — Afternoon (2 hrs)

Act 4

~40 min

GenAI Applications

Text, code, image, multimodal apps — patterns & demo · Lab 2

Act 5

~35 min

Fine-Tuning & RAG

When to fine-tune vs RAG — research directions & closing

Mentimeter polls throughout · Instructor-led PlayLabs demos in Acts 3 & 4 · Mix of global and India examples

01 Act One · Session 1

Foundation Models
The architecture behind the GenAI wave

Opening Pulse · Mentimeter

Let's hear from you first

● Mentimeter · slide 1
Word Cloud — In one word, what does "Generative AI" mean to you?
Switch to Mentimeter · advance to slide 1 ↗

Switch to your Mentimeter tab · advance to slide 1

Read 4–5 words aloud. Use the word cloud as a mirror — it shows the room what it already knows and what it fears.
Act 1 · Context

AI isn't new — 70 years of history

1956

Dartmouth Conference

Term "Artificial Intelligence" coined. First AI programs solve math proofs and play checkers.

1980s

Expert Systems & Machine Learning

Rule-based AI in industry. Backpropagation discovered — the core of modern neural networks.

2012

Deep Learning Breakthrough

AlexNet wins ImageNet by a margin so large, it ends the debate. GPU-accelerated neural nets go mainstream.

2017

"Attention Is All You Need"

Google Brain publishes the Transformer paper. The architecture behind every modern LLM.

2022–

The GenAI Era

ChatGPT, Claude, Gemini, Llama. 100M users in 2 months. The fastest technology adoption in history.

What actually changed in 2022?

  • ·Scale — models with 100B+ parameters trained on the entire internet
  • ·RLHF — reinforcement learning from human feedback made models useful, not just capable
  • ·Chat interface — made AI accessible to non-engineers for the first time
  • ·Emergent behavior — capabilities no one explicitly trained for appeared at scale

Time to 100 million users

2.5 yrs

Instagram

9 mos

TikTok

2 mos

ChatGPT

5 days

Threads

Act 1 · Landscape

The AI landscape — where GenAI fits

AI — Artificial Intelligence

Any technique that enables machines to mimic human intelligence. Rules, search, optimization, learning.

Machine Learning ⊂ AI

Systems that learn patterns from data without explicit programming. Regression, classification, clustering.

Deep Learning ⊂ ML

Neural networks with many layers. Learns representations automatically. Powers vision, speech, translation.

Generative AI ⊂ DL

Models that generate new content — text, code, images, audio — by learning the distribution of training data.

Discriminative vs Generative

Discriminative AIGenerative AI
Classifies / predicts from inputCreates new output from a prompt
Spam filter, fraud detectionChatGPT, Stable Diffusion, Copilot
Closed answer (yes/no, label)Open-ended, fluent, creative
Narrow — one taskGeneral — many tasks, one model

Leading GenAI models (as of 2026)

o3Claude 4 Gemini 2.0Llama 4 MistralCohere
Act 1 · Foundation Models

What is a Foundation Model?

The definition (Stanford AI Lab, 2021)

"A model trained on broad data at scale that can be adapted to a wide range of downstream tasks." Trained once — used everywhere.

What makes it "foundational"

  • ·Scale — billions of parameters, trained on trillions of tokens
  • ·Transfer — one model, many tasks (write, code, reason, translate)
  • ·Emergence — capabilities appear that were never explicitly trained
  • ·Adaptation — fine-tune with 1,000 examples to specialize for a domain

The analogy that works

Foundation models are like operating systems — built once at great cost, then applications are built on top. GPT is iOS; your fine-tuned medical AI is a healthcare app.

The simplest model

y = 1.0x + 2.0
1.0
2.0

This model: 2 parameters · An LLM: 70,000,000,000+ · Same idea — different scale

Act 1 · From the Broad to the Specific

Foundation Models → LLMs: the relationship

Foundation Models

Large-scale models trained on broad data at scale — adaptable to many tasks

▼ specialise by modality ▼
OUR FOCUS

Language — LLMs

Trained on text — predict and generate language

GPT, Claude, Gemini, Llama

Vision Models

Trained on images — classify, detect, describe

ViT, SAM, CLIP

Image Gen

Trained on image-text pairs — generate images from prompts

DALL-E, Stable Diffusion

Multimodal

Trained on mixed data — text + images + audio together

GPT-4o, Gemini, Claude 3+

An LLM (Large Language Model) is a foundation model trained specifically on text data. Unlike vision or image-gen models, LLMs learn patterns in language — grammar, facts, reasoning chains, code — purely by predicting the next token. The next slide shows exactly how that works.

Act 1 · Under the Hood

How LLMs work — without the maths

Step 1 — Tokenisation

Text → token IDs. "Generative" → ["Gen","erative"]. The model never sees letters. GPT-4: ~100,000 token vocabulary.

Step 2 — Next-token prediction

Given this token sequence, what comes next? Trained on 10 trillion+ tokens of internet text, repeated 100 billion times.

Step 3 — Attention mechanism

Every token attends to every other token — deciding relevance. This is why LLMs reason across long documents, not just the last word.

Step 4 — RLHF

Human raters rank outputs. The model learns to prefer helpful, harmless, honest responses. This is what made ChatGPT feel different from raw GPT.

Emergent behavior — the surprising part

No one programmed arithmetic, poetry, or code explanation. These capabilities emerged at scale as a side-effect of learning to predict text.

Training cost: ~$100M · Inference: ~$0.01/1K tokens — expensive to build, cheap to use

Act 1 · Capabilities & Limits

What LLMs can and cannot do

Genuine Capabilities

  • ✓Write, summarise, translate, explain at any reading level
  • ✓Generate and explain code across 50+ languages
  • ✓Reason through multi-step problems step by step
  • ✓Answer questions on any topic from training data
  • ✓Adapt tone, style, and format on demand
  • ✓Extract structure from unstructured text (tables, JSON)

Real Limitations

  • ✗Hallucination — confident, fluent, wrong. Citations that don't exist.
  • ✗Knowledge cutoff — doesn't know what happened after training ended
  • ✗No persistent memory — each conversation starts fresh
  • ✗Stochastic — same prompt, different answer. Not deterministic.
  • ✗Reasoning is bounded — not equivalent to human deductive logic
  • ✗Bias — reflects biases present in training data

The key skill is knowing when to trust and when to verify. Teaching this is more valuable than teaching the tool itself.

02 Act Two · Session 1

LLMs in Action
Real applications, compute infrastructure, and the limits of prompting

Audience Pulse · Mentimeter

Your experience with LLMs

● Mentimeter · slide 2
MCQ — Which LLM capability surprises you most as an educator?
A) Writing coherent long-form text  ·  B) Generating and explaining code  ·  C) Reasoning through multi-step problems  ·  D) Understanding and describing images
Switch to Mentimeter · advance to slide 2 ↗

Switch to your Mentimeter tab · advance to slide 2

Use the bar chart to anchor the next slide — "so the room is most surprised by X, let's talk about why."
Act 2 · Applications

LLMs in education, research & industry

Education

AI Teaching Assistant

Generate assignment variations, explain concepts at multiple levels, produce rubrics, give instant feedback on student work.

Curriculum Design

Align course outcomes to industry skills, map syllabus to NEP 2020 competencies, suggest real-world case studies per domain.

Student Interaction

24/7 doubt-clearing bots, personalised learning paths, instant code review in programming labs.

Research

Literature Review

Summarise 50 papers in minutes, identify research gaps, suggest related work. Perplexity.ai, Elicit, Semantic Scholar.

Writing Acceleration

Draft abstracts, improve paper flow, translate findings to plain language for grant proposals. Always verify citations manually.

Code for Research

Generate data processing scripts, implement statistical models, convert MATLAB to Python, explain legacy research code.

Industry

Customer Support

Zomato, HDFC, Flipkart deploy LLM chatbots handling 60–80% of tier-1 support without human agents.

Software Development

GitHub Copilot used by 1.8M developers. Studies show 55% faster code completion for routine tasks.

Document Intelligence

Extract clauses from contracts, classify medical records, summarise financial reports — at document scale.

Act 2 · Compute

The CPU wall — why serial processing can't scale

Dennard Scaling ended (~2006)

Transistors shrank each generation but power density no longer fell. Clock speeds plateaued at 3–5 GHz. Making CPUs faster meant making them hotter — a physical wall.

The Von Neumann bottleneck

CPUs must move data between memory and processor for every operation. Memory bandwidth has not kept pace with compute. AI workloads move billions of parameters — the data bus becomes the bottleneck.

What AI actually needs

Neural network inference = billions of small matrix multiplications, all independent, all running in parallel. CPUs can't do this efficiently — they are optimized for sequential, low-latency single-threaded tasks.

64

cores in a high-end CPU (2024)

16K+

CUDA cores in NVIDIA H100

The insight that changed computing

GPUs were designed for graphics — rendering millions of pixels in parallel. Matrix math for 3D graphics and matrix math for neural networks are structurally identical. This accident of geometry is what made the AI revolution possible.

CPU clock speed — the plateau

1990
25 MHz
2004
3.8 GHz · peak
2024
5.6 GHz · 20 years, only +48%
Act 2 · GPU Architecture

GPU architecture — parallel by design

CPU — optimized for latency

  • ▸8–64 large, complex cores
  • ▸Huge cache (L1/L2/L3) to avoid memory fetches
  • ▸Branch prediction, out-of-order execution — built for sequential logic
  • ▸One task done as fast as possible

GPU — optimized for throughput

  • ·Thousands of small, simple cores (H100: 16,896)
  • ·Shared memory per thread block — close to compute
  • ·SIMT: Same Instruction on Multiple Threads simultaneously
  • ·Thousands of tasks done in parallel, each slower — but net throughput wins

Why this matters for neural networks

A transformer model running inference performs the exact same matrix multiplication on thousands of tokens simultaneously. GPU architecture maps perfectly — every CUDA core handles one element of the matrix product in parallel.

Tensor Core throughput

3,958

TFLOPS on NVIDIA H100 (FP8, structured sparsity)
dense ≈ 1,979 TFLOPS · vs ~2 TFLOPS on a laptop CPU

Act 2 · India Context

India's AI infrastructure build-out

IndiaAI Mission — ₹10,372 Cr

  • ·18,000+ GPU compute cluster available to research institutions and startups
  • ·IndiaAI Datasets Platform — curated public datasets for AI research
  • ·IndiaAI Application Development Initiative — fund for Indian-language AI products

Private Cloud Build-out

  • ·JioAI Cloud — Reliance + NVIDIA partnership, domestic sovereign compute
  • ·Yotta, CtrlS expanding GPU colocation for Indian AI startups
  • ·TCS, Infosys, Wipro — all running proprietary LLM fine-tuning labs

Academic Access (free today)

  • ✓C-DAC National Supercomputing Mission — apply for HPC access
  • ✓Google Colab Pro — T4 GPU, free tier available
  • ✓AWS Educate Credits — for students and faculty
  • ✓NVIDIA Academic Hardware Grant Program

Why this matters for your institution

  • ✓AI is not just an American or Chinese technology — India is building sovereign compute at scale
  • ✓Indian-language AI (Hindi, Tamil, Telugu, Kannada) is an open research problem with strong funding
  • ✓Your students will work at companies already running AI in production — teach them the stack they'll use
  • ✓AICTE Research Promotion Scheme (RPS) and DST are actively funding AI-in-education research — this is the right moment to apply

The question isn't "if" AI changes engineering — it's "how fast" and "which direction." Faculty who teach this now are five years ahead of those who wait.

Act 2 · Prompt Engineering

Prompt engineering — and why it's not enough

What prompt engineering is

The craft of writing instructions that reliably get useful output from an LLM. Techniques: role assignment, few-shot examples, chain-of-thought, structured output requests.

What it's good for

  • ✓One-off tasks — draft an email, explain a concept, write a test
  • ✓Personal productivity — anyone can learn it in an afternoon
  • ✓Exploring what a model can do before building something

Why it breaks down at scale

  • ✗Output format is inconsistent — can't feed directly into another system
  • ✗No error handling — model fails silently or confidently wrong
  • ✗No validation — hallucinated output passes through undetected
  • ✗Can't chain — if step 1 fails, step 2 runs on bad data
  • ✗Fragile — a minor prompt change produces different behavior

The industry shift

By 2024, production AI teams stopped optimising prompts and started building harnesses — structured code wrappers that control the model's context, constrain its output, and handle its failures. That's Act 3.

03 Act Three · Session 1

Harness Engineering
Building reliable AI-powered workflows · Lab 1

Act 3 · Harness Engineering

Prompt vs Harness Engineering

Prompt Engineering

  • ·Actor: Individual, manually in a chat interface
  • ·Output: Freeform text — readable by humans
  • ·Error handling: None — if model fails, you re-try manually
  • ·Integration: You copy-paste the result
  • ·Scale: One task at a time
  • ·Reliability: Varies with every run
  • ·Use case: Drafting, exploring, one-off productivity

Harness Engineering

  • ✓Actor: Code — runs automatically, triggered by events
  • ✓Output: Structured JSON / typed data — parsed by machines
  • ✓Error handling: Validation, retries, fallback logic built in
  • ✓Integration: Output directly enters a database, API, or UI
  • ✓Scale: Thousands of requests per hour
  • ✓Reliability: Deterministic output schema regardless of model variance
  • ✓Use case: Production AI features in real applications
Act 3 · Why It Matters

Why a harness — not just a better prompt

✗ Prompt Engineering

"Tell me about your summer vacation"

Model A

"I went to Goa with my family last June. We had an amazing time at the beach. I even tried surfing for the first time!"

Model B

"Summer was mostly at home this year. Did spend a few days at my grandma's in Pune — a nice break from the heat."

Model C

"11 days in Himachal — Kasauli, Shimla, Kullu. The mountains were incredible. Best trip ever."

Interesting. Valid. Unusable by a machine.

✓ Harness Engineering

Same question + schema instruction →

{ destination, travel_mode, days, destination_type }

Model A

"destination": "Goa"  ·  "travel_mode": "flight"  ·  "days": 7  ·  "type": "beach"

Model B

"destination": "Pune"  ·  "travel_mode": "train"  ·  "days": 4  ·  "type": "city"

Model C

"destination": "Shimla"  ·  "travel_mode": "road"  ·  "days": 11  ·  "type": "mountain"

Different data. Same structure. Machine-readable.

Stage B System prompt sets role + format before the question is asked
Stage C JSON schema enforces identical output shape across all models
Stage D → next slide
Act 3 · The 4 Stages

The 4 stages of a production-grade harness

Stage A

Raw Prompt

  • ·Direct user message, no context
  • ·Output is freeform text
  • ·Format unpredictable
  • ·Works fine for personal use

Prototype stage

↳ "Tell me about your summer vacation" — freeform, no constraints

Stage B

System Prompt

  • ·Add persona + constraints
  • ·Consistent tone and scope
  • ·Output still unstructured
  • ·Human-readable, not machine-parseable

Assistant stage

↳ "Fill this as an official school record — formal, complete sentences"

Stage C

Structured Output

  • ·Enforce JSON schema in prompt
  • ·Output is machine-parseable
  • ·Can feed into APIs, DBs, UIs
  • ·Still no failure handling

Integration stage

↳ The form: destination · travel_mode · days · type — same schema, all 3

Stage D

Error Handling

  • ✓Validate JSON on receipt
  • ✓Retry on malformed output
  • ✓Fallback for API failures
  • ✓Log inputs & outputs for audit

Production-grade

↳ Teacher returns incomplete form: "travel_mode is blank — try again"

Lab 1 runs all 4 stages in sequence — same brief, progressively stronger harness. Watch the output quality and reliability improve at each stage.

Reflection Pulse · Mentimeter

Your harness idea

● Mentimeter · slide 3
Open-ended — One thing you'd build as a harness in your course or research?
Switch to Mentimeter · advance to slide 3 ↗

Switch to your Mentimeter tab · advance to slide 3

Read 3–4 responses aloud. These become the lab brief — "one of you just described exactly what Lab 1 demonstrates."
Act 3 · Lab Demo

Lab 1 — LLM Harness Explorer

▶ PlayLabs · Killercoda

LLM Harness Explorer

Live browser terminal. No setup. Run the same brief through 4 stages of a harness — watch output quality and reliability improve at each stage. Uses Anthropic Claude API.

killercoda.com/playlabs/course/killercoda/llm-harness-explorer
A

Stage A — Raw Prompt

Direct call, no system context. Freeform, inconsistent output.

B

Stage B — System Prompt

Add persona + constraints. Consistent tone, still unstructured.

C

Stage C — Structured Output

Enforce JSON schema. Machine-parseable result.

D

Stage D — Error Handling

Validation, retry logic, fallback. Production-grade harness.

What to watch during the demo

  • ✓How output format changes at Stage C — from prose to structured data
  • ✓How Stage D catches a deliberately malformed response and retries
  • ✓How the same brief produces different quality at each stage
  • ✓Total Python code: Stage A = 8 lines · Stage D = ~60 lines

Demo command

python3 /root/demo/harness_demo.py

Runs all 4 stages sequentially with printed separators. Pass a custom brief as an argument to run your own scenario.

Instructor: open the lab in a second browser tab before this slide. Run Stage A first, let the room see raw output, then advance through stages.
Session 1 Complete · Break

Session 1 recap

What we covered in the first 2 hours

Act 1

Foundation Models

AI history · what a foundation model is · how LLMs work · capabilities & limits

Act 2

LLMs in Action

Education, research & industry use cases · GPU compute · prompt engineering limits

Act 3

Harness Engineering

Prompt vs harness · 4 stages · Lab 1 demo — LLM Harness Explorer

15-minute break

Session 2 starts with GenAI Applications — text, code, image, and multimodal. Then fine-tuning and RAG.

04 Act Four · Session 2

GenAI Applications
Text, code, image & multimodal — building real GenAI apps

Act 4 · App Landscape

The GenAI application landscape

Text

  • ·Writing assistants (Grammarly, Notion AI)
  • ·Customer support chatbots
  • ·Document summarisation
  • ·Translation & localisation
  • ·Report generation

Code

  • ·GitHub Copilot, Cursor, Replit
  • ·Code explanation & review
  • ·Unit test generation
  • ·Legacy code migration
  • ·Documentation generation

Image

  • ·DALL-E 3, Midjourney, Stable Diffusion
  • ·Product design mockups
  • ·Educational diagrams & illustrations
  • ·Medical imaging analysis
  • ·Synthetic training data

Multimodal

  • ·GPT-4V, Gemini 1.5 Pro
  • ·Document understanding (images + text)
  • ·Video analysis & captioning
  • ·Audio transcription + summarisation
  • ·Vision + code (screenshot → app)

The common thread: all four categories use the same foundation model APIs. The application layer is where your skills and domain knowledge create value.

Act 4 · Text Generation

Text generation — education & research applications

For Teaching

Generate assessment variations

Give Claude a question and ask for 10 variants at different difficulty levels. Build a question bank without spending hours writing manually.

Multi-level explanations

"Explain the Transformer architecture to: a) a 10-year-old, b) a final-year CS student, c) a researcher." One prompt, three outputs. Use in lectures directly.

Rubric & feedback generation

Paste an assignment brief, ask for a detailed rubric. Paste a student submission, ask for structured feedback. Saves hours of manual grading scaffolding.

For Research

Abstract & introduction drafting

Give your findings as bullet points; ask for a structured abstract in IEEE/ACM format. First draft in 30 seconds. Human editing still essential — but the blank page is gone.

Grant proposal language

Translate technical findings into plain language for ANRF/DST panels. Ask: "rewrite this technical paragraph for a non-expert reviewer." Critical for interdisciplinary funding.

Literature gap identification

Paste 10 paper abstracts: "Identify 3 research gaps none of these papers address." Not a replacement for Semantic Scholar, but a fast first-pass on a new topic.

⚠ Always verify citations manually — LLMs hallucinate references with high confidence.

Act 4 · Code Generation

AI code generation — patterns & teaching implications

What AI code generation does well

  • ✓Boilerplate and repetitive code — CRUD operations, API stubs
  • ✓Explain what existing code does, line by line
  • ✓Convert between languages (Python → Java, MATLAB → Python)
  • ✓Generate unit tests for a function given its signature
  • ✓Debug with error message — "here's the error, here's the code"

What it still gets wrong

  • ✗Complex algorithmic reasoning — dynamic programming, graph algorithms
  • ✗Domain-specific correctness — medical, legal, financial logic
  • ✗Security-sensitive code — authentication, cryptography
  • ✗Large codebases without full context

Teaching strategy (not banning)

  • ✓Mandate explanation — "submit code + explain every line in your own words"
  • ✓Viva on submission — 5-minute live walk-through prevents copy-paste
  • ✓AI-first labs — explicitly ask students to use Copilot, then critique its output
  • ✓Extension tasks — base task doable with AI; extension requires original thought

GitHub Copilot — available free to educators

GitHub Education Program Free for verified faculty github.com/education

The skill shift: from "write code" to "review, explain, and extend AI-generated code." Both are valuable — only one is future-proof.

Act 4 · Image Generation

Image generation — Stable Diffusion, DALL-E & use cases

How image generation works

Diffusion models: start with random noise, iteratively remove noise guided by text embedding. The text prompt is encoded by a language model (like CLIP) and used to steer the denoising process.

Leading models (2024)

DALL-E 3 OpenAI · integrated in ChatGPT · best for natural language prompts
Midjourney Best aesthetic quality · used in design and architecture
Stable Diff. Open-source · run locally · fine-tunable for domain-specific imagery

Engineering & education use cases

  • ✓Synthetic datasets — generate labelled images for rare failure modes in CV projects
  • ✓Lecture diagrams — "draw a cross-section of a heat exchanger with labels"
  • ✓UI/UX prototyping — mockup screens from text descriptions before writing code
  • ✓Scientific figures — generate concept diagrams for papers and grant proposals

Responsible use — what to teach students

  • ▸Disclose AI-generated images in academic submissions
  • ▸Copyright is unsettled — images trained on artists' work without consent
  • ▸Deepfakes are a direct application — discuss the same week you teach image gen
Application Pulse · Mentimeter

Your first use of AI code generation

● Mentimeter · slide 4
MCQ — What would you use AI code generation for first in your teaching?
A) Writing starter code for lab assignments  ·  B) Explaining existing code to students  ·  C) Auto-generating test cases  ·  D) Code reviews and feedback
Switch to Mentimeter · advance to slide 4 ↗

Switch to your Mentimeter tab · advance to slide 4

All four answers are good — use the result to point to the right tool for that use case.
Act 4 · Instructor Demo

Live demo — AI as a coding & teaching partner

▶ PlayLabs · Killercoda

AI as a Coding Partner — Live Demo for Educators

Claude implements a Round Robin CPU scheduler, explains it for a first-year student, produces technical documentation, then adapts to any algorithm — from one structured prompt. Maps directly to the GenAI app capabilities in this act.

killercoda.com/playlabs/course/killercoda/genai-code-educator

Step 2 — Generate code

python3 /root/demo/generate_code.py

Step 3 — Generate explanation + docs

python3 /root/demo/generate_docs.py

Step 4 — Run a variation

python3 /root/demo/variation.py "Shortest Job First"

Before running — say this

"We'll give Claude a classic OS algorithm. It will write working code, explain it like it's talking to a first-year student, produce documentation, then adapt to a different algorithm entirely."

The harness connection

Step 3 uses Step 2's output as its input — that's Stage C harness chaining from Act 3 in action. The lab secretly re-demonstrates the pipeline lesson inside the GenAI Applications act.

The teaching question

"Here is what Claude produced. Find one thing it got right, one design decision you would change, and one edge case it missed." — This cannot be answered by running Claude again. It requires a student who actually understands scheduling.

05 Act Five · Session 2

Fine-Tuning & RAG
When and how to specialise a foundation model

Act 5 · Fine-Tuning

Fine-tuning — when and why

What fine-tuning is

Continue training a pre-trained foundation model on a small, domain-specific dataset. The model retains its general knowledge but learns the patterns, terminology, and format of your domain.

When to fine-tune

  • ✓Consistent output style/format required (medical reports, legal briefs)
  • ✓Domain vocabulary the base model doesn't know (rare Indic languages, niche jargon)
  • ✓Latency is critical — smaller fine-tuned model can outperform large base model
  • ✓You have 1,000–100,000 high-quality labelled examples

When NOT to fine-tune (use RAG instead)

  • ✗Your data changes frequently (news, pricing, regulations)
  • ✗You need the model to cite sources
  • ✗You have fewer than 500 examples
  • ✗Budget is limited — fine-tuning an 8B model costs $500–$5,000

Fine-tuning cost reference (2024 baseline)

GPT-4o mini ~$8–$80 for 1,000 examples · OpenAI API · no hardware needed
Llama 3 8B $50–$500 on RunPod or Lambda Labs · full weights, you own the model
LoRA/QLoRA Fine-tune 8B model on a single A100 GPU for <$10 · 95% quality of full fine-tune

Research opportunity

Fine-tuning Llama 3 on Indic language datasets is an open problem with strong publication potential. IITM, IIIT-Hyderabad, and IISc are all running such projects. Faculty with domain datasets are collaborators, not just users.

Act 5 · RAG

RAG — retrieval augmented generation

What RAG is

Instead of baking domain knowledge into model weights (fine-tuning), RAG retrieves relevant documents at query time and injects them into the context window. The model answers from the retrieved documents.

The RAG pipeline (3 steps)

1

Embed & Index

Convert your documents into vector embeddings. Store in a vector database (Chroma, Pinecone, FAISS).

2

Retrieve

At query time, embed the user's question and find the top-K most similar documents by cosine similarity.

3

Generate

Pass the retrieved documents + user question to the LLM. The model answers using the retrieved content — grounded, citable, up-to-date.

Why RAG beats fine-tuning for most use cases

  • ✓No retraining needed when documents change — just re-index
  • ✓Model can cite the exact document it used to answer
  • ✓Hallucination drops dramatically — model is anchored to retrieved facts
  • ✓Works on private data without sending it to OpenAI for training
  • ✓Setup cost: ~$0–$50 with open-source tools (LangChain, LlamaIndex)

Research & teaching applications

  • ·Institution-specific QA bot — answer student questions from your college handbook
  • ·Research assistant — query your personal library of papers
  • ·Domain expert system — Q&A over lab manuals, regulations, standards
  • ·Multilingual RAG — Indic language documents + multilingual embedding = open research
▶ PlayLabs · Killercoda

RAG Foundations — Build from Scratch

5-step lab: chunk a GNITS policy doc → embed with sentence-transformers → retrieve with FAISS → compare direct vs RAG answers from Claude. No LangChain. Every step is plain Python.

killercoda.com/playlabs/course/killercoda/rag-foundations
Readiness Check · Mentimeter

How ready do you feel?

● Mentimeter · slide 5
Scale 1–5 — How ready do you feel to introduce GenAI topics in your course?
1 = Not at all ready  ·  3 = Somewhat ready  ·  5 = Very ready
Switch to Mentimeter · advance to slide 5 ↗

Use the result to calibrate the closing

1–2

Emphasise: "One tool, one task, one week. That's the whole commitment." Point to Colab and free tiers.

3

Emphasise: "Pick the harness assignment idea from Poll 3 — that's your first unit."

4–5

Acknowledge: "The room is ahead of most institutions. Find a colleague at 1–2 and help them start."

Switch to your Mentimeter tab · advance to slide 5

Use the distribution to frame the next two slides — research opportunities and practical next steps.
Act 5 · Research Directions

Your research at the GenAI intersection

High-impact themes at the GenAI + education intersection

AI-augmented engineering education

Measuring learning outcomes with AI-integrated pedagogy. Publishable in IEEE TLT, Computers & Education, ASEE. AICTE Research Promotion Scheme (RPS) is actively funding this.

Indic language LLMs & RAG

Fine-tuning open models on regional language datasets. Building RAG systems for Indic-language educational content. Strong publication gap, domestic funding available.

AI safety & hallucination detection

Automated verification of AI-generated engineering outputs. High need in regulated domains: medical devices, aerospace, civil infrastructure. Aligns with EU AI Act compliance research.

GenAI for domain-specific datasets

Synthetic data generation for rare failure modes — medical imaging, structural defects, industrial anomalies. Active research gap; especially valuable for Indic domains.

Quick-action funding guide

This quarter — apply now

  • ·ANRF CRG (formerly SERB — Core Research Grant) — rolling applications, response in 4 months
  • ·AWS Research Credits — online application, decision in 2 weeks
  • ·NVIDIA Academic Hardware Grant — apply at nvidia.com/en-us/industries/higher-education
  • ·AICTE Research Promotion Scheme (RPS) — faculty research grants for AICTE-affiliated institutions

Next 6 months — build the case

  • ·DST INSPIRE Faculty Award — ~₹22L/year for 5 years (₹15L stipend + ₹7L research grant; early-career researchers, PhD + postdoc, under 35)
  • ·IndiaAI Research Challenge — check indiaai.gov.in for current open cycle
  • ·Industry partnership (TCS/Infosys Research) — email directly with a 1-page problem statement

AI is a tool for your domain research — not a new domain to master from scratch. Your engineering expertise + AI tools = research that neither camp can do alone.

Closing

Thank you

One action from today is worth more than ten ideas

● Mentimeter · slide 6
Open-ended — One thing you'll try with GenAI next semester
Switch to Mentimeter · advance to slide 6 ↗

Switch to your Mentimeter tab · advance to slide 6

Read 4–5 responses aloud. These are the most important outputs of the whole day.

What to do in the next 7 days

1

Open Claude.ai or ChatGPT free tier — use it for one real teaching task (rubric, question bank, explanation)

2

Add one sentence to your next assignment: "Submit code with a 5-minute viva walk-through"

3

Pick one research problem from today's list — write a 1-page problem statement this weekend

Sunil C

Sunil C  ·  Technology Operations · Billtrust

linkedin.com/in/sunilreddy85