Part of the UoL Computer Science Taster Series
Over to Menti...
Output: "Cat" (99% Probability)
Output: [New Generated Pixel Data]
Over to Menti...
...sword (82%)
...breath (12%)
...shield (5.9%)
...smartphone (0.1%)
Current Setting: 0.80
Guess how an AI tokenizer would
split a phrase into blocks.
Over to Menti...
Imagine the floor of this classroom is a graph:
Where do you physically stand if you are:
A Hamster? A Wolf? A Blue Whale?
Over to Menti...
Over to YouTubbie for a brief video clip...
Over to YouTubbie again for a brief video clip...
Prompt: Classify the sentiment of this text.
"I absolutely loved the cinematography."
AI Output: Positive
Prompt:
"The plot was boring" -> Negative
"The acting was brilliant" -> Positive
"I absolutely loved the cinematography" -> ???
AI Output: Positive
Draft a prompt on paper that forces an AI to explain "Object-Oriented Programming" to an 8-year-old.
Rules: Must use an analogy involving video game characters, and you are banned from using the words "class", "code", or "instance".
Prompt: A bat and ball cost £1.10. The bat costs £1.00 more than the ball. How much is the ball? Give the answer directly.
AI Output: £0.10 (Incorrect!)
Prompt: ...How much is the ball? Think step-by-step.
AI Output:
1. Let ball = x. Bat = x + 1.00.
2. x + (x + 1.00) = 1.10
3. 2x + 1.00 = 1.10 → 2x = 0.10
4. x = 0.05
Final Answer Token: £0.05 (Correct)
User: What new discoveries from the James Webb Space Telescope can I tell my 9-year-old about?
AI Chatbot: ✨ Here are some amazing discoveries:
❌ FACT CHECK: The first exoplanet image was actually taken by the Very Large Telescope (VLT) in 2004, 17 years before JWST launched.
Imagine you are safety engineers. The AI guardrail states: "Do not give instructions on creating malware."
How can you frame a prompt to bypass this firewall without explicitly asking for a virus? Write your strategy.
To build models like these, you must be proficient at:
You will typcially find these in an undergraduate Data Science or Data Science & AI programme.
Thank you for participating!