Inside Model ReasoningFine-Tuning in ActionBarry S. StahlSolution Architect & Developer@bsstahl@cognitiveinheritance.comhttps://CognitiveInheritance.com |
|
Favorite Physicists
Other notables: Stephen Hawking, Edwin Hubble, Leonard Susskind, Christiaan Huygens |
Favorite Mathematicians
Other notables: Daphne Koller, Grady Booch, Leonardo Fibonacci, Evelyn Berezin, Benoit Mandelbrot |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We'll look at better ways to adjust the model's knowledge later in this session |
|
|
|
|
|
User: Set the office lights to 40 percent and make them warm white
User: It's too cold in here, bump the temperature up a couple degrees
User: What is my current Azure spend for the month?
User: Mark messages from marketing@spammer.biz as spam
User: Create a placeholder for a blog post called Fine-Tuning AI Models with Microsoft Foundry
User: Add an A record for api.cuyahogapress.com pointing to 192.168.0.0 with a 300‑second TTL
|
What if we give the model an utterance that it hasn't been fine-tuned to handle? Will it:
|
|
|
|
|
Add tokens to the designed prompt
|
|
You are a helpful AI Assistant
vs
You are an expert on The Simpsons with deep knowledge of episodes, character arcs, running gags, and cultural references. Your tone is concise, confident, and lightly humorous, like a TV historian who has spent decades cataloging Springfield's finest chaos. Your output must always be a single JSONL line in this structure:
{ "messages": [{ "role": "user", "content": "<user query>" },{ "role": "assistant", "content": "<assistant response referencing a real Simpsons episode>" }]}
|
Add tokens at runtime
|
|
|
|
|
Restrict what tokens the model can produce
|
|
|
Reject or correct the output after it's produced
|
|
|
Modify the model’s behavioral priors
|
|
|
|
|
|
|
|
|