Built on the work of many
LearnHub stands on openly licensed courses, open models and open-source software. This page credits them and explains the licences that apply.
Courses
MIT 6.0001 Introduction to Computer Science and Programming in Python, Fall 2016, by Dr. Ana Bell, Prof. Eric Grimson and Prof. John Guttag, published by MIT OpenCourseWare under Creative Commons BY-NC-SA 4.0. The videos and captions are streamed from the Internet Archive. LearnHub adds a transcript view, search and an AI tutor around them, and does not change the lectures themselves. MIT is not affiliated with LearnHub and does not endorse it.
Lectures uploaded by course owners remain the property of their authors and are shown under the licence named on each video page.
AI models
Each model has its own licence, linked below.
| Model | What it does here |
|---|---|
| BGE-M3 (BAAI) | Turns passages and questions into dense and sparse embeddings for search |
| ms-marco-MiniLM-L6-v2 | Cross-encoder that reranks the best passages for a question |
| OpenCLIP ViT-B-32 | Image fingerprints for slides and frames |
| gpt-oss-120b and gpt-oss-20b (OpenAI, open weights) | Write the tutor's answers and rewrite follow-up questions, served by Groq |
| Llama Prompt Guard 2 (Meta) | Screens questions for attempts to manipulate the tutor, served by Groq |
| Whisper large-v3 (OpenAI) | Speech recognition for videos without captions, served by Groq |
| Tesseract OCR | Reads the text on slides |
Open-source software
LearnHub is built with Next.js, React, Tailwind CSS, shadcn/ui, Base UI, Lucide icons, FastAPI, Pydantic, PostgreSQL with pgvector, FFmpeg, PyTorch, sentence-transformers, FlagEmbedding, LiteLLM and boto3. Thank you to everyone who maintains them.
Infrastructure
Uploaded videos and slide images are stored in Backblaze B2 cloud storage. Language and speech models are served by Groq.