Ai Mindset Academy • Student Guide
★ The easy way — no training from zero

Make an AI Model, step by step.

You don't build AI from zero. You find a good model, run it on your computer, teach it your data, and only fine-tune when you really need to.

1Find
Hugging Face
2Run
LM Studio / Ollama
3Customize
Your data + prompt
4Train
Unsloth — if needed

Meet the 4 tools

Each tool has one job. Don't learn all 4 at once — learn them in order.

Library • Start here to find

🤗 Hugging Face

Like GitHub for AI models.

Easiest • No code

LM Studio

Desktop app with buttons.

For builders • API

Ollama

Terminal + API.

Advanced • Fine-tuning

Unsloth

For fine-tuning.

The 3-level ladder

Level 1 • 30 min

Use

Run a ready model.

Level 2 • 1 lesson

Customize

System prompt + your data.

Level 3 • Advanced

Train

Fine-tune with Unsloth.

Your 4 missions

Tap a mission to open it.

  1. Install LM Studio
  2. Download Qwen2.5 3B
  3. Chat in EN/MM

Show: Screenshot

  1. Search by task
  2. Read Model Card
  3. Pick smallest that works
  1. Write system prompt
  2. Test 10 questions
  3. Bonus: Ollama API

ollama run qwen2.5:3b   http://localhost:11434

  1. Make 50 examples
  2. Colab + Unsloth
  3. Train, test, upload
New Chapter • Advanced but simple

Make an AI Model Using an AI Agent

Can an AI help you build another AI? Yes.

🧠

The Model = The Brain

It thinks and answers.

+
🛠️

The Agent = The Worker

Uses tools to do steps.

Model alone = advice. Agent = advice + action.

3 ways an agent can build a model

Way 1 • Most powerful

Coding Agent

Muse / Codex

Writes & runs code.

  • Best for Mission 4
  • Human approves
Way 2 • Easiest for students

No-Code Agent

Hugging Face AutoTrain

Upload → Click Train

Way 3 • Team system

Multi-Agent Pipeline

n8n / LangGraph

Like a small team.

  • 📥 Data Agent
  • 🏋️ Training Agent
  • 🧪 Eval Agent
  • 🚀 Deploy Agent

A simple example — in 7 steps

Goal: shop assistant from price list.

1. You give goal + data2. Agent writes code3. Runs in Colab4. Tests answers5. Fixes mistakes6. You approve ✓7. Model ready

What an agent cannot do alone

  • Cannot invent good data
  • Cannot judge rules
  • Cannot run GPU alone
  • Can make mistakes

Human-in-the-Loop

Agent proposes. Human verifies.

Check 3 times:

  • Before training
  • After testing
  • Before publishing

Checklist — using an agent safely

Real Example • Live web app you can try

Real Example: Myanmar TTS Batch — a Hugging Face model on a VPS

Students asked: “Can I make a web app like this?” Yes — you are deploying a ready model, not training one.

myanmar-tts.komoe.org/batch  •  Try it: paste a script, pick a voice, download a ZIP.

🌐

1. Website (Frontend)

Static page — sends text, downloads result

batch.html
→
⚙️

2. FastAPI (Backend)

Python API — receives text, returns audio

POST /batch
→
🤗

3. Hugging Face Model

Downloaded once, runs on the VPS

Nara-mini-v1-tts • 725 MB

Website = the face. FastAPI = the waiter. Model = the kitchen.

How this batch app works

All the AI work happens on the VPS.

725 MBModel size — fits a 2 GB VPS
4Voices — one at a time to save RAM
20Scenes per batch
On the VPS • Lightsail Sydney

The server side

  • Runs as a systemd service
  • Caddy adds HTTPS + domain
  • Limits + cache save money & RAM
The API • 4 endpoints only

Small API, big app

  • GET /health — Is the model ready?
  • GET /voices — List the 4 voices
  • POST /tts — {text, voice} → one WAV
  • POST /batch — Up to 20 scenes → ZIP

What the user does — in 4 steps

1. Paste script2. Blank line = new scene3. Pick a voice4. Download ZIP

Copy the batch idea for other models.

Make your own — in 5 steps

Same pattern as the TTS app.

  1. Pick a small CPU model
  2. Test locally first
  3. Wrap in FastAPI — 2 endpoints
  4. Deploy on Lightsail VPS
  5. Build the batch frontend

Show: Live link + batch result screenshot

Beginner mistakes to avoid

  • Huge model = VPS crash
  • Load once, not per request
  • Add limits from day one
  • Model belongs on the server

The key lesson

Deploy first, train later.

Same deploy for your own model later

New Chapter • Use first, pay last

Cheap AI APIs — OpenRouter & Other Suppliers

Not every job needs your own model or your own VPS. Sometimes the fastest, cheapest way is to call a ready model through an API.

What is an API? In one line: you send text to a web address with a key, and the model replies. You do not download the model.

Your app / n8nAPI address + keyModel replies

How one API call works

Learn it once, then switch supplier by changing only 3 things.

Part 1

Endpoint (Base URL)

The web address you send to.

Part 2 • Secret

API Key

Your private password for the API.

Part 3

Model name

The exact model you want.

Part 4

Request → Response

Send JSON, get JSON back.

Copy this pattern • Python

One pattern, many suppliers

import requests

BASE_URL = "https://openrouter.ai/api/v1"   # 1) change this
API_KEY = "YOUR_API_KEY"                    # 2) change this — keep secret
MODEL = "MODEL_NAME:free"                   # 3) change this

r = requests.post(
    BASE_URL + "/chat/completions",
    headers={"Authorization": "Bearer " + API_KEY},
    json={"model": MODEL,
          "messages": [{"role": "user", "content": "Write a short shop post"}]}
)
print(r.json()["choices"][0]["message"]["content"])

To switch supplier, change only 3 things.

OpenRouter — one key, many models

OpenRouter is a router, not a model maker.

:free:free = $0 per token
20 / minFree limit per minute
50 → 1,000Free requests per day

Use OpenRouter when…

  • Try many models, one key
  • First free supplier is full
  • Check the live list first

openrouter.ai/models

⚠️ Free is not private

  • Free hosts may train on prompts
  • Never send private data on free APIs
  • Use local for private work

Other cheap suppliers — compare first

Start free. Pay only when free is not enough.

Free • Best for daily work

Google Gemini API

Free tier, no card to start.

Free • Fastest replies

Groq

Very fast, keep prompts short.

Not a free API • Download instead

Hugging Face Inference

Download and run it yourself.

Cheap paid • Backup only

DeepSeek — paid fallback

From about $0.15 per 1M input tokens.

  • Small model for simple tasks
The habit that saves money

Check before you build

Confirm it is still free, then test small.

The better solution — the 3-layer cheap stack

Build in layers, not on one supplier.

Layer 1 • $0

Free API first

Try in order, switch on limit:

Gemini Flash-LiteGroqOpenRouter :free

Everyday public tasks at $0

Layer 2 • $0 & Private

Local — for private data

Unlimited and private

Company & customer data stays here

Layer 3 • $1–2 / month

Cheap paid backup

Backup only, with a budget cap

A cap stops a big bill

Keep your key and your budget safe

Your next mission

  1. Get one free key, keep it secret
  2. Run the pattern with a free model
  3. Switch by changing only 3 things
  4. Connect to n8n / shop assistant

Show: Same code, 2 suppliers, 1 question

Ai Mindset Academy • Hugging Face • LM Studio • Ollama • Unsloth • AutoTrain • n8n / LangGraph • FastAPI • Lightsail VPS