<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Learning on Somnus的博客</title><link>https://somnus.top/tags/learning/</link><description>Recent content in Learning on Somnus的博客</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>somnus0917chen@hotmail.com (Somnus)</managingEditor><webMaster>somnus0917chen@hotmail.com (Somnus)</webMaster><copyright>© 2026 Somnus</copyright><lastBuildDate>Fri, 15 May 2026 22:42:47 +0800</lastBuildDate><atom:link href="https://somnus.top/tags/learning/index.xml" rel="self" type="application/rss+xml"/><item><title>Llm04 Position Encoding</title><link>https://somnus.top/notes/llm04-position-encoding/</link><pubDate>Fri, 15 May 2026 22:42:47 +0800</pubDate><author>somnus0917chen@hotmail.com (Somnus)</author><guid>https://somnus.top/notes/llm04-position-encoding/</guid><description>&lt;h2 class="relative group"&gt;位置编码
 &lt;div id="位置编码" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e4%bd%8d%e7%bd%ae%e7%bc%96%e7%a0%81" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;卷积具有局部性，天然地会注意元素之间的相对位置，但是基于自注意力的transformer模型则对位置不敏感，因此必须要把元素的位置信息在embedding阶段传给元素。
比如：&lt;/p&gt;</description></item><item><title>LLM03 Tokenizer</title><link>https://somnus.top/notes/llm03-tokenizer/</link><pubDate>Sat, 09 May 2026 17:02:18 +0800</pubDate><author>somnus0917chen@hotmail.com (Somnus)</author><guid>https://somnus.top/notes/llm03-tokenizer/</guid><description>&lt;h2 class="relative group"&gt;为什么要有tokenizer
 &lt;div id="为什么要有tokenizer" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e4%b8%ba%e4%bb%80%e4%b9%88%e8%a6%81%e6%9c%89tokenizer" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;tokenizer的作用是把文本序列转换成数字序列，即token编号，作为transformer的输入。&lt;/p&gt;</description></item><item><title>Eulerproj01</title><link>https://somnus.top/notes/eulerproj01/</link><pubDate>Sun, 29 Mar 2026 20:25:05 +0800</pubDate><author>somnus0917chen@hotmail.com (Somnus)</author><guid>https://somnus.top/notes/eulerproj01/</guid><description>&lt;h3 class="relative group"&gt;p002
 &lt;div id="p002" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#p002" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;

&lt;h4 class="relative group"&gt;题目
 &lt;div id="题目" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e9%a2%98%e7%9b%ae" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h4&gt;
&lt;p&gt;Problem 2: Even Fibonacci numbers&lt;/p&gt;</description></item></channel></rss>