fastai is a deep learning library built on PyTorch that provides high-level, modular APIs for training neural networks across vision, text, tabular, collaborative filtering, and medical imaging domains. Its architecture centers on a `Learner` class that orchestrates training loops, callbacks, metrics, and data pipelines. Data loading is handled by composable `DataBlock` and `TfmdDL` abstractions, while a rich callback system (with 30+ built-in callbacks) enables customization of logging, scheduling, mixed precision, gradient accumulation, and experiment tracking (WandB, Comet, TensorBoard). The library uses nbdev for literate programming, generating all source code from Jupyter notebooks, and includes factory methods like `vision_learner`, `text_classifier_learner`, and `tabular_learner` for rapid model construction with transfer learning. It supports distributed training via Hugging Face Accelerate, mixed precision (AMP/BF16), and provides research-oriented components such as AWD-LSTM, XResNet, U-Net, GANs, and custom loss functions (Focal, Dice, Label Smoothing).
Elyra is a JupyterLab extension suite that provides a visual pipeline editor for building, validating, and executing multi-step AI/ML workflows on Kubeflow Pipelines, Apache Airflow, or locally. It includes enhanced script editors (Python, R, Scala) with kernel management and debugging, a code snippet manager, and a metadata-driven system for runtime configurations, runtime images, and component catalogs. The backend (Python) handles pipeline parsing, validation, code generation via Jinja2 templates, and submission to remote orchestrators, while the frontend (TypeScript/React) delivers a rich UI with drag-and-drop, property editing, and real-time validation. The architecture is modular with pluggable runtime processors, component catalog connectors, and metadata storage backends, making it extensible for custom runtimes and data sources. Although primarily an application, it serves the MLOps domain by orchestrating data science notebooks and scripts as reproducible pipelines.
This repository is a comprehensive educational cookbook for building with Anthropic's Claude API and Agent SDK. It contains over 60 Jupyter notebooks demonstrating capabilities such as classification, retrieval-augmented generation (RAG), summarization, text-to-SQL, knowledge graph construction, content moderation, tool use, multimodal processing, extended thinking, and agent orchestration. The repo also includes production-oriented hosting patterns (Docker, Kubernetes, Modal, Cloudflare Workers) for deploying agents, and extensive evaluation frameworks using promptfoo with custom Python evaluators (BLEU, ROUGE, LLM-as-judge). While primarily a tutorial collection, it exhibits hybrid characteristics with reusable infrastructure code for agent hosting, content moderation pipelines, and notebook validation. The codebase is actively maintained with CI/CD workflows, but relies on beta APIs and hardcoded model names that introduce technical drift. Data assets are synthetic but realistic, enabling reproducible demonstrations of Claude's capabilities.
The Little Book of ML Metrics is a comprehensive, collaboratively authored reference book that explains and visualizes evaluation metrics across the full spectrum of machine learning tasks: regression, classification, clustering, ranking, computer vision, NLP, generative AI, probabilistic estimation, bias/fairness, and data observability. The repository contains the LaTeX source code, a collection of Jupyter notebooks (and Python scripts) that generate all figures, and a set of custom tools for book production and review. Its primary function is to produce a high-quality, print-ready PDF that serves as both a pedagogical introduction and a practical decision guide for practitioners. The codebase is dominated by figure-generation scripts that implement each metric with synthetic or small real-world datasets and render Tufte-style, publication-quality plots. While the repository is not a traditional software application, it does include several bespoke tools: an interactive formula tuner (for adjusting TikZ arrow annotations on formulas), a review recorder (a local HTTP server for reviewing the PDF with audio notes), and a formula layout helper that auto-positions arrows. These tools are tightly integrated into the book production pipeline but are not intended for general reuse. The code is well-organized and follows consistent visual patterns (shared color palette, despine helpers, direct annotations), though there is considerable duplication across notebook scripts and a lack of automated tests. The LaTeX build process is robust but depends on a full TeX distribution and a third-party GitHub Action. Dependencies are pinned via pyproject.toml and uv.lock, and the genai figure generation requires a separate heavy environment (torch, transformers) run manually, which reduces full reproducibility out-of-the-box. Overall, this is a well-crafted book project with strong internal consistency, but its code is best viewed as supporting infrastructure rather than a standalone piece of software.
This repository is a comprehensive educational resource for linear algebra and matrix computations, serving as the companion code for the book "Book 4: The Power of Matrices" from the "Iris Flower Book" series. It contains Jupyter notebooks and Streamlit apps that visualize core concepts from vectors and matrices to eigenvalue decomposition, SVD, and data projections. The code is pedagogical, using synthetic data and the Iris dataset to illustrate mathematical ideas through interactive plots and heatmaps. It is not a production application or data pipeline but a teaching tool. The repository is well-organized by chapter, though code is duplicated across notebooks rather than modularized, reflecting its educational nature.
This repository is the companion code for the O'Reilly book 'Hands-On Large Language Models' by Jay Alammar and Maarten Grootendorst. It provides 12 chapters of Jupyter notebooks covering fundamental and advanced LLM topics including tokenization, embeddings, text classification, clustering, prompt engineering, semantic search, multimodal models, fine-tuning, and generation. All notebooks are designed to run on Google Colab with free GPU resources and rely heavily on Hugging Face libraries (transformers, datasets, sentence-transformers, TRL) and external APIs (OpenAI, Cohere). The code is educational in nature, with clear step-by-step explanations and visualizations. While it is not a production application or a novel research pipeline, it serves as a high-quality, reproducible tutorial resource for practitioners learning LLM workflows. The repository includes pinned dependencies, Conda environment setup, and local installation guides, making it relatively easy to reproduce in a controlled environment, though API keys are required for some sections.
This repository is a massive collection of Jupyter notebooks, course materials, and documentation for the Hugging Face ecosystem (Transformers, Diffusers, Datasets, PEFT, smolagents, etc.). It serves as an educational resource, containing the official Hugging Face course in multiple languages, auto-generated documentation notebooks, and community examples covering NLP, computer vision, audio, and generative AI. It also includes SageMaker integration examples for training and deployment on AWS. The repository is primarily a documentation and learning resource, not a production application. It exhibits hybrid nature as it includes both educational content and reusable utility scripts and training patterns. The code quality is typical for tutorials: functional but not production-grade, with some deprecated API usage (e.g., `load_metric`), translation drift across languages, and auto-generated notebooks that may lag behind library updates. However, the core educational content is well-structured and actively maintained by Hugging Face.
This repository hosts the Hugging Face Deep Reinforcement Learning Course (v2.0), a free, open-source educational curriculum covering RL from fundamentals (Q-Learning, Policy Gradients) to advanced topics (PPO, A2C, Multi-Agent RL, Curiosity-Driven RL). It is primarily a collection of theoretical lessons (MDX files) and hands-on Jupyter notebooks designed to run on Google Colab. The notebooks train agents using libraries like Stable-Baselines3, CleanRL, ML-Agents, and Sample Factory, and push trained models to the Hugging Face Hub with evaluation videos and leaderboard comparison. While not a production application or data pipeline, the repo contains reusable training loops, evaluation helpers, and Hub packaging functions that can be extracted for other RL projects. The course is in low-maintenance mode, with some broken features (Unit 7 AI vs AI) and dependency drift (gym vs gymnasium), but the core content remains functional and well-structured.
This repository is a curated collection of Jupyter notebooks and Python scripts that demonstrate fine-tuning, inference, quantization, and optimization techniques for state-of-the-art vision and multimodal models from the Hugging Face ecosystem. It covers a wide range of tasks including visual question answering, object detection, image classification, video understanding, multimodal retrieval, and preference alignment (DPO). The code is primarily educational, designed to be run interactively in Google Colab, with each notebook or script serving as a self-contained tutorial for a specific model or technique. Notable patterns include LoRA/QLoRA fine-tuning, knowledge distillation via a custom ImageDistilTrainer, any-to-any embedding for retrieval, and video frame downsampling for multimodal input. The repository is not a production library or application; it is a learning resource for engineers and researchers exploring vision-language models.
This repository is an educational cookbook from Upstage, centered on their Solar LLM and Document AI APIs. It contains a large collection of Jupyter notebooks (Solar-Fullstack-LLM-101) that teach prompt engineering, RAG, cache-augmented generation, tool calling, and fact-checking with knowledge graphs, plus a Flask sample backend (Bremen) and a Flutter mobile app. The dominant character is a notebook-driven ML/research collection, but it is hybrid because it includes runnable application code (Flask API, Flutter app) and static data assets (OCR JSON, CSV knowledge bases).
This repository is a comprehensive collection of machine learning lecture notes and tutorials, primarily in PDF format, covering a wide range of topics from foundational mathematics to advanced research areas like generative models, reinforcement learning, and optimization. The only executable code is a single Jupyter notebook demonstrating interactive linear regression and K-means clustering using synthetic data. The repository serves as an educational resource, not a production application or data pipeline. The code is minimal, unmaintained, and uses Python 2, indicating significant technical drift. The notebook is self-contained with synthetic data, but lacks dependency pinning, making reproducibility low. The notes themselves are extensive but not directly executable.