Linfa is a comprehensive machine learning library for Rust, providing implementations of classical ML algorithms including supervised learning (regression, classification, SVM, naive Bayes, decision trees, ensemble methods) and unsupervised learning (clustering, dimensionality reduction, ICA). The library features a modular architecture with core traits defining standard ML interfaces (Fit, Predict, Transformer), a flexible Dataset abstraction for data handling, and algorithm-specific crates following consistent patterns. It emphasizes performance through optional BLAS backends and parallel processing, while maintaining usability via builder-pattern hyperparameter configuration and comprehensive example code.
This repository is a comprehensive educational resource focused on production-grade Generative AI systems, specifically designed for interview preparation and professional reference. Rather than being an executable application, it serves as a detailed knowledge base covering 16 critical areas of modern GenAI deployment, from foundational concepts like RAG systems and embedding technologies to advanced topics including multi-agent architectures, cost optimization, and system design. The content is organized into difficulty-levelled sections (Fresh, Intermediate, Advanced, Expert) with each topic featuring expected answers, common pitfalls (Red Flags), and real-world production statistics drawn from MENA enterprise deployments. What distinguishes this resource is its practical orientation - it emphasizes what actually works in production environments rather than theoretical concepts, with specific attention to trade-offs, failure modes, and optimization strategies observed in real implementations. While the repository contains no executable code and thus has no traditional software architecture or reusable components, it excels as structured educational content. The markdown-based organization allows for easy navigation, and the inclusion of SVG diagrams helps visualize complex architectures. The resource demonstrates particular strength in its coverage of production-specific concerns: evaluation methodologies, observability practices, security guardrails, and cost optimization techniques that are often overlooked in more theoretical treatments of GenAI topics.
SpaTrackerV2 is a 3D point tracking system that processes video input to estimate camera motion, depth, and track user-selected points in 3D space. It integrates multiple depth estimation models (ZoeDepth, DepthAnything, DepthPro) with a transformer-based tracking architecture, offering both offline (full video) and online (sliding window) processing modes. The system provides a Gradio-based web interface for interactive point selection with SAM assistance and outputs 2D tracking videos, 3D visualizations (HTML), and numerical trajectory data. Evaluation modules support benchmarking against datasets like Sintel and CVO. The codebase demonstrates modular design with reusable components for I/O, geometry, alignment, and visualization, though it relies heavily on specific external models and libraries.
This repository is an educational collection of minimal, from-scratch implementations of core LLM and generative AI systems, maintained by DataWhale. It is not a single production application; rather, it is a set of self-contained 'Tiny' sub-projects covering a small LLM trained on TinyStories, a RAG pipeline, a ReAct agent, an LLM evaluation harness, a DDPM diffusion model, a Transformer, a GraphRAG system, and an image-based RAG pipeline. Each sub-project has its own README, requirements, and runnable code or notebooks, with heavy Chinese-language comments explaining the underlying theory. The code is intentionally simple and readable rather than production-hardened, and it serves as a teaching resource for understanding how these systems work internally.