{"full_name":"huggingface/transformers","owner":"huggingface","name":"transformers","url":"https://github.com/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":"https://huggingface.co/transformers","topics":[],"language":"Python","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/25720743?v=4","created_at":"2018-10-29T13:56:00Z","pushed_at":"2026-11-10T09:35:42Z","metrics":{"stars":168729,"forks":35148,"watchers":1243,"issues":19811,"prs":29843,"releases":282,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":0},"growth":{"day":{"stars":45,"forks":4,"base_day":"2026-11-09"},"week":{"stars":278,"forks":60,"base_day":"2026-11-03"},"month":{"stars":1749,"forks":392,"base_day":"2026-10-11"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-09","2026-11-10"],"stars":[164398,164433,164466,164511,164542,164569,164608,164701,164727,164747,164787,164821,164960,165001,165038,165084,165123,165186,165898,166182,166254,166248,166295,166371,166473,166529,166564,166601,166652,166691,166762,166818,166894,166903,166922,166980,166999,167028,166862,166910,167141,167589,167675,167680,167719,167767,167791,167855,167907,167954,167993,168036,168077,168200,168244,168280,168320,168360,168451,168495,168684,168729],"forks":[34339,34361,34375,34383,34392,34396,34385,34417,34425,34434,34444,34453,34484,34483,34490,34503,34517,34529,34575,34590,34602,34615,34625,34628,34654,34652,34661,34669,34673,34688,34707,34724,34739,34741,34742,34756,34762,34767,34768,34774,34796,34848,34874,34864,34873,34884,34885,34910,34923,34941,34938,34954,34965,34998,35007,35015,35031,35047,35088,35102,35144,35148],"watchers":[1226,1228,1229,1228,1228,1228,1229,1233,1234,1232,1233,1233,1235,1234,1234,1234,1233,1233,1238,1240,1240,1240,1239,1239,1239,1239,1239,1239,1239,1238,1238,1238,1236,1236,1237,1235,1236,1236,1238,1245,1246,1247,1251,1251,1249,1249,1249,1248,1248,1248,1247,1248,1243,1242,1243,1243,1240,1240,1241,1242,1243,1243],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},"boards":{"total":54},"same_owner":[{"full_name":"huggingface/OpenEnv","name":"OpenEnv","boards":{}},{"full_name":"huggingface/accelerate","name":"accelerate","boards":{}},{"full_name":"huggingface/agents-course","name":"agents-course","boards":{}},{"full_name":"huggingface/alignment-handbook","name":"alignment-handbook","boards":{}},{"full_name":"huggingface/diffusers","name":"diffusers","boards":{}},{"full_name":"huggingface/ml-intern","name":"ml-intern","boards":{}},{"full_name":"huggingface/parler-tts","name":"parler-tts","boards":{}},{"full_name":"huggingface/pytorch-image-models","name":"pytorch-image-models","boards":{}},{"full_name":"huggingface/sentence-transformers","name":"sentence-transformers","boards":{}},{"full_name":"huggingface/skills","name":"skills","boards":{}},{"full_name":"huggingface/smolagents","name":"smolagents","boards":{}},{"full_name":"huggingface/speech-to-speech","name":"speech-to-speech","boards":{}},{"full_name":"huggingface/transformers.js","name":"transformers.js","boards":{}},{"full_name":"huggingface/trl","name":"trl","boards":{}}],"issues":[{"number":33260,"title":"Community contribution: Adding GGUF support for more architectures","comments":52,"created_at":"2024-09-02T13:41:47Z"},{"number":7675,"title":"Add FAVOR+ / Performer attention","comments":47,"created_at":"2020-10-09T11:51:41Z"},{"number":21079,"title":"TokenGT","comments":35,"created_at":"2023-01-10T21:48:31Z"},{"number":14839,"title":"Fine-tuning GPT-J-6B in colab: 8-bit weights with low-rank adaptors","comments":34,"created_at":"2021-12-19T23:53:52Z"},{"number":15451,"title":"Adding RelationExtraction head to layoutLMv2 and layoutXLM models","comments":31,"created_at":"2022-02-01T04:52:44Z"},{"number":24295,"title":"Add training support for EnCodec","comments":27,"created_at":"2023-06-15T09:50:41Z"},{"number":35308,"title":"Multi-GPU training crashes with IterableDataset and different length input (e.g. Next token prediction)","comments":21,"created_at":"2024-12-17T11:03:19Z"},{"number":29293,"title":"Whisper - get probability of detected language","comments":21,"created_at":"2024-02-26T11:04:27Z"}],"discussions":[],"latest_release":{"name":"Patch release v5.22.2","tag":"v5.22.2","published_at":"2026-11-06T15:43:27Z","body":"# Patch release v5.22.2\r\n\r\nSome in between patch for security and distributed fixes. See the included commits :hugs: \r\n\r\n- [Distributed] Set device_id only for NCCL (#50281) by @michaelbenayoun  and @3outeille \r\n- Harden our Jinja sandboxing (#50431) by @Rocketknight1\r\n\r\n**Full Changelog**: https://github.com/huggingface/transformers/compare/v5.22.1...v5.22.2"},"readme":true,"readme_zh":false,"news":[{"title":"Transformers 2.0: Deep interoperability between TensorFlow 2.0 and PyTorch","url":"https://github.com/huggingface/transformers","hn":"https://news.ycombinator.com/item?id=21092596","source":"Hacker News","lang":"en","date":"2019-09-27","points":103,"comments":3},{"title":"HuggingFace releases support for tool-use and RAG models","url":"https://github.com/huggingface/transformers/releases/tag/v4.42.0","hn":"https://news.ycombinator.com/item?id=40861822","source":"Hacker News","lang":"en","date":"2024-07-03","points":59,"comments":0},{"title":"Transformers.js 3.0 Released with WebGPU Support","url":"https://github.com/huggingface/transformers.js/releases/tag/3.0.0","hn":"https://news.ycombinator.com/item?id=41916635","source":"Hacker News","lang":"en","date":"2024-10-22","points":33,"comments":1},{"title":"Ask HN: Are you training and running custom LLMs and how are you doing it?","url":"https://news.ycombinator.com/item?id=37121384","hn":"https://news.ycombinator.com/item?id=37121384","source":"Hacker News","lang":"en","date":"2023-08-14","points":15,"comments":2},{"title":"Transformers V5 is out!","url":"https://github.com/huggingface/transformers/releases/tag/v5.0.0","hn":"https://news.ycombinator.com/item?id=46764156","source":"Hacker News","lang":"en","date":"2026-01-26","points":10,"comments":0},{"title":"Adding Support for Qwen3.5","url":"https://github.com/huggingface/transformers/pull/43830","hn":"https://news.ycombinator.com/item?id=46942237","source":"Hacker News","lang":"en","date":"2026-02-09","points":5,"comments":0},{"title":"Qwen3 Is Dropping Soon","url":"https://github.com/huggingface/transformers/pull/36878","hn":"https://news.ycombinator.com/item?id=43455084","source":"Hacker News","lang":"en","date":"2025-03-23","points":5,"comments":0},{"title":"Why is GitHub search so terrible?","url":"https://news.ycombinator.com/item?id=35741608","hn":"https://news.ycombinator.com/item?id=35741608","source":"Hacker News","lang":"en","date":"2023-04-28","points":3,"comments":2},{"title":"The Open Source Stack Every AI Startup Uses: 7 GitHub Repos (With Real Star Counts)","url":"https://news.google.com/rss/articles/CBMimAFBVV95cUxNbUtrR05RRWJRTmZ1Q0dEeGdpNjREbTFIc3NkNkR0QVRfNFBZM1VWWnNIbEtVUnJ0ZE9vY0VkNXdSZTZJbEg4c3ZOZW1sc3lNdlROalF6UTlQUlVTamVwM3NiZm1vR1BVMkNiUkZDREVrbFhDRkpMc1dVd0JSMklGT1hQNXdCb2w2S3Yzb20yQW9pQzczVE9HUQ?oc=5","source":"Pasquale Pillitteri","lang":"en","date":"2026-08-13"},{"title":"每家AI初创公司都在用的开源技术栈：7个GitHub仓库（附真实star数）","url":"https://news.google.com/rss/articles/CBMikwFBVV95cUxQLVpBU1h3bks4TjF5R3l1cW1EZG1Ga3hFa2ZjVU1laWhCUWhsVFlKektkME1nNHJwYUhIVHNILURfaUpFYmJ6cnZvTEczTmpVTWxYR2M1NDRTRHdmUURScjdmTjBtT1FoTzJ0cDBoWTZwVmNnWURka1g0X1Nrb2NBNXhYUllMQnk2QWlrM3hwQjNfWlk?oc=5","source":"Pasquale Pillitteri","lang":"zh","date":"2026-08-13"},{"title":"Mini Shai-Hulud Worm Compromises TanStack, Mistral AI, Guardrails AI & More Packages","url":"https://news.google.com/rss/articles/CBMie0FVX3lxTE9TV2VyZ2I5SVNpSE5SLURZRmVTSjQxR01uWWNGeE1nTVFBeTRXZHhuejBaX3BLSkM2cWh4bUhvLS1CQ05ManduaFpvMXBtWHdocU1OQWtPMzVUYjY1ZlZHR2VsYXVNOWRXUzFTTXZXZVB2clRWR2szdDlORQ?oc=5","source":"The Hacker News","lang":"en","date":"2026-05-12"},{"title":"Mini Shai-Hulud Strikes Again: TanStack + more npm Packages Compromised","url":"https://news.google.com/rss/articles/CBMilwFBVV95cUxQRlEzTjNnMWhwZVotSnRxRFkwYXVCR2pWSWxpQjZtVjNCMkVCV016VkdaeWhkeHdMX01ja2pMR1NqalFBUjlwb21EcE1rRHZ4bE81NUtrb2tqbDNYTVdpelhpOVZVVlR3ZnhmamNWZGVUU1F2alNHVHhyelpuMWE1NFNVWXNmMHFhZjRQdVRXTUxvMllsd3Jn?oc=5","source":"wiz.io","lang":"en","date":"2026-05-11"},{"title":"0.9B 小模型，OCR 大能力——GLM-OCR 模型实战教程","url":"https://news.google.com/rss/articles/CBMiaEFVX3lxTFBtWTFYLTJaa3dZSFhWaXJLRm9senpwbmZaM3Z3Zm5KR3dXa0RIc3FQdmg5ekVNTmNsblNiT2w2U0hhXy15SHJPMnZKNXlkaWxneUFCNkg2Z2NwWFVIbzNPdmNZNDNJbllB?oc=5","source":"CSDN","lang":"zh","date":"2026-02-24"},{"title":"阿里开源Qwen3-Next模型，主打超高训练和推理性价比，总参数800亿仅激活30亿","url":"https://news.google.com/rss/articles/CBMiU0FVX3lxTE9lSjBua1VTcVZPbFhOeHpPSk91RDRUVDJ2VEx0VElpM0ZSZHpXZlhvZVlBU0ZrdkVDenBJY1ozQU02NXRXVVN1NWdwa1A1Z25ja25j?oc=5","source":"华尔街见闻","lang":"zh","date":"2025-09-11"},{"title":"SmolVLM2: 让视频理解能力触手可及","url":"https://news.google.com/rss/articles/CBMiSEFVX3lxTE52eUJacVFkOEJncTZuSV9jZmlqaGdKZTBJU0NYVjhFRFFRaHpTU0tUemt0NHJVTjRfVGtpQWgyX3RGazVPaEluQw?oc=5","source":"智源社区","lang":"zh","date":"2025-03-22"},{"title":"Amazon SageMaker and 🤗 Transformers: Train and Deploy a Summarization Model with a Custom Dataset","url":"https://news.google.com/rss/articles/CBMi1gFBVV95cUxOOVR1NEZTNldrSk1reFprVWlMWnhWRFhaWXpGSGZfSUdPSElRdTloRm1pMjRVa2wzRTRxd0NjaXVCSWdPUFg1T2JrTk80R0VHR05uZFpGaWQwcXZNVUJlUGxjVmhsa3paOE1rSTlEcFEwcnlmTkRmOENWUk9qRV9PQmNmd1JnUnpHcFpZUWlyR3pRbVNranJ0SUUxckR3ODZGN0Npd2w2Qk9xNlFtMEpVdXhkbVpWakdxTUVadXA3YVQwaXRBTVg2WHdmUGllZ05TYmpsQmVR?oc=5","source":"Towards Data Science","lang":"en","date":"2025-02-04"},{"title":"Bytes Are All You Need: Transformers Operating Directly On File Bytes","url":"https://news.google.com/rss/articles/CBMic0FVX3lxTFA4S19NaE5aQ2diWmI5cGRSZ2hqMDhVeXp2VTRNQXRFMW14N08zbUlrRlBzVEw4WEctMTZyZWFvYVI5b3hWZmNzdjhaUkZhbkFHRGRjQzdpVGZKZUZCanBjZGYyNVd2TllSeWZJUS1pbTVSMFU?oc=5","source":"Apple Machine Learning Research","lang":"en","date":"2024-07-15"},{"title":"出圈的Sora带火DiT，连登GitHub热榜，已进化出新版本SiT","url":"https://news.google.com/rss/articles/CBMiVkFVX3lxTFBEOHpBX1lWNDFwTHB4OTlCZVdJY0NoSUllMzl0TFhaRU41TmdpUmdZN2FJYnlKeWI4SDhJOThmOC1GcFQ0Mk52dWUxOUxHS19hRXVzeHNn?oc=5","source":"QQ News","lang":"zh","date":"2024-02-21"},{"title":"Less Is More: Pay Less Attention in Vision Transformers","url":"https://news.google.com/rss/articles/CBMiZEFVX3lxTE9yT0d0R2luUWNZUzNIeWlsOXF0TmFDbGVxVlAzLXl3dDl5OGdkSlFWMUgydTJvYmtXOURDOUM1VVpvRGpnZVhIU2U5SlAyZ2Njc2R0TU5idXpfMzBRQzFDQ3ExbEk?oc=5","source":"The Association for the Advancement of Artificial Intelligence","lang":"en","date":"2022-06-28"}],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}