Bumblebee: GPT2, Stable Diffusion, and More in Elixir

📰 Hacker News · clessg

Learn how to run Machine Learning models like GPT2 and Stable Diffusion in Elixir using the Bumblebee project and Livebook integration

intermediate Published 8 Dec 2022
Action Steps
  1. Install the Bumblebee project using GitHub
  2. Download training parameters for models from Hugging Face
  3. Integrate Bumblebee with Livebook for easy model running
  4. Run Machine Learning models like GPT2 and Stable Diffusion in Elixir
  5. Embed and run models within existing Elixir projects
Who Needs to Know This

Data scientists and Elixir developers can benefit from this integration to build and deploy ML models in their projects

Key Insight

💡 Bumblebee provides a simple way to run Machine Learning models in Elixir, making it easier to build and deploy AI-powered applications

Share This
🚀 Run ML models like GPT2 & Stable Diffusion in Elixir with Bumblebee & Livebook! 🤖

Key Takeaways

Learn how to run Machine Learning models like GPT2 and Stable Diffusion in Elixir using the Bumblebee project and Livebook integration

Full Article

Title: Announcing Bumblebee: GPT2, Stable Diffusion, and more in Elixir - Livebook.dev - The Livebook Blog

URL Source: https://news.livebook.dev/announcing-bumblebee-gpt2-stable-diffusion-and-more-in-elixir-3Op73O

Markdown Content:
[![Image 1: Livebook.dev The Livebook Blog logo](https://img.announcekit.app/1dfce53933be9b63f5e617396c8bca87?w=500&s=df41449fe8763f1e3c4b9705a4017cbc)](https://news.livebook.dev/)
# The Livebook Blog

[Back to Homepage](https://livebook.dev/)[Subscribe to Updates](https://news.livebook.dev/announcing-bumblebee-gpt2-stable-diffusion-and-more-in-elixir-3Op73O#)

## Labels

* [All Posts](https://news.livebook.dev/)
* [releases](https://news.livebook.dev/label/28521)
* [tutorials](https://news.livebook.dev/label/35889)
* [announcements](https://news.livebook.dev/label/36731)
* [launch week](https://news.livebook.dev/label/45764)

## Jump to Month

* [December 2025](https://news.livebook.dev/date/2025/12)
* [September 2024](https://news.livebook.dev/date/2024/9)
* [July 2024](https://news.livebook.dev/date/2024/7)
* [March 2024](https://news.livebook.dev/date/2024/3)
* [October 2023](https://news.livebook.dev/date/2023/10)
* [August 2023](https://news.livebook.dev/date/2023/8)
* [July 2023](https://news.livebook.dev/date/2023/7)
* [April 2023](https://news.livebook.dev/date/2023/4)
* [March 2023](https://news.livebook.dev/date/2023/3)
* [February 2023](https://news.livebook.dev/date/2023/2)
* [January 2023](https://news.livebook.dev/date/2023/1)
* [December 2022](https://news.livebook.dev/date/2022/12)
* [October 2022](https://news.livebook.dev/date/2022/10)
* [September 2022](https://news.livebook.dev/date/2022/9)
* [August 2022](https://news.livebook.dev/date/2022/8)
* [July 2022](https://news.livebook.dev/date/2022/7)
* [May 2022](https://news.livebook.dev/date/2022/5)
* [January 2022](https://news.livebook.dev/date/2022/1)
* [April 2021](https://news.livebook.dev/date/2021/4)

[Powered by Create yours, for free!](https://announcekit.app/?utm_source=feed&utm_campaign=3IFREyQ)

![Image 2: Announcing Bumblebee: GPT2, Stable Diffusion, and more in Elixir](https://img.announcekit.app/d72c14ae799fe88b23e2116fdc9c2097?w=2400&s=3f40f6923f5570cb5b8bdf88a65cbed8)

announcements 3 years ago

# [Announcing Bumblebee: GPT2, Stable Diffusion, and more in Elixir](https://news.livebook.dev/announcing-bumblebee-gpt2-stable-diffusion-and-more-in-elixir-3Op73O)

We are glad to announce a variety of Neural Networks models are now available to the Elixir community via[the Bumblebee project](https://github.com/elixir-nx/bumblebee).

We have implemented several models, from GPT2 to Stable Diffusion, in pure Elixir, and you can download training parameters for said models directly from[Hugging Face](https://huggingface.co/).

To run your first Machine Learning model in Elixir, all you need is three clicks, thanks to[our integration between Livebook and Bumblebee](https://github.com/livebook-dev/kino_bumblebee). You can also easily embed and run said models within existing Elixir projects.

Watch the video by José Valim covering all of these topics and features:

## [](https://hackmd.io/bLlg58ouRgS4ARur_VMQ7g?view#Running-Machine-Learning-models-with-Livebook)

## [](https://hackmd.io/bLlg58ouRgS4ARur_VMQ7g?view#Running-Machine-Learning-models-with-Livebook)Running Machine Learning models with Livebook

Here are some examples of what it looks like to use [Livebook to run Machine Learning models](https://github.com/livebook-dev/kino_bumblebee):

### [](https://hackmd.io/bLlg58ouRgS4ARur_VMQ7g?view#Text-to-image)

### [](https://hackmd.io/bLlg58ouRgS4ARur_VMQ7g?view#Text-to-image)Text to image

![Image 3](https://img.announcekit.app/4f31bcb99f5122396cc87568b57b4a4b?w=1852&s=7e33eb23135cb4bff00e8aa2aead9249)

### [](https://hackmd.io/bLlg58ouRgS4ARur_VMQ7g?view#Image-classification)Image classification

![Image 4](https://img.announcekit.app/821589e5d630d01e90534c134b00e9ac?w=1
Read full article → ← Back to Reads

Related Videos

5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
The KV Cache Is Just Memoization
The KV Cache Is Just Memoization
DataMListic
Multi-Head Attention Tensor Shapes
Multi-Head Attention Tensor Shapes
DataMListic
Multi-Head Latent Attention (MLA) - Explained
Multi-Head Latent Attention (MLA) - Explained
DataMListic
GPT-Live Tutorial 2026 | Complete Urdu/Hindi Guide | New ChatGPT Voice Mode Explained 🔥
GPT-Live Tutorial 2026 | Complete Urdu/Hindi Guide | New ChatGPT Voice Mode Explained 🔥
Learn with Fatimah Gondal
Exploring AI Toolkit for VS Code | Download/Fine Tune/Inference LLM & Play with them on Local Server
Exploring AI Toolkit for VS Code | Download/Fine Tune/Inference LLM & Play with them on Local Server
Dewiride Technologies