Examples, tutorials, and applications to help you build with our open-weight LFMs and the LEAP SDK on laptops, mobile, and edge devices.
Ready-to-run applications showcasing agentic workflows and real-time inference on a local device.
| Name | Description | Link |
|---|---|---|
| Invoice Parser | Extract structured data from invoice images using LFM2-VL-3B | Code |
| Audio Transcription CLI | Real-time audio-to-text transcription using LFM2-Audio-1.5B with llama.cpp | Code |
| Flight Search Assistant | Find and book plane tickets using LFM2.5-1.2B-Thinking with tool calling | Code |
| Audio Car Cockpit | Voice-controlled car cockpit demo combining LFM2.5-Audio-1.5B with LFM2-1.2B-Tool | Code |
| Audio WebGPU Demo | Run LFM2.5-Audio-1.5B entirely in your browser for speech recognition, TTS, and conversation | Code |
| Vision WebGPU Demo | Real-time video captioning with LFM2.5-VL-1.6B running in-browser using WebGPU | Code |
Native examples for deploying LFM2 models on iOS and Android using the LEAP Edge SDK. Written for Android (Kotlin) and iOS (Swift), the goal of the Edge SDK is to make Small Language Model deployment as easy as calling a cloud LLM API endpoint.
| Name | Description | Link |
|---|---|---|
| LeapChat | Chat app with real-time streaming, persistent history, and modern UI | Code |
| SloganApp | Single turn marketing slogan generation with Android Views | Code |
| ShareAI | Website summary generator | Code |
| Recipe Generator | Structured output generation with the LEAP SDK | Code |
| VLM Example | Visual Language Model integration | Code |
| Name | Description | Link |
|---|---|---|
| LeapChat | Chat app with real-time streaming, conversation management, and SwiftUI | Code |
| LeapSloganExample | Basic LeapSDK integration for text generation in SwiftUI | Code |
| Recipe Generator | Structured output generation | Code |
| Audio Demo | Audio input/output with LeapSDK for on-device AI inference | Code |
Colab notebooks and Python scripts for customizing LFM models with your own data.
| Name | Description | Link |
|---|---|---|
| Supervised Fine-Tuning (SFT) | ||
| SFT with Unsloth | Memory-efficient SFT using Unsloth with LoRA for 2x faster training | Notebook |
| SFT with TRL | Supervised fine-tuning using Hugging Face TRL library with parameter-efficient LoRA | Notebook |
| Reinforcement Learning | ||
| GRPO with Unsloth | Train reasoning models using Group Relative Policy Optimization for verifiable tasks | Notebook |
| GRPO with TRL | Train reasoning models using Group Relative Policy Optimization with rule-based rewards | Notebook |
| Continued Pre-Training (CPT) | ||
| CPT for Translation | Adapt models to specific languages or translation domains using domain data | Notebook |
| CPT for Text Completion | Teach models domain-specific knowledge and creative writing styles | Notebook |
| Vision-Language Models | ||
| VLM SFT with Unsloth | Supervised fine-tuning for LFM2-VL models on custom image-text datasets | Notebook |
Open-source projects built by the community showcasing LFMs with real use cases.
| Name | Description | Link |
|---|---|---|
| Image Classification on Edge | End-to-end tutorial covering fine-tuning and deployment for super fast and accurate image classification using local VLMs | Code |
| Chess Game with Small LMs | End-to-end tutorial covering fine-tuning and deployment to build a Chess game using Small Language Models | Code |
| TranslatorLens | Offline translation camera for real-time text translation | Code |
| Food Images Fine-tuning | Fine-tune LFM models on food image datasets | Code |
| Meeting Intelligence CLI | CLI tool for meeting transcription and analysis | Code |
| Private Doc Q&A | On-device document Q&A with RAG and voice input | Code |
| Photo Triage Agent | Private photo library cleanup using LFM vision model | Code |
| LFM-Scholar | Automated literature review agent for finding and citing papers | Code |
| LFM2-KoEn-Tuning | Fine-tuned LFM2 1.2B for Korean-English translation | Code |
| Chat with LEAP SDK | LEAP SDK integration for React Native | Code |
| Private Summarizer | 100% local text summarization with multi-language support | Code |
| Tiny-MoA | Mixture of Agents on CPU with LFM2.5 Brain (1.2B) | Code |
Recorded sessions (~60 minutes) covering advanced topics and hands-on implementations.
| Date | Topic | Link |
|---|---|---|
| 2025-11-06 | Fine-tuning LFM2-VL for image classification | Video |
| 2025-11-27 | Building a 100% local Audio-to-Speech CLI with LFM2-Audio | Video |
| 2025-12-26 | Fine-tuning LFM2-350M for browser control with GRPO and OpenEnv | Video |
| 2026-01-22 | Local video-captioning with LFM2.5-VL-1.6B and WebGPU | Video |
Join the next session! Head to the #live-events channel on Discord.
We welcome contributions! Open a PR with a link to your project GitHub repo in the Community Projects section.
