Skip to content

Open-source Models

The module runs open-source models three ways: through Hugging Face Inference, in the browser with Transformers.js, and on your own computer with Ollama. Its two downloadable projects cover the last two routes: one loads a Transformers.js model in the browser, the other is an Express server that calls Ollama running on your computer. Neither needs an API key.

These pages accompany the Open-source Models module of Scrimba's AI Engineer Path. They don't replace the lessons; they hold the setup detail that changes faster than a recorded scrim can, so it can be corrected here instead of re-recorded.

The pages

Running Open-source Models projects locally is for when you've downloaded the Transformers.js or Ollama project from the lesson menu and want it running on your own machine. It covers what to install first, how to run the Transformers.js project or repair and run the Ollama project, and the errors most learners hit on the way.

More pages for this module will be added here as they're written.

Looking for a different course?

Run an AI course project locally lists every course and project that has a setup guide.

Take the AI Engineer Path on ScrimbaOpen-source Models is a module of Scrimba's AI Engineer Path, where you run each model setup lesson by lesson.