{"data":{"slug":"huggingface-transformers","name":"transformers","tagline":"🤗 Transformers: state-of-the-art machine learning models for 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":166279,"forks":34619,"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-09-18T08:16:29+00:00","maintenance_label":"Very active","stars_delta_30d":2158,"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":2413,"watchers":1240,"ai_summary":"🤗 Transformers is a Python library for state-of-the-art machine learning models in text, vision, audio, and multimodal models, supporting both inference and training.","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-09-20T04:31:52.823416+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":"nlp","name":"nlp"},{"slug":"pretrained-models","name":"pretrained-models"},{"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-09-18T08:35:07.599Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":9,"days_since_push":0,"last_release_at":"2026-09-09T15:42:45Z","stars_delta_30d":2158,"open_issues_delta_30d":31},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-09-18T08:35:10.148Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-18T08:35:06.508Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-09-18T08:35:06.508Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-09-18T08:35:06.508Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["Ensure you have Python 3.10+ and PyTorch 2.5+ installed.","Consider using a virtual environment for isolated package management."],"min_ram_gb":4,"requires_docker":false},"constraints":{"min_ram_gb":4,"requires_docker":false},"when_to_use":["When you need a comprehensive library that supports a wide range of tasks including text, vision, audio, and multimodal models.","If you are working with PyTorch 2.5+ and Python 3.10+, as these are the required versions for the library to function.","For projects that require both training and inference, as Transformers supports both phases of model development."],"when_not_to_use":["If your project requires a different deep learning framework that is not PyTorch, as Transformers is tightly integrated with PyTorch.","When you are working with Python versions older than 3.10, as the library does not support earlier versions.","If you need a tool that focuses solely on a specific domain like text or vision, as Transformers is a general-purpose library that might introduce unnecessary complexity."],"source":"enrich:decision_facts","observed_at":"2026-09-18T10:55:24.024Z"},"constraint_facets":{"min_ram_gb":4,"requires_docker":false},"decision_summary":[{"label":"Requirements","value":"Min 4 GB RAM; Ensure you have Python 3.10+ and PyTorch 2.5+ installed.; Consider using a virtual environment for isolated package management."},{"label":"Adopt for","value":"Transformers is a Python library that supports state-of-the-art machine learning models for text, vision, audio, and multimodal tasks, offering both training and inference capabilities."}]}}