<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alper GÖÇEN</title>
    <description>The latest articles on DEV Community by Alper GÖÇEN (@alper_gocen).</description>
    <link>https://dev.to/alper_gocen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4008754%2F63f61903-d2a3-40a7-9c8a-3dcb1051414e.png</url>
      <title>DEV Community: Alper GÖÇEN</title>
      <link>https://dev.to/alper_gocen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alper_gocen"/>
    <language>en</language>
    <item>
      <title>Free from-scratch deep learning notes: tensors, attention, and a tiny GPT</title>
      <dc:creator>Alper GÖÇEN</dc:creator>
      <pubDate>Mon, 29 Jun 2026 21:32:00 +0000</pubDate>
      <link>https://dev.to/alper_gocen/free-from-scratch-deep-learning-notes-tensors-attention-and-a-tiny-gpt-4ef7</link>
      <guid>https://dev.to/alper_gocen/free-from-scratch-deep-learning-notes-tensors-attention-and-a-tiny-gpt-4ef7</guid>
      <description>&lt;p&gt;I'm an AI PhD student, and I have started writing a free public notebook on how AI models work under the hood:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://insideaimodels.com/" rel="noopener noreferrer"&gt;https://insideaimodels.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The goal is to make the mechanics easier to reason about, without hiding everything behind library calls. I am writing the notes I wish I had when I was moving from "I can run the code" to "I understand what the model is doing." &lt;/p&gt;

&lt;h2&gt;
  
  
  What is inside so far
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Building GPT from scratch in PyTorch&lt;/strong&gt;: tokenizer, embeddings, masked self-attention, multi-head attention, residual blocks, training loop, and generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attention explained from scratch&lt;/strong&gt;: query, key, value vectors, softmax, context vectors, and why the mechanism matters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tensors for deep learning&lt;/strong&gt;: shapes, dimensions, and why tensor thinking is the language of neural networks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gradient descent intuition&lt;/strong&gt;: learning rate, derivatives, backpropagation, and the optimization loop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity-aware negative sampling&lt;/strong&gt;: a short note from my deepfake-detection research direction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A few direct links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GPT walkthrough: &lt;a href="https://insideaimodels.com/blog/building-gpt-from-scratch" rel="noopener noreferrer"&gt;https://insideaimodels.com/blog/building-gpt-from-scratch&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Attention explainer: &lt;a href="https://insideaimodels.com/blog/attention-explained" rel="noopener noreferrer"&gt;https://insideaimodels.com/blog/attention-explained&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Tensor primer: &lt;a href="https://insideaimodels.com/blog/what-is-a-tensor" rel="noopener noreferrer"&gt;https://insideaimodels.com/blog/what-is-a-tensor&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Gradient descent: &lt;a href="https://insideaimodels.com/blog/how-gradient-descent-works" rel="noopener noreferrer"&gt;https://insideaimodels.com/blog/how-gradient-descent-works&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no paywall, signup, or course funnel. I am sharing it publicly because writing helps me learn, and because practical ML resources are better when they stay open.&lt;/p&gt;

&lt;p&gt;If there is a part of modern AI models that usually gets hand-waved in tutorials, I would love to hear what I should cover next.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
