Generative AI
September 5, 2025
A neural network is a method in AI inspired by the way the human brain processes information.
It uses interconnected nodes (neurons) arranged in layers:
a
, !
)dog
, house
)play
+ ing
)"cat"
→ 1 token"playing"
→ 2 tokens (play
, ing
)"extraordinary"
→ 2 tokens (extra
, ordinary
)Large Language Model (LLM): A neural network trained on vast text (and often code) to model the probability of the next token.
Capabilities emerge: dialogue, summarization, code generation, reasoning heuristics, tool use (e.g., ChatGPT, Claude, Gemini, Copilot, Grok).
Limitations: hallucinations (confidently wrong), training bias, context limits (a fixed number of tokens), lack of grounding.
The practice of designing clear, structured inputs to guide generative AI systems toward producing accurate, useful, and context-appropriate outputs.
“Explain climate change.”
“Explain climate change in simple terms for a 10-year-old using a short analogy and two examples.”
In our DANL 101, the use of generative AI will be allowed for coding and a project.
Treat AI as a co‑pilot for: clarifying concepts, brainstorming, code debugging, style/grammar critique.
Your responsibilities:
Build habits: prompt → check → revise → document.
Q: Where do you draw the line between assistance and authorship? Please work on Classwork 1.
Note
Examples:
Note
Examples:
Note
Note
With both, the attention can find relationships: color ↔︎ sea
Output: context-aware representations of the sentence that the decoder can use to generate an answer.
Note
Note
Note
Massive pretraining corpora: public sources + scraped web; permission often unclear
Legal & ethical gray areas for copyrighted material
Data can encode biases, errors, and harms → models mirror them.
Biases:
Note
Note
“I am extremely optimistic that superintelligence will help humanity accelerate our pace of progress.” - Mark Zuckerberg Personal Superintelligence, July 30, 2025.
Hypothetical leaps to AGI → ASI raise existential scenarios.
Public calls to slow or halt development vs. continued rapid progress
Mixed motives: profit, optimism about “boundless upside,” and belief in net benefits
Regardless, society is already in the AI age → we must set norms now
Alignment must reflect human values and broader real-world impacts.
What’s needed: coordinated norms & standards shaped by diverse voices across society.
Note