This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend
What I Built
I built French Language Companion, a small AI-powered French learning tool for my younger brother, who struggles with French grammar and spelling.
The idea is to make practice more personal and interactive. Instead of only giving static exercises, the application uses AI to generate French practice based on the learner's level, check answers, and provide explanations and rules.
The current interface lets the learner choose a level and a practice area such as Grammar or Orthography.
Demo
The application uses Gemma 3 4B locally through Ollama to generate and evaluate French exercises. Gemma is currently running slowly on my machine, but the local AI integration is implemented in the project.
Code
mounab3
/
french-language-companion
AI-powered French grammar and orthography practice companion built with Streamlit, Ollama, and Gemma.
🌱 A simple AI-powered French learning companion for grammar and orthography practice.
Hacktoberfest 2026 — Weekend Challenge: Build for a Friend 💜
📋 Description
French Language Companion is an AI-powered learning application designed to help a French learner practice grammar and orthography
I built it for my younger brother, who struggles with French grammar and spelling The goal is to create a simple learning tool where AI generates exercises, checks answers, and explains mistakes.
🤖 The AI runs locally using Ollama and Gemma.
💡 Why I Built It
Traditional exercises do not always explain why an answer is wrong I wanted to create a more personal practice tool that gives useful feedback instead of only showing correct or incorrect.
🎯 Main Objectives
- 📚 Practice French grammar and orthography
- 🤖 Use open AI technology for learning
- 🎯 Generate exercises adapted to the learner's level
- 💡 Explain mistakes and relevant rules
- …
How I Built It
I built the project with Python and Streamlit, using Ollama to run Google's Gemma 3 4B model locally.
The application is structured around a simple learning flow:
Choose level → Choose practice → Generate exercise → Answer → Check → Explanation
Gemma is integrated into the Python application through Ollama's local API. I separated the AI logic into ai.py and the Streamlit interface into app.py.
One of the things I liked about this approach is that the AI does not sit beside the application as a generic chatbot. It is intended to be part of the actual learning process.
Why Does Open Innovation Matter?
Open innovation made it possible for me, as a student, to experiment with AI locally and build around an open-weight model without depending entirely on a closed API.
With Gemma and Ollama, the model can run on the user's own computer, which can be useful for learning tools where keeping data local matters.
It also gives me the freedom to experiment with different Gemma model sizes and change how the AI is used inside the application.
My Agent Session
I did not use DevRelay for this project.
Best Use of Gemma
I am entering this category because the project uses Google's Gemma 3 4B locally through Ollama as the AI model behind the language learning experience.
Top comments (0)