lucidrains/x-transformers
A concise but complete full-attention transformer with a set of promising experimental features from various papers
This project provides pre-built, flexible transformer models for various AI tasks. You can input text, images, or a combination to generate new text, classify images, or create image captions. It's designed for AI researchers and practitioners who want to experiment with advanced transformer architectures without building them from scratch.
5,808 stars. Used by 7 other packages. Actively maintained with 8 commits in the last 30 days. Available on PyPI.
Use this if you are an AI model developer looking to rapidly prototype or implement state-of-the-art transformer models for tasks like text generation, image classification, or multimodal understanding.
Not ideal if you are looking for a ready-to-use, production-grade API or a tool that doesn't require programming knowledge in Python and deep learning frameworks.
Stars
5,808
Forks
507
Language
Python
License
MIT
Category
Last pushed
Mar 27, 2026
Commits (30d)
8
Dependencies
8
Reverse dependents
7
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/lucidrains/x-transformers"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related models
kanishkamisra/minicons
Utility for behavioral and representational analyses of Language Models
lucidrains/simple-hierarchical-transformer
Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT
lucidrains/dreamer4
Implementation of Danijar's latest iteration for his Dreamer line of work
Nicolepcx/Transformers-in-Action
This is the corresponding code for the book Transformers in Action
kyegomez/zeta
Build high-performance AI models with modular building blocks