Support for language models and Generative AI

244 views
Skip to first unread message

Dale Lane

unread,
Mar 2, 2025, 10:34:27 AM3/2/25
to Machine Learning for Kids
I have a first version of support for language models in Machine Learning for Kids. 

You can use language models (such as Meta's Llama, Microsoft's Phi, and Google's Gemma) in Scratch [1] - and I've built out a screen in the main training tool site for introducing the main concepts, and configuring and testing models before jumping into using them in Scratch.

For screenshots of what is I've got so far, please see my blog post at https://dalelane.co.uk/blog/?p=5538 

For an explanation and walkthrough, including an explanation of the technology from first principles, please see my video at https://youtu.be/Duw83OYcBik 

Or, just give it a try for yourself!

Please let me know what you think. This has been the most-asked-for feature for well over a year now, and while I'm sure there is more work needed, I hope this first start will be useful! 

Kind regards

D

[1] - Note that the models are downloaded and run locally in your web browser, I'm not using a cloud service for any of these.

Dale Lane

unread,
Mar 16, 2025, 3:11:19 PM3/16/25
to Machine Learning for Kids
Today, I've written two new worksheets that cover the ideas described in that blog post

Screenshot of the worksheets page on "Machine Learning for Kids". The filter is set to show projects where the computer generates text. Two projects are displayed: "Language models" and "Storyteller".
 
Please let me know what you think!

Reply all
Reply to author
Forward
0 new messages