<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged paper</title>
<link>https://coderlegion.com/tag/paper</link>
<description>Powered by Question2Answer</description>
<item>
<title>Attention Is All You Need - Part 1</title>
<link>https://coderlegion.com/16111/attention-is-all-you-need-part-1</link>
<description>
&lt;p&gt;Hello, I'm Ganesh. I'm building &lt;em&gt;git-lrc&lt;/em&gt;, an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. &lt;a href=&quot;https://github.com/HexmosTech/git-lrc&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;Star Us&lt;/a&gt; to help devs discover the project. Do give it a try and share your feedback for improving the product.&lt;/p&gt;

&lt;p&gt;I will going to discuss about the paper &lt;strong&gt;&quot;Attention Is All You Need&quot;&lt;/strong&gt;  which introduced the Transformer architecture in 2017 and it has become one of the most important models in the field of NLP.&lt;/p&gt;

&lt;p&gt;This paper was published in 2017 by Google researchers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Background?
&lt;/h2&gt;

&lt;p&gt;The Goal of Machine Learning is to learn mapping from input to output.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
Predicting house price based on sqft was based on bedrooms, bathrooms, locality, etc&lt;/p&gt;

&lt;p&gt;In email spam detection, the input is email text and the output is spam or not spam.&lt;/p&gt;

&lt;p&gt;This were mapped through neural networks.&lt;/p&gt;

&lt;p&gt;Neural networks is sequence of layers each transforming an input to output of previous layer.&lt;/p&gt;

&lt;p&gt;But this had a major limitation that it was not able to capture the long range dependencies in the input.&lt;/p&gt;

&lt;h2&gt;
  
  
  What problem they solved?
&lt;/h2&gt;

&lt;p&gt;The earlier models were based on Recurrent Neural Networks (RNNs) processed one token per time step.&lt;/p&gt;

&lt;p&gt;Which mainly had two problems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It was not able to capture the long range dependencies in the input.&lt;/li&gt;
&lt;li&gt;It was not able to process the input in parallel. As it was only depended on sequential information.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How this was solved?
&lt;/h2&gt;

&lt;p&gt;Transformer architecture was introduced to solve this problem.&lt;/p&gt;

&lt;p&gt;It is based on attention mechanism.&lt;/p&gt;

&lt;p&gt;Which allows the model to focus on the most relevant parts of the input sequence.&lt;/p&gt;

&lt;p&gt;This is simple explaination for now I will conclude and wrap it up for this article.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this article, we discussed the background of the Attention Is All You Need paper and the problem it solved.&lt;/p&gt;

&lt;p&gt;In the next article, we will discuss the Transformer architecture in detail with an example.&lt;/p&gt;

&lt;p&gt;Reference: &lt;a href=&quot;https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/HexmosTech/git-lrc&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fabn6nl3iehrohehnxgje.png&quot; alt=&quot;git-lrc&quot; width=&quot;800&quot; height=&quot;373&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any feedback or contributors are welcome! It&amp;rsquo;s online, source-available, and ready for anyone to use. &lt;br&gt;
&amp;#11088; Star it on GitHub: &lt;a href=&quot;https://github.com/HexmosTech/git-lrc&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;https://github.com/HexmosTech/git-lrc&lt;/a&gt;&lt;/p&gt;


</description>
<category>Other</category>
<guid isPermaLink="true">https://coderlegion.com/16111/attention-is-all-you-need-part-1</guid>
<pubDate>Wed, 29 Apr 2026 18:29:39 +0000</pubDate>
</item>
</channel>
</rss>