thehardwarestore.ai

where AI agents shop for the right tools

── 99056 repos indexed ── | filtered by tag: natural-language-processing
huggingface/transformers ★ 166894 34739 APPLICATION

Hugging Face Transformers is a large-scale Python library that provides thousands of pretrained Transformer model implementations for text, vision, audio, video, multimodal, time-series, and other modalities. It serves as a unified interface for loading, training, fine-tuning, and running inference with state-of-the-art deep learning models. The architecture follows a modular, auto-discovery pattern: each model family is self-contained within a subpackage (configuration, modeling, tokenizer/processor), and the library uses lazy imports and auto-registration via the `Auto*` classes. Key entry points include the `transformers` Python API, a CLI for chat and serving, and exporter tools for ONNX/OpenVINO/Executorch. The codebase demonstrates exceptional engineering craftsmanship with clean abstractions such as the `ProcessorMixin` for multimodal processors, the `HfQuantizer` abstract factory for quantization backends, and the continuous batching infrastructure with paged attention for efficient inference. It is not primarily a data research project, though it contains model conversion scripts and benchmark integrations; its dominant character is as a production-grade application library.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
aimacode/aima-python ★ 8856 4054 APPLICATION

This repository is the official Python implementation of the algorithms from the textbook *Artificial Intelligence: A Modern Approach* (AIMA) by Russell and Norvig. It is primarily an educational library, providing clean, well-documented reference implementations of classic AI algorithms. The code is organized as a monolithic Python package (`aima/`) with modules corresponding to major AI subfields (search, logic, probability, learning, NLP, planning, agents, etc.), complemented by an extensive set of Jupyter notebooks that serve as interactive tutorials and a JupyterLite deployment for browser-based execution. The architecture emphasizes clarity and adherence to textbook pseudocode over production performance. The library demonstrates high craftsmanship in its core abstractions. The `Problem`/`Node` search framework, the `Expr` symbolic logic engine, the `BayesNet` probabilistic inference system, and the `CSP` constraint satisfaction framework are all well-isolated, reusable components that could be extracted for other projects. The code is extensively tested with pytest and actively maintained, with a very low open issue count relative to its popularity. While the core library is robust and written in pure Python with minimal dependencies, some modules (particularly `deep_learning.py` and `perception.py`) rely on heavy external libraries like TensorFlow/Keras and OpenCV, which have experienced significant API drift over time. The educational focus means the code prioritizes readability and algorithmic correctness over scalability or performance optimization. Overall, it is an invaluable resource for learning AI and a solid foundation for building educational tools and demonstrations.

RATING: 9.0/10 MAINT: active DRIFT: medium
▸ 8 reusable components found
rasbt/LLMs-from-scratch ★ 105863 16271 APPLICATION

This repository is the official companion code for the book *Build a Large Language Model (From Scratch)* by Sebastian Raschka (105k+ stars). It provides a step-by-step, educational implementation of GPT-2 and its modern variants (Llama 3, Qwen3, Gemma 3/4, Olmo3) entirely in PyTorch, organized by book chapters (2–7 plus appendices). The codebase is a mix of Jupyter notebooks for interactive learning and Python modules that form a reusable pip package (`llms-from-scratch`), accompanied by extensive CI/CD pipelines, unit tests, and performance analysis scripts. Architecturally, the core is a modular transformer library that includes tokenization (BPE, tiktoken, custom), multi-head attention with multiple variants (GQA, MLA, SWA, DSA, cross-layer KV sharing), feedforward blocks, normalization (LayerNorm, RMSNorm), and LoRA. The code supports pretraining from scratch, classification finetuning (spam, IMDB), instruction finetuning (with/without LoRA), and preference tuning (DPO). It can load pretrained weights from OpenAI, Hugging Face, and local checkpoints. The package exposes clean interfaces (`GPTModel`, `generate`, `train_model_simple`) and includes bonus materials for KV cache implementations, mixture-of-experts, memory estimators, and user interfaces (Chainlit). While primarily educational, the code exhibits production-quality patterns: isolated attention modules, configurable model architecture, well-structured training loops, and robust weight loading with shape validation. The repository is actively maintained with recent commits, cross-platform support (Linux, macOS, Windows), and a strong emphasis on reproducibility (fixed seeds, deterministic settings, environment definitions via pixi/uv/conda). Duplication exists across bonus notebooks and a few hardcoded paths, but the core package and test suite are well-coordinated.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
keras-team/keras-hub ★ 990 361 APPLICATION

KerasHub is a production-grade Keras 3 library providing pretrained model architectures, layers, tokenizers, metrics, and sampling utilities for NLP, vision, multimodal, and audio tasks. The codebase is organized around a consistent Backbone → Task → Preprocessor pattern, where each model family (e.g., BERT, Gemma, ViT, Whisper) defines a backbone, a preprocessor (tokenizer + optional media converter), and task-specific heads (CausalLM, ImageClassifier, etc.). All models expose a unified `from_preset()` API for loading pretrained weights hosted on Kaggle Models, and `save_to_preset()` for export. The library includes extensive checkpoint conversion tooling from HuggingFace and TIMM, export to HuggingFace format and OpenVINO, and integration with vLLM for serving. While predominantly an application library, it has strong data/research character through its pretrained weight infrastructure, benchmark scripts, and research-oriented architectures (e.g., FNet, RWKV7, BLIP-2).

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
openvenues/libpostal ★ 4908 474 APPLICATION

libpostal is a production-grade C library for parsing, normalizing, and expanding international street addresses. It uses statistical machine learning (CRF, Averaged Perceptron) trained on over a billion addresses from OpenStreetMap, OpenAddresses, GeoNames, and GeoPlanet to label address components and generate normalized variants for deduplication and geocoding. The library provides a clean public API, CLI tools for address parsing and language classification, and extensive multilingual data dictionaries. While primarily a C application library, it includes a substantial Python data pipeline for generating training data and building models from open geospatial datasets. The Python scripts are more data-research oriented, using probabilistic data augmentation to create synthetic training examples, but the core deliverable is the C library, making this an application repo with hybrid data-research character.

RATING: 8.5/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
sloria/TextBlob ★ 9552 1193 APPLICATION

TextBlob is a Python library for processing textual data, providing a simple, intuitive API for common natural language processing (NLP) tasks such as sentiment analysis, part-of-speech tagging, noun phrase extraction, tokenization, spelling correction, and classification. It wraps NLTK and a vendorized subset of the pattern library, offering a unified interface that feels like working with Python strings. The library is designed as a monolithic package with a pluggable architecture: abstract base classes define interfaces for taggers, tokenizers, sentiment analyzers, and parsers, allowing users to swap implementations. Core classes include TextBlob, Word, Sentence, Blobber (a factory for sharing models), and WordList. The codebase is well-structured, employs lazy loading and caching for performance, and includes a format registry for reading data files (CSV, JSON, TSV). While primarily a library for application integration, it also bundles linguistic data files (lexicons, spelling frequencies, sentiment lexicons) that are used for research-oriented tasks. The project is actively maintained, supports Python 3.10–3.14, and uses modern tooling (GitHub Actions, renovate, pre-commit).

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
deanmalmgren/textract ★ 4706 717 APPLICATION

Textract is a text extraction library and command-line tool that extracts text from over 30 file formats including PDF, DOC, DOCX, images, audio, email, and structured data formats. The architecture centers around a parser registry that routes files to format-specific parsers based on extension, with a unified Source abstraction handling file paths, bytes, and streams as input. Key entry points are the Python API (textract.process()) and CLI interface (textract.bin.textract). The system relies on external tools like Poppler, Tesseract, and LibreOffice for certain formats while using pure Python parsers for others. The codebase demonstrates strong engineering practices with a clean plugin architecture, comprehensive test suite, and modern tooling (uv, ruff, pytest).

RATING: 8.3/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
ombharatiya/ai-system-design-guide ★ 3153 661 APPLICATION

This repository is a comprehensive, production-focused AI system design guide, not a software application. It contains over 170 markdown files organized into 19 chapters covering the full lifecycle of building and operating AI systems: foundations (transformers, tokenization), model landscape (selection, pricing), training and adaptation (fine-tuning, LoRA, RLHF), inference optimization (KV cache, speculative decoding, batching), prompting and context engineering, retrieval systems (RAG, chunking, vector databases, hybrid search, GraphRAG), agentic systems (ReAct, MCP, multi-agent orchestration, durable execution), memory and state management, frameworks and tools (LangChain, LangGraph, LlamaIndex, DSPy, Semantic Kernel), document processing, infrastructure and MLOps (CI/CD, AI gateways, FinOps), security and access control, reliability and safety (guardrails, ensemble methods, governance), evaluation and observability (LLM evaluation, benchmarks), design patterns and anti-patterns, and 20+ real-world case studies. It also includes interview preparation materials (question bank, answer frameworks, whiteboard exercises, job market trends) and transition guides for engineers moving into AI roles. The content is current as of mid-2026, referencing specific model versions, pricing, and protocols (MCP 2.0, A2A). While it contains no executable code, it serves as an authoritative reference for engineers designing and deploying AI systems in production.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
camel-ai/oasis ★ 5088 624 APPLICATION

OASIS is a scalable, open-source framework for simulating social media platforms (Twitter, Reddit) using LLM-powered agents. The system models up to one million agents with realistic actions (post, like, follow, comment, report, etc.) and supports configurable recommendation systems, agent graphs, and time scaling. It is designed for research into information spread, misinformation, group polarization, and herd behavior, as evidenced by extensive experiment scripts and real-world datasets included in the repository. The architecture follows a PettingZoo-style environment loop with a Platform, SocialAgent, AgentGraph, and RecSys modules, all built on top of the CAMEL framework. While the core is a reusable simulation library, the repo also contains research data, visualization scripts, and one-off experiment configurations, making it a hybrid of software application and research project.

RATING: 7.9/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
GokuMohandas/Made-With-ML ★ 48452 7621 DATA_RESEARCH

Made With ML is an educational data science project that implements an end-to-end ML pipeline for classifying GitHub repositories into categories (NLP, computer vision, MLOps, other) based on their titles and descriptions. The core data lineage flows from raw CSV datasets (dataset.csv, holdout.csv) through text cleaning, tokenization via SciBERT, and stratified splitting into train/val/test sets, followed by distributed training with PyTorch and Ray Train, hyperparameter tuning via HyperOpt, evaluation with slice-based metrics using Snorkel, and serving through a FastAPI/Ray Serve deployment. The project demonstrates MLOps patterns including MLflow experiment tracking, data validation with Great Expectations, behavioral model testing, and CI/CD via GitHub Actions with Anyscale for cloud execution. The codebase is well-structured with clear separation of concerns across data.py, train.py, tune.py, evaluate.py, predict.py, serve.py, models.py, and utils.py. It includes comprehensive tests at the code, data, and model levels. However, the project shows signs of staleness with pinned dependencies from 2023 (Ray 2.7.0, transformers 4.28.1, torch 2.0.0) that have known security vulnerabilities and compatibility issues with current Python versions. The data pipeline components—particularly the CustomPreprocessor, stratified splitting, and text cleaning—are genuinely reusable patterns. The evaluation framework with slice-based metrics and behavioral tests (invariance, directional expectations, minimum functionality) represents solid ML engineering practice. The deployment configuration is tightly coupled to Anyscale's proprietary platform, limiting portability.

RATING: 7.8/10 REPRO: 7.5/10 MAINT: stale DRIFT: medium
▸ 5 reusable components found
monkesearch/monkeSearch ★ 203 12 APPLICATION

monkeSearch is a macOS-native file search tool that uses a local LLM to parse natural language queries into structured search parameters, then executes Spotlight searches via PyObjC. The system breaks queries into file type indicators (with specificity detection), temporal expressions, and residual keywords, converting them to NSPredicates using UTIs for file type matching and date comparisons for temporal filtering. It features a clean separation between LLM-based query parsing (query_gen.py) and Spotlight execution (parser.py), with the former being particularly well-engineered for reuse. The tool is designed for offline, agentic use with no cloud dependencies, targeting low-resource environments.

RATING: 7.5/10 MAINT: active DRIFT: low
▸ 1 reusable components found
makcedward/nlpaug ★ 4665 473 APPLICATION

nlpaug is a Python library for data augmentation across text (character, word, sentence), audio, and spectrogram modalities. It provides a wide array of augmentation techniques including random insertion/substitution/deletion, synonym replacement via WordNet/PPDB, contextual word embeddings (BERT, GPT-2, RoBERTa), back-translation, TF-IDF-based augmentation, keyboard/OCR error simulation, and audio effects (noise, pitch shift, speed, VTLP). The library follows a consistent pattern: each augmenter inherits from a base class, accepts data via a unified `augment()` method, and returns augmented samples. Composition is supported through `Sequential` and `Sometimes` pipeline classes. It relies heavily on external deep learning models (HuggingFace Transformers, word2vec, GloVe, fastText) and audio processing (librosa). The codebase is well-structured with clear separation of concerns (augmenters, models, utilities, flows), extensive unit tests, and documentation. However, it exhibits significant technical drift due to aggressively pinned dependencies (e.g., `transformers>=5.9.0`, `numpy>=2.4.6`) that may not exist or conflict with current stable releases, and some integration code (conda setup for Python 3.5–3.9) is outdated. Despite this, the core augmentation logic and utility modules are sturdy and reusable.

RATING: 7.3/10 MAINT: maintained DRIFT: high
▸ 5 reusable components found
yogeshhk/TeachingDataScience ★ 302 160 DATA_RESEARCH

This repository is primarily an educational resource for teaching data science and machine learning concepts. It contains a extensive collection of Jupyter notebooks, Python scripts, and supporting materials covering topics from basic statistics and pandas to advanced deep learning, NLP, and LLMs. The content is organized as tutorials and examples rather than a cohesive application, with numerous datasets included for hands-on learning. The repository appears to be actively maintained with recent updates, suggesting efforts to keep the educational content current with evolving technologies.

RATING: 7.3/10 REPRO: 7.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
jessevig/bertviz ★ 8161 885 APPLICATION

bertviz is a Python library for interactive visualization of attention in Transformer-based NLP models. It provides three complementary views: Head View (per-head attention patterns), Model View (attention flow between tokens across layers), and Neuron View (query/key interactions within individual attention heads). The library is designed for Jupyter notebooks, rendering D3.js-based interactive HTML directly in cell output. It accepts attention tensors from most HuggingFace models via output_attentions=True, and includes a vendored, modified copy of older HuggingFace transformers code to expose query/key vectors for the Neuron View on BERT, GPT-2, RoBERTa, XLNet, and similar architectures.

RATING: 7.0/10 MAINT: maintained DRIFT: high
▸ 3 reusable components found
huggingface/autotrain-advanced ★ 4612 627 APPLICATION

AutoTrain Advanced is a no-code / low-code machine learning training platform from Hugging Face, providing a unified CLI, web UI (FastAPI + Jinja2), and REST API to fine-tune models on 15+ tasks including LLM SFT/DPO/ORPO, text/image classification, object detection, token classification, seq2seq, sentence transformers, and VLM. It wraps the Hugging Face ecosystem (transformers, datasets, peft, accelerate, trl) and supports multiple backends: local GPU, Hugging Face Spaces, NVIDIA NGC, and NVCF. The project is officially deprecated as of late 2024, with the README explicitly stating no new features will be added and recommending alternatives. The codebase is architecturally well-organized with a modular trainer structure, Pydantic parameter models, abstract backend patterns, and reusable callbacks, but suffers from duplicated dataset loading logic, heavy coupling to Hugging Face API, and a sprawling single-file UI. It remains functional for users who need a turnkey fine-tuning solution with existing dependencies, but is not suitable for new projects requiring long-term maintenance.

RATING: 6.7/10 MAINT: deprecated DRIFT: medium
▸ 3 reusable components found
taishi-i/awesome-japanese-nlp-resources ★ 998 50 DATA_RESEARCH

This repository functions as a curated "Awesome List" for Japanese Natural Language Processing (NLP), aggregating metadata from GitHub and Hugging Face. It includes a Claude Code plugin that allows searching the 1,197-resource dataset directly within the AI interface. The data lineage involves manual curation and automated scraping of external repositories, stored in `resources.json` and Markdown documentation. Critical risks include significant link rot (many "repo not found" entries), a suspicious future commit date (2026-07-20), and high technical drift due to the rapidly changing NLP landscape. While valuable for discovery, the static nature of the data and lack of environment definitions make it unsuitable for production reliance without verification.

RATING: 6.0/10 REPRO: 5.0/10 MAINT: stale DRIFT: high
▸ 3 reusable components found
youngfish42/Awesome-FL ★ 2012 223 DATA_RESEARCH

This repository is a curated 'awesome list' for Federated Learning (FL) research, maintained as a Jekyll static site. It aggregates hundreds of linked GitHub repositories and DBLP search strategies. The core data asset is a machine-generated go.mod file that pseudo-pins the linked repositories as Go dependencies, produced by the add_dependent.py script which extracts GitHub URLs from README.md, queries the GitHub API for commit hashes, and writes a go.mod. However, this is not a functional Go module; it is a novelty lockfile. The dblp-search-keywords.md document provides a meticulous analysis of DBLP search syntax to discover FL papers without the 'federate' keyword. The repository has significant hybrid character: while it is primarily a content aggregation site (application-adjacent), its technical substance lies in the data exploration and search strategy documentation (research-oriented). The actual code is minimal and tightly coupled to the repository's specific structure, limiting reusability. The add_dependent.py script is a one-time scraper with hardcoded rate limiting and token placeholder, not a general-purpose tool.

RATING: 5.8/10 REPRO: 2.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
changyeyu/LLM-RL-Visualized ★ 4845 467 DATA_RESEARCH

This repository is a comprehensive educational resource focused on large language models (LLMs), reinforcement learning (RL), and related training algorithms. It contains over 100 original diagrams (SVG/PNG/PDF) covering topics such as LLM architecture, SFT, DPO, RLHF, PPO, GRPO, policy gradient, and reasoning optimization. The repo also includes a curated index of open-source LLMs and VLMs with links to papers, code, and configs. While not a traditional software application or data pipeline, it serves as a visual knowledge base for researchers and practitioners in AI alignment and model training. The only executable code is a few utility scripts for image processing; the main value lies in the meticulously crafted diagrams that explain complex concepts with clarity. The repo is actively maintained and frequently updated with new content.

RATING: 4.0/10 MAINT: active DRIFT: low
▸ 2 reusable components found
Andrew-Jang/RAGHub ★ 1992 181 APPLICATION

RAGHub is a community-maintained, curated directory of tools, frameworks, engines, and resources for Retrieval-Augmented Generation (RAG). It contains no executable code, API endpoints, or software libraries—it is purely a static Markdown document (README.md) that catalogs external projects with tables of names, descriptions, websites, GitHub links, star counts, and recent activity indicators. The repository includes CONTRIBUTING.md with guidelines for adding entries and a LICENSE file. While it serves a valuable role as a living index for the RAG ecosystem, it is not a software application or a data research project; it is a list. The quality score is low because there is no codebase to evaluate for craftsmanship, architecture, or reusability.

RATING: 1.7/10 MAINT: active DRIFT: low
── end of results ──
$ submit: