Build a Text-to-Image Generator (from Scratch)
Autor Mark Liuen Limba Engleză Hardback – 23 ian 2026
Codul sursă și accesul la platforma liveBook (care include un asistent AI pentru suport) constituie fundamentul pe care Mark Liu își construiește acest ghid tehnic publicat de Manning Publications. Observăm o abordare riguroasă, de tip „build from scratch”, care demistifică procesele complexe din spatele sistemelor precum DALL-E sau Stable Diffusion. În cele 360 de pagini, găsim o structură progresivă ce transformă conceptele abstracte de învățare automată în aplicații funcționale. Merită menționat că autorul nu se limitează la simpla generare de conținut vizual. Găsim în această carte metodologii detaliate pentru antrenarea modelelor vision transformer, începând de la fragmentarea imaginilor în secvențe de patch-uri, până la implementarea modelelor de difuzie care rafinează zgomotul digital în reprezentări coerente. Pe linia practică a volumului Generative Deep Learning de David Foster, dar cu focus pe implementarea specifică a generatoarelor text-to-image, această lucrare oferă un control granular asupra arhitecturilor neuronale. Spre deosebire de Creating Images Using AI, care se concentrează pe utilizarea platformelor existente precum Midjourney, volumul de față este destinat celor care doresc să programeze și să antreneze propriile modele în Python. Etapele de dezvoltare acoperă scenarii variate: de la clasificarea imaginilor și reconstrucția acestora la înaltă rezoluție, până la tehnici avansate de editare bazate pe prompt-uri. Un aspect distinctiv este capitolul dedicat identificării imaginilor deepfake, o competență esențială în peisajul actual al inteligenței artificiale. Stilul este unul aplicat, facilitând înțelegerea modului în care modelele multimodale pot fi integrate în fluxuri de lucru complexe.
Preț: 356.81 lei
Preț vechi: 446.01 lei
-20%
Carte disponibilă
Livrare economică 15-29 septembrie
Livrare express 01-05 septembrie pentru 41.54 lei
Specificații
ISBN-10: 1633435423
Pagini: 360
Dimensiuni: 212 x 235 x 23 mm
Greutate: 0.65 kg
Editura: Manning Publications
De ce să citești această carte
Această carte se adresează entuziastului în machine learning și specialistului în date care dorește să treacă de la statutul de utilizator de AI la cel de arhitect. Cititorul câștigă o înțelegere profundă a arhitecturilor de tip transformer și diffusion, învățând să construiască sisteme capabile să interpreteze și să genereze imagini. Este resursa ideală pentru a stăpâni procesul tehnic de transformare a textului în realitate vizuală.
Descriere
Descriere scurtă
This book takes you step-by-step through creating your own AI models that can generate images from text. You’ll explore two methods of image generation—vision transformers and diffusion models—and learn vital AI development techniques as you go.
Dive into the powerful models behind AI image generators. The best way to learn is to build something from scratch, and in this book you’ll build your very own diffusion model and vision transformer. As you work through each stage of development, you’ll develop an understanding of how these models can be customized, applied, and integrated for impressive multimodal AI.
Build a Text-to-Image Generator (from Scratch) teaches you how to:
- Build and train models to generate high resolution images based on text descriptions
- Edit an existing image based on text prompts
- Build and train a model to add captions to images
- Build and train a vision transformer to classify images
- Fine-tune LLMs for downstream tasks such as classification, text or image generation
- Better differentiate real images from deepfakes
AI-generated images appear everywhere from high-end advertising to casual social media feeds. Text-to-image tools like Dall-e, Midjourney, and Flux make it easy to create AI art, but how do they work? In this book, you’ll find out by building your own text-to-image generator!
About the book
Build a Text-to-Image Generator (from Scratch) explores both transformer-based image generation and diffusion models. You’ll work hands-on to build a pair of simple generation models that can classify images, automatically add captions, reconstruct images, and enhance existing graphics. Author Mark Liu guides you every step of the way with clear explanations, informative diagrams, and eye-opening examples you can build on your own laptop.
What's inside
- Build a vision transformer to classify images
- Edit images using text prompts
- Fine-tune image models
Requires basic knowledge of generative AI models and intermediate Python skills.
About the author
Mark Liu is the founding director of the Master of Science in Finance program at the University of Kentucky. He is also the author of Learn Generative AI with PyTorch.
Table of Contents
Part 1
1 A tale of two models: Transformers and diffusions
2 Build a transformer
3 Classify images with a vision transformer
4 Add captions to images
Part 2
5 Generate images with diffusion models
6 Control what images to generate in diffusion models
7 Generate high-resolution images with diffusion models
Part 3
8 CLIP: A model to measure the similarity between image and text
9 Text-to-image generation with latent diffusion
10 A deep dive into Stable Diffusion
Part 4
11 VQGAN: Convert images into sequences of integers
12 A minimal implementation of DALL-E
Part 5
13 New developments and challenges in text-to-image generation
A Installing PyTorch and enabling GPU training locally and in Colab