transformers vs llm-guard

A neutral, constraint-first comparison - live GitHub stats and typed relationships, not marketing.

transformersllm-guard
Tagline🤗 Transformers: the model-definition framework for state-of-the-art machine learning modelsThe Security Toolkit for LLM Interactions
Stars162k3.2k
Forks34k416
Open issues2.5k37
LanguagePythonPython
LicenseApache-2.0MIT
Last pushedJul 7, 2026Dec 15, 2025
CategoriesModel Training, Data & Retrieval, LLM FrameworksEvaluation & Observability, LLM Frameworks

transformers

Repo hosts a Python library and framework for NLP, text, audio, vision, multimodal AI model creation, training and inference using PyTorch.

Python

llm-guard

LLM Guard is a comprehensive security tool designed to fortify interactions with Large Language Models, providing sanitization, harmful language detection, data leakage prevention, and prompt injection resistance.

Python