{"data":{"slug":"huggingface-transformers","name":"transformers","tagline":"Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models","github_url":"https://github.com/huggingface/transformers","owner":"huggingface","repo":"transformers","owner_avatar_url":"https://avatars.githubusercontent.com/u/25720743?v=4","primary_language":"Python","stars":164121,"forks":34249,"topics":["audio","deep-learning","deepseek","gemma","glm","hacktoberfest","llm","machine-learning","model-hub","natural-language-processing","nlp","pretrained-models","python","pytorch","pytorch-transformers","qwen","speech-recognition","transformer","vlm"],"archived":false,"github_pushed_at":"2026-08-15T22:28:12+00:00","maintenance_label":"Very active","stars_delta_30d":1457,"url":"https://www.graphcanon.com/tools/huggingface-transformers","markdown_url":"https://www.graphcanon.com/tools/huggingface-transformers.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/huggingface-transformers","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=huggingface-transformers","description":"🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. ","homepage_url":"https://huggingface.co/transformers","license":"Apache-2.0","open_issues":2382,"watchers":1226,"ai_summary":"🤗 Transformers is a Python library providing tools and models for training and using state-of-the-art machine learning models across various domains including natural language processing (NLP), computer vision, speech recognition, and other multidomain applications.","readme_excerpt":"## Installation\n\nTransformers works with Python 3.10+, and [PyTorch](https://pytorch.org/get-started/locally/) 2.5+.\n\nCreate and activate a virtual environment with [venv](https://docs.python.org/3/library/venv.html) or [uv](https://docs.astral.sh/uv/), a fast Rust-based Python package and project manager.\n\n```py","github_created_at":"2018-10-29T13:56:00+00:00","created_at":"2026-07-07T16:35:36.398387+00:00","updated_at":"2026-08-16T00:01:12.412727+00:00","categories":[{"slug":"computer-vision","name":"Computer Vision","url":"https://www.graphcanon.com/categories/computer-vision","markdown_url":"https://www.graphcanon.com/categories/computer-vision.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/computer-vision"},{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"},{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"},{"slug":"speech-audio","name":"Speech & Audio","url":"https://www.graphcanon.com/categories/speech-audio","markdown_url":"https://www.graphcanon.com/categories/speech-audio.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/speech-audio"}],"tags":[{"slug":"audio","name":"audio"},{"slug":"deep-learning","name":"deep-learning"},{"slug":"machine-learning","name":"machine-learning"},{"slug":"natural-language-processing","name":"natural-language-processing"},{"slug":"pretrained-models","name":"pretrained-models"},{"slug":"python","name":"python"},{"slug":"pytorch","name":"pytorch"},{"slug":"speech-recognition","name":"speech-recognition"}],"trust":{"provenance":{"is_fork":false,"github_id":155220641,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-16T00:01:11.620Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":12,"days_since_push":0,"last_release_at":"2026-08-10T10:28:13Z","stars_delta_30d":1457,"open_issues_delta_30d":-97},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:55:41.589Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-16T00:01:12.064Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-08-16T00:01:12.064Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-16T00:01:12.064Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["Works with Python 3.10+ and PyTorch 2.4+"],"min_ram_gb":4,"requires_docker":false},"constraints":{"min_ram_gb":4,"requires_docker":false},"when_to_use":["The library excels in scenarios where you need highly optimized and pre-trained models available for a wide range of data types including text, vision, audio, and multimodal inputs.","It is ideal if your project requires seamless integration with PyTorch framework and needs to leverage the most recent advancements in deep learning algorithms."],"when_not_to_use":["If the specific task or dataset size does not benefit from state-of-the-art models due to computational inefficiency or overfitting, alternatives may be more suitable.","It might not be the best choice for projects that strictly require compatibility with frameworks other than PyTorch and Python versions older than 3.10."],"source":"enrich:decision_facts","observed_at":"2026-07-11T00:24:11.832Z"},"constraint_facets":{"min_ram_gb":4,"requires_docker":false},"decision_summary":[{"label":"Requirements","value":"Min 4 GB RAM; Works with Python 3.10+ and PyTorch 2.4+"},{"label":"Adopt for","value":"Transformers is a versatile library for training and deploying state-of-the-art models across various domains such as NLP, computer vision, speech recognition, and multi-modal tasks. It supports PyTorch 2.4+ and Python 3"},{"label":"License detail","value":"Transformers is distributed under the Apache-2.0 license, ensuring wide permissions for use in both open-source and proprietary systems."}]}}