Showing posts with label Transformers. Show all posts
Showing posts with label Transformers. Show all posts

Saturday, September 26, 2026

ARTIFICIAL INTELLIGENCE • LLM • AGENTIC AI • 2027

ARTIFICIAL INTELLIGENCE • LLM • AGENTIC AI • 2027

Witnessing the AI Revolution: From Deep Learning to Long-Running AI Agents

Over the past 15 years, artificial intelligence has not merely produced better models. We have moved from systems that recognize images to models that converse with us, from conversational models to agents that use tools, and from there to AI systems capable of working on a problem continuously for hours or even days. So what will be the next major breakthrough in 2027?

A Question That Emerged from a Conversation

Today, while talking with a friend who is also deeply interested in artificial intelligence, our conversation naturally turned to the extraordinary pace of development in AI over the past few years.

After a while, we started recalling the technologies we had been discussing over the years: Deep Learning, RNNs, LSTMs, Transformers, large language models, multimodal models, reasoning models, RAG, function calling, agents, MCP, computer use, coding agents, and most recently, AI agents capable of working independently for extended periods of time.

When you put all of these developments side by side, the speed of change becomes much more visible.

In fact, we have not simply developed more capable AI models over the past few years. The way we use artificial intelligence itself has changed several times.

Artificial intelligence is evolving from a system that recognizes patterns into a system that talks to us, reasons about problems, uses tools, and increasingly performs complete tasks on its own.

🧠 1. Deep Learning: The Beginning of the Major Breakthrough

Artificial neural networks were certainly not new. However, for many years they could not demonstrate their full potential because of limitations in data availability, computing power, and training techniques.

In 2012, AlexNet’s success in the ImageNet competition demonstrated how powerful deep neural networks trained on GPUs could become.

The breakthrough that started in computer vision quickly spread to speech recognition, natural language processing, and many other machine learning problems.

From today’s perspective, this may seem almost ordinary, but one of the key foundations of the AI revolution we are experiencing today was established here:

Larger neural networks + more data + more computing power.

🔁 2. RNNs, LSTMs, and Sequence-to-Sequence Models

While CNN architectures achieved remarkable success in image processing, natural language presented a different challenge: language is sequential.

RNNs, and particularly LSTMs, made it possible to retain information from previous steps and process sentences, conversations, and time-series data more effectively.

Then came sequence-to-sequence, or seq2seq, architectures. They enabled a model to receive one sequence and generate another sequence as output. Machine translation became one of the most important applications of this idea.

Today, we consider it completely natural to give a model a piece of text and receive another piece of generated text in return. Yet encoder-decoder and seq2seq architectures were important milestones on the road toward modern generative AI.

👁️ 3. Attention: Teaching the Model Where to Look

There is an important chronological detail here: the attention mechanism did not begin with the Transformer.

Around 2014, particularly in neural machine translation research, models began to learn how to focus more heavily on relevant parts of the source sentence while generating each part of the output.

This idea was extremely important because a model no longer had to compress the entire input into a single fixed representation.

⚡ 4. 2017: Attention Is All You Need

In 2017, the publication of Attention Is All You Need became one of the most important turning points in the history of artificial intelligence.

The Transformer architecture greatly reduced the dependence on the sequential processing used by RNNs and placed self-attention at the center of the architecture.

With self-attention, relationships between different words in a text could be modeled directly, while computations could be parallelized far more efficiently.

Today, the architectural roots of major model families such as GPT, Claude, Gemini, Llama, Qwen, and Mistral can largely be traced back to this transformation.

📚 5. Pre-Training and the Foundation Model Paradigm

After the Transformer, another major paradigm gained momentum.

Instead of training a separate model from scratch for every task, researchers began training large general-purpose models on massive datasets and then adapting them to different downstream tasks.

Models such as BERT demonstrated how powerful this approach could be in natural language processing.

The discussion gradually moved beyond the question of “Which architecture performs better?” toward a broader question: “Can we train general-purpose models capable of performing many different tasks?”

📈 6. Scaling and GPT-3

Around 2020, the relationship between model size, training data, computational resources, and performance became far more visible.

Scaling law research suggested that larger models did not simply perform the same tasks slightly better. In some cases, new capabilities appeared as scale increased.

GPT-3 made another important phenomenon highly visible:

A model could perform many different tasks without being retrained for each one, simply by receiving instructions or a few examples in the prompt.

Zero-shot and few-shot prompting became increasingly important.

📄 7. RAG: Moving Beyond the Model’s Parameters

One of the major limitations of large language models was their inability to reliably access current, organization-specific, or previously unseen information.

Retrieval-Augmented Generation, or RAG, approached this problem from a different direction.

Instead of trying to encode every piece of information inside the model’s parameters, relevant information could be retrieved from an external knowledge source and added to the model’s context.

Over time, RAG evolved into more sophisticated architectures involving embeddings, vector databases, semantic search, hybrid search, reranking, query rewriting, and knowledge bases.

This approach remains extremely important today, particularly in enterprise AI applications.

🎨 8. Diffusion Models and Generative Visual AI

Meanwhile, the AI revolution was not limited to text.

With the rise of diffusion models, text-to-image generation rapidly became mainstream.

This was followed by major progress in image editing, style transfer, image-to-video generation, text-to-video generation, speech synthesis, and AI-generated music.

The concept of Generative AI was no longer limited to models that generated text.

👀 9. Multimodal Models

The next important step was bringing different types of data together within the same model.

The model was no longer limited to understanding the text we typed.

📷 It can understand photographs.
📊 It can interpret charts.
📑 It can read documents.
🎙️ It can understand audio.
🖥️ It can see a computer screen.
🎥 It can analyze video.

Because the real world is not composed only of text, multimodality became an essential step toward more general-purpose artificial intelligence.

💬 10. 2022: ChatGPT Brings AI to the Masses

The release of ChatGPT on November 30, 2022 was, in my view, not only a technological milestone but also a major social turning point.

For the first time, large language models entered the daily lives of ordinary users at massive scale.

Teachers, students, doctors, lawyers, engineers, managers, artists, software developers, and entrepreneurs all began interacting with the same technology.

Instruction tuning and alignment methods based on human feedback made interaction with these systems far more natural from the user’s perspective.

At the same time, a new term entered everyday vocabulary:

Prompt Engineering.

🔧 11. Function Calling and Tool Use

Large language models could generate highly impressive text, but their ability to interact with real-world systems was limited.

Function calling and tool use began to change that.

A model could now call an API, access a database, use a calculator, perform a web search, or invoke another software component.

Old approach: “Answer the question.”
New approach: “Use tools when necessary to solve the problem.”

This seemingly small change later became one of the foundations of agentic systems.

🧠 12. Reasoning Models

In 2024, the rise of reasoning models introduced another important shift.

The focus was no longer only on adding more parameters to the model. Models could also spend more computation on a difficult problem before producing an answer.

The concept of test-time compute became increasingly important.

Especially in mathematics, science, coding, and complex problem solving, the idea of the “larger model” was joined by another idea: the “model that spends more time reasoning about the problem.”

💻 13. From Chatbot to Coding Agent

In my view, one of the most important recent transformations has occurred in software development.

At first, we asked models to generate small pieces of code.

Then came copilot-style systems embedded directly inside IDEs.

Later, AI systems began reading entire repositories, creating files, running terminal commands, debugging errors, writing tests, and refactoring code.

💬 A system that talks about code
➡️ A system that suggests code
➡️ A system that writes code
➡️ A system that works across a repository
➡️ An agent that takes responsibility for a software development task

🔌 14. MCP: Standard Connections Between AI and the Outside World

As agent systems became more common, another problem became increasingly visible.

Every AI application had to be integrated separately with GitHub, file systems, databases, enterprise applications, and many other external services.

The Model Context Protocol, or MCP, became an important development for establishing more standardized connections between AI applications, tools, and data sources.

I do not think MCP should be viewed merely as a technical protocol. For an agent ecosystem to grow, models need standardized and manageable ways to connect to the outside world.

🧩 15. Agent Skills

The next step was to stop explaining the same procedures to an agent again and again, and instead define reusable skills that describe how particular tasks should be performed.

A skill can, for example, teach an agent:

📊 How to analyze an Excel file,

📄 How to prepare a professional report,

🧪 How to execute a testing procedure,

🏢 How to follow an organization-specific workflow,

💻 How to perform a particular software development task.

The agent can then use that skill whenever it becomes relevant.

This seems especially important in the transition from general-purpose AI toward specialized digital workers.

🖥️ 16. Computer Use and Browser Use

Agents then began doing more than simply calling APIs.

They started seeing screens, moving the mouse, clicking buttons, navigating websites, and interacting with the same graphical user interfaces that humans use.

I believe this is a critical development.

Most software in the world does not have an API specifically designed for AI. But almost every application has a user interface designed for humans.

With computer use, the user interface itself is effectively becoming another integration layer that AI systems can operate.

🌍 17. Open Models and Local AI

While all of these developments were taking place, another transformation was happening in parallel.

Open-weight models rapidly narrowed the gap with closed models across many practical use cases.

Model families such as Llama, Mistral, Qwen, and DeepSeek helped build a powerful open ecosystem.

Quantization, more efficient inference engines, and advances in hardware made it possible to run models locally that previously would have required large data centers.

Artificial intelligence no longer has to exist only as a cloud service accessed over the internet.

Local AI systems that keep organizational or personal data on-premise are becoming increasingly realistic alternatives.

The emergence of personal agent software that can run continuously on a local computer is another important part of this transformation.

🤖 18. 2026: The Year of AI Agents

For some time, many people had predicted that 2026 would become “the year of AI agents.”

I think that prediction has largely come true.

However, the meaning of the word “agent” has also changed.

Early agent architectures looked roughly like this:

LLM → call a tool → observe the result → call another tool if necessary → answer

Today, we are talking about far more comprehensive systems.

🧭 They can plan.

🧰 They can choose the right tool.

🗂️ They can manage files and context.

🧠 They can preserve state across a task.

🤝 They can delegate work to other agents.

💻 They can run code and terminal commands.

🌐 They can perform actions on the web.

🔍 They can evaluate their own outputs.

🛡️ They can operate within permission boundaries.

👤 They can request human approval when necessary.

🏗️ 19. The Next Step: Agent Harnesses

One concept I find particularly important in recent developments is the agent harness.

As we assign agents longer and more complicated tasks, the intelligence of the underlying model alone is no longer enough.

A model can perform extremely well during the first few steps and then drift in the wrong direction.

It can incorrectly assume that the task is complete.

It can forget previous decisions.

It can reach a conclusion without testing its work.

Its context can gradually degrade during long-running tasks.

This is why we increasingly need an execution environment around the model that manages and supervises its work.

📝 It preserves the plan.
🔄 It triggers replanning when necessary.
🧪 It tests intermediate and final results.
🔍 It checks for missing work.
📚 It manages context.
📈 It monitors progress.
✅ It can independently verify the output.
🛑 It helps determine when the agent should stop.

This moves us from chatbots that work for a few minutes toward AI systems that can work toward a goal for hours, or potentially much longer when supported by the right infrastructure.

I THINK THIS IS THE REAL BREAKTHROUGH
The competition is no longer simply about “who has the best LLM?”
The real competition is about how effectively a model can operate with the right data, the right tools, the right memory, the right skills, the right security mechanisms, and the right verification environment.

How Has the Short History of Modern AI Actually Changed?

🧠 2010s → The model recognizes patterns.
💬 2022 → The model talks to us.
👀 2023–2024 → The model sees and hears.
🧠 2024 → The model spends more time reasoning about the problem.
🔧 2023–2025 → The model uses tools.
🖥️ 2024–2025 → The model uses computers and browsers.
🤖 2025–2026 → The model becomes an agent.
🏗️ 2026 → The agent is placed inside an environment designed for long-running work.

🔮 So What Will Define AI in 2027?

I do not think the next major leap will necessarily be just another, slightly more powerful conversational model.

One of my strongest candidates is the persistent agent: a personal or enterprise AI system that can work continuously while preserving its state and context over time.

In today’s chatbot paradigm, we go to the AI.

We open a window, ask a question, receive an answer, and then continue working ourselves.

The next stage may be very different: AI could become a persistent part of our working environment.

🧠 It could recall our previous work when relevant.

📧 It could work with our email and messages.

📅 It could follow calendars and tasks.

📁 It could understand our files and projects.

🌐 It could conduct research when necessary.

💻 It could perform actions on our computers.

🧩 It could use the skills it needs.

🔌 It could connect to enterprise systems.

🤝 It could collaborate with specialized agents.

🛡️ It could understand its permission boundaries.

👤 It could request human approval for critical actions.

✅ It could verify its own work before reporting completion.

☁️ Cloud or Local?

I also do not think this future will be entirely cloud-based.

As personal and enterprise data becomes more important, hybrid architectures will probably become increasingly attractive.

Small and fast models may run continuously on local devices.

When more complex reasoning is required, the system could call more powerful cloud models.

Organization-specific knowledge could remain on-premise.

Highly sensitive tasks could be handled entirely by local models.

In the future, instead of asking “Which model are you using?” we may increasingly ask: “What kind of AI architecture is your system running on?”

🤖 Another Strong Candidate: Physical AI

Another major field to watch is artificial intelligence moving beyond the computer screen and into the physical world.

When vision, reasoning, planning, and agent technologies are combined with robotics, we may see major advances in embodied AI or physical AI.

An agent that learns how to click a button on a computer screen today and an AI system that controls a physical robot tomorrow may be more closely related problems than they first appear.

🚀 Perhaps the Most Important Part of the Revolution Is Just Beginning

When I look back at the developments of the past 15 years, the most interesting change for me is how our questions have changed.

During the Deep Learning era, we asked:

“Can the machine recognize this?”

During the LLM era, the question became:

“Can the machine understand and explain this?”

With reasoning models, we started asking:

“Can the machine solve this problem?”

In the age of agents, the question is very different:

“Can I give this entire task to AI from beginning to end?”

I do not think this is a small change.

For most of the history of computing, humans learned how to use computers.

Now computers are beginning to learn how to use the same tools that we use.

Perhaps the most important transformation of the next few years will happen precisely here.

🤔 What Is Your Prediction?

Which technology or approach do you think will become the defining AI trend of 2027?

🤖 Persistent personal AI agents?

🏢 Enterprise agent systems?

🏗️ Agent harnesses and long-running autonomous work?

🧠 More powerful reasoning models?

🖥️ Computer use and browser use?

🌍 Open and locally running models?

🤖 Physical AI and robotics?

Or will the next major breakthrough come from something that we are not yet talking about enough?

Selected Milestones

Krizhevsky, Sutskever & Hinton — ImageNet Classification with Deep Convolutional Neural Networks, 2012

Sutskever, Vinyals & Le — Sequence to Sequence Learning with Neural Networks, 2014

Bahdanau, Cho & Bengio — Neural Machine Translation by Jointly Learning to Align and Translate, 2014

Vaswani et al. — Attention Is All You Need, 2017

Devlin et al. — BERT, 2018

Kaplan et al. — Scaling Laws for Neural Language Models, 2020

Brown et al. — Language Models are Few-Shot Learners, 2020

Lewis et al. — Retrieval-Augmented Generation, 2020

Ho, Jain & Abbeel — Denoising Diffusion Probabilistic Models, 2020

#MuratKarakayaAkademi #ArtificialIntelligence   #GenerativeAI   #LLM   #AIAgents   #AgenticAI   #DeepLearning   #Transformer   #ReasoningModels   #RAG   #MCP   #AgentSkills   #ComputerUse   #OpenSourceAI   #LocalAI   #AIEngineering   #FutureOfAI

Thursday, January 22, 2026

Google Gemma 3 Vision: Python ile Görüntü İşleme, OCR ve Tarihi Analiz Deneyimleri

Google Gemma 3 Vision: Python ile Görüntü İşleme, OCR ve Tarihi Analiz Deneyimleri

Merhaba değerli arkadaşlar, ben Prof. Dr. Murat Karakaya. Murat Karakaya Akademi'ye hoş geldiniz. Bugün hem teknik hem de manevi açıdan çok özel bir inceleme ile karşınızdayım. 18 Mart Çanakkale Zaferi vesilesiyle, Google'ın yeni multimodal modeli Gemma 3 (4B)'ü, Çanakkale Savaşı'na ait tarihi fotoğraflar, belgeler ve menüler üzerinde test ettik.

Amacımız şu: Sadece 4 milyar parametreli küçük bir model, karmaşık tarihi belgeleri okuyabilir mi (OCR)? Yıpranmış siyah beyaz fotoğraflardaki duyguyu ve bağlamı anlayabilir mi? Ve en önemlisi, bunları Türkçe olarak hatasız yorumlayabilir mi? Sonuçlar beni gerçekten şaşırttı. Gelin, bu deneyimi ve Python kodlarını birlikte inceleyelim.

Bu duygusal ve teknik analizi baştan sona izlemek, modelin tarihi belgeleri nasıl yorumladığına şahit olmak için videoya göz atmanızı öneririm:

Bu Eğitimde Neler Öğreneceksiniz?

  • Hugging Face Transformers kütüphanesi ile Gemma 3 Vision kurulumu.
  • Gemma 3'ün OCR (Optik Karakter Tanıma) performansı ve kalori hesabı örneği.
  • Eski ve yıpranmış fotoğraflarda duygu ve bağlam analizi.
  • Yabancı dildeki (İngilizce/Yunanca) tarihi belgelerin analizi ve çevirisi.
  • Python ile Multimodal (Resim + Metin) pipeline oluşturma.

Gemma 3 Vision ve Teknik Altyapı

Gemma 3, sadece metin üreten bir LLM değil, aynı zamanda görüntüleri de "görebilen" bir VLM (Vision Language Model). Modelin içinde bir Vision Encoder bulunuyor. Bu encoder, görüntüyü küçük parçalara (patch) bölüyor, token'lara çeviriyor ve dil modelinin anlayabileceği bir formata dönüştürüyor.

Bu çalışmada, henüz çok yeni olduğu için Hugging Face'in transformers kütüphanesinin geliştirici sürümünü (GitHub branch) kullandık. Model olarak da 4 milyar parametreli (4B-it) versiyonu tercih ettik. Neden? Çünkü Colab'ın ücretsiz T4 GPU'sunda veya standart bir bilgisayarda (yaklaşık 7-8 GB VRAM ile) rahatlıkla çalışabiliyor.

Çanakkale Özel: Model Neleri Başardı?

1. OCR ve Mantıksal Çıkarım (Asker Menüsü)

Modele, Çanakkale Savaşı'nda askerlerimize verilen yemek listesini (15 Haziran, 26 Haziran gibi tarihlerin ve öğünlerin yazdığı eski bir belge) gösterdik. Gemma 3'ten sadece okumasını değil, askerlerin günlük kalorisini hesaplamasını ve günümüz hamburger menüsüyle kıyaslamasını istedik.

Sonuç: Model, tablodaki "Üzüm Hoşafı", "Yarım Ekmek" gibi silik yazıları kusursuz okudu. Askerin günlük ortalama 270 kalori aldığını hesapladı ve bunu günümüzün 1100 kalorilik menüsüyle kıyaslayarak aradaki uçurumu (yokluğu ve fedakarlığı) çok net ortaya koydu.

2. Duygu Analizi (Siperdeki Askerler)

Atatürk'ün cephede gözlemlediği anları anlattığı bir mektubun görselini ve siperdeki askerlerin bir fotoğrafını verdik. "Buradaki ruh halini özetle" dedik. Model, askerlerin yüzündeki kararlılık, korku, gerginlik ve vatan sevgisi ifadelerini metinle birleştirerek lise düzeyinde bir öğrencinin yazabileceği kalitede duygusal bir analiz yaptı.

3. Bağlamı Anlama (Fotoğraf Nerede Çekildi?)

Hiçbir yazı içermeyen, sadece askerlerin olduğu bir fotoğraf gösterdik. Model, üniformalardan, kask yapısından (her ne kadar kalpak yerine kask dese de) ve ortamdan bunun 1. Dünya Savaşı, Osmanlı Cephesi olduğunu ve muhtemelen Çanakkale veya Filistin cephesi olabileceğini "akıl yürüterek" buldu.

Python Kodları: Gemma 3 Vision Kurulumu

Bu analizi kendi bilgisayarınızda veya Google Colab'da yapmak için aşağıdaki Python kodlarını kullanabilirsiniz. Transformers kütüphanesinin güncel olduğundan emin olun.

import torch
from transformers import pipeline
from PIL import Image
import requests

# 1. Pipeline'ı Hazırlama
# 'image-text-to-text' görevi multimodal modeller içindir.
pipe = pipeline(
    "image-text-to-text",
    model="google/gemma-3-4b-it",
    device_map="auto",
    torch_dtype=torch.bfloat16 # Bellek tasarrufu için bfloat16 önemli
)

# 2. Resmi Yükleme (Örnek URL)
image_url = "https://example.com/canakkale_fotografi.jpg"
image = Image.open(requests.get(image_url, stream=True).raw)

# 3. Modele Mesaj Gönderme
# Gemma 3 için özel mesaj formatı
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "image": image},
            {"type": "text", "text": "Bu resimde ne görüyorsun? Askerlerin ruh halini ve ortamı detaylıca analiz et."}
        ]
    }
]

# 4. Cevabı Üretme
output = pipe(messages, max_new_tokens=1024)
print(output[0]["generated_text"][-1]["content"])

Sıkça Sorulan Sorular (SSS)

1. Gemma 3 Türkçe OCR konusunda ne kadar başarılı?

4 milyar parametreli bir model için inanılmaz başarılı. Çanakkale menüsündeki eski yazı tiplerini, Atatürk'ün el yazısına yakın notlarını ve yıpranmış gazete küpürlerini %95'in üzerinde doğrulukla okuyup Türkçeye çevirebildi.

2. Bu model sadece CPU ile çalışır mı?

Evet, Llama.cpp gibi araçlarla CPU üzerinde çalıştırılabilir ancak bu rehberde kullandığımız Transformers kütüphanesi ile GPU (Colab T4 veya yerel RTX kartlar) kullanmak çok daha hızlı sonuç verir. CPU'da bir resmin analizi dakikalar sürebilir.

3. Llama 3.2 Vision ile farkı nedir?

Gemma 3, özellikle Türkçe dil desteği ve muhakeme (reasoning) yeteneği konusunda çok daha "yerel" hissettiriyor. Yaptığımız testlerde Türk tarihi ile ilgili bağlamları (üniformalar, coğrafya) şaşırtıcı derecede doğru tanıdı.

Sonuç

Bu 18 Mart'ta, teknolojiyi tarihimizi anlamak için kullandık. Gemma 3, 4 milyar parametresine rağmen, o dönemin zorluklarını, askerimizin fedakarlığını ve tarihin tozlu sayfalarındaki detayları bize bir kez daha, yapay zeka gözüyle gösterdi. Bize bu vatanı emanet eden tüm kahramanlarımızı saygı ve rahmetle anıyoruz.

Daha Fazlasını Keşfedin:
Yapay zeka modellerinin sınırlarını zorladığımız, teknik analizleri milli değerlerimizle harmanladığımız videoları kaçırmamak için Murat Karakaya Akademi YouTube kanalına abone olun.

Kanalı Ziyaret Et & Abone Ol 🚀

#MuratKarakayaAkademi #Gemma3 #VisionAI #CanakkaleZaferi #YapayZeka #Python

Tuesday, November 8, 2022

Text Generation in Deep Learning with Tensorflow & Keras: Fundamentals

Text Generation in Deep Learning with Tensorflow & Keras: Fundamentals

This tutorial is the first part of the “Text Generation in Deep Learning” series. We will cover all the topics related to Text Generation with sample implementations in Python Tensorflow Keras. You can access the codes, videos, and posts from the below links. In this part, we will learn the Fundamentals of Text Generation in Deep Learning.


You can access to all parts of the Deep Learning with Tensorflow & Keras Series at my blog muratlkarakaya.net. You can watch all these parts on the Murat Karakaya Akademi YouTube channel in ENGLISH or TURKISH. You can access the complete Python Keras codes in the video description of each part.

If you would like to learn more about Deep Learning with practical coding examples, please subscribe to my YouTube Channel or follow my blog on muratkarakaya.net. Please, turn on notifications to notify you when new parts are uploaded.





Controllable Text Generation in Deep Learning with Transformers (GPT3) using Tensorflow & Keras Tutorial Series

 

Controllable Text Generation in Deep Learning with Transformers (GPT3) using Tensorflow & Keras Tutorial Series

This is the index page of the “Controllable Text Generation in Deep Learning with Transformers (GPT3) using Tensorflow & Keras” tutorial series.

We will cover all the topics related to Controllable Text Generation with sample implementations in Python Tensorflow Keras.

You can access the codes, videos, and posts from the below links.

You may like to start with learning the Text Generation methods in Deep Learning with Tensorflow (TF) & Keras from this tutorial series.

If you would like to learn more about Deep Learning with practical coding examples, please subscribe to the Murat Karakaya Akademi YouTube Channel or follow my blog on muratkarakaya.net. Do not forget to turn on notifications so that you will be notified when new parts are uploaded.

Last updated: 14/05/2022



Photo by Ibrahim Boran on Unsplash

Saturday, November 5, 2022

Fundamentals of Controllable Text Generation

 

Fundamentals of Controllable Text Generation

Author: Murat Karakaya
Date created: 21 April 2021
Last modified: 24 May 2021
Description: This is an introductory tutorial on Controllable Text Generation in Deep Learning which is the second part of the “Controllable Text Generation with Transformers” series. This series will focus on developing TensorFlow (TF) / Keras implementation of Controllable Text Generation from scratch. You can access all these parts from my blog at muratkarakaya.net.

Before getting started, I assume that you have already reviewed:

Please ensure that you have completed the above tutorial series to easily follow the below discussions.

Accessible on:



Photo by Chris Leipelt on Unsplash

Friday, November 4, 2022

How to save and load a TensorFlow / Keras Model with Custom Objects?

 

How to save and load a TensorFlow / Keras Model with Custom Objects?

Author: Murat Karakaya
Date created: 30 May 2021
Last modified: 30 July 2021
Description: This tutorial will design and train a Keras model (miniature GPT3) with some custom objects (custom layers). We aim to learn how to save the trained model as a whole and load the saved model “TensorFlow SevedModel”.
Accessible on:



Photo by Markus Winkler on Unsplash

Bookmarks to the selected Deep Learning / Machine Learning Resources on the Web

 

Bookmarks to the selected Deep Learning / Machine Learning Resources on the Web

Author: Murat Karakaya
Date created: 19 May 2020
Last modified: 15 Dec 2021
Description: In this post, I share my bookmarks classified according to specific topics in Deep Learning / Machine Learning. Thus, you can save your time searching for similar information on the web. If you have any comments or updates please feel free to share with me!

If you are interested in Deep Learning / Machine learning, you can find hundreds of video tutorials with Python code samples in Jupyter notebooks at the following links:



Photo by Bernd Klutsch on Unsplash

Multi-Class Text Classification with a GPT3 Transformer block: An End-to-End Example

 

Multi-Class Text Classification with a GPT3 Transformer block: An End-to-End Example

Author: Murat Karakaya & Cansen Çağlayan
Date created: 05 Oct 2021
Last modified: 19 Oct 2021
Description: This tutorial has 2 parts as explained below. Part A: Data Analysis & Text Preprocessing and Part B: Text Classification. 



                                       Photo by Håkon Grimstad on Unsplash

Tuesday, November 1, 2022

Multi-Topic (Multi-Class) Text Classification With Various Deep Learning Models Tutorial Series

Multi-Topic (Multi-Class) Text Classification With Various Deep Learning Models Tutorial Series

Index Page

This is the index page of the “Multi-Topic (Multi-Class) Text Classification With Various Deep Learning Models” tutorial series.

Author: Murat Karakaya
Date created….. 17 Sept 2021
Date published… 11 March 2022
Last modified…. 09 April 2023

Description: This is a tutorial series that covers all the phases of text classification: Exploratory Data Analysis (EDA) of text, text preprocessing, and multi-class (multi-topic) text classification using the TF Data Pipeline and the Keras TextVectorization preprocessing layer.

We will design various Deep Learning models by using the Keras Embedding layer, Convolutional (Conv1D) layer, Recurrent (LSTM) layer, Transformer Encoder block, and pre-trained transformer (BERT).

We will use a Kaggle Dataset with 32 topics and more than 400K reviews.

We will cover all the topics related to solving Multi-Class Text Classification problems with sample implementations in Python TensorFlow Keras.

You can access the codes, videos, and posts from the below links.

If you would like to learn more about Deep Learning with practical coding examples, please subscribe to the Murat Karakaya Akademi YouTube Channel or follow my blog on muratkarakaya.net. Remember to turn on notifications so that you will be notified when new parts are uploaded.



Photo by Patrick Tomasso on Unsplash

PARTS

In this tutorial series, there will be several parts to cover the “Text Classification with various Deep Learning Models” in detail as follows. 

You can access all these parts on YouTube in ENGLISH or TURKISH!

You can access the complete codes as Colab Notebooks using the links given in each video description (Eng/TR) or you can visit the Murat Karakaya Akademi Github Repo.

Comments or Questions?

Please share your Comments or Questions.

Thank you in advance.

Do not forget to check out the following parts!

Take care!

You can access Murat Karakaya Akademi via:

YouTube

Facebook

Instagram

LinkedIn

GitHub

Kaggle

muratkarakaya.net