<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transformer on Arshad Siddiqui</title><link>https://arshadhs.github.io/tags/transformer/</link><description>Recent content in Transformer on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://arshadhs.github.io/tags/transformer/index.xml" rel="self" type="application/rss+xml"/><item><title>Transformer</title><link>https://arshadhs.github.io/docs/ai/deep-learning/090-transformer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/ai/deep-learning/090-transformer/</guid><description>&lt;h1 id="transformer">
 Transformer
 
 &lt;a class="anchor" href="#transformer">#&lt;/a>
 
&lt;/h1>
&lt;p>A transformer is a neural network architecture that uses attention as its main mechanism for processing sequences.&lt;/p>
&lt;p>Unlike RNNs, transformers do not process tokens one by one.&lt;/p>
&lt;p>They process many tokens in parallel and use self-attention to learn relationships between tokens.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>is an architecture of neural networks&lt;/p>
&lt;/li>
&lt;li>
&lt;p>based on the multi-head attention mechanism&lt;/p>
&lt;/li>
&lt;li>
&lt;p>text is converted to numerical representations called tokens, and each token is converted into a vector via lookup from a word embedding table&lt;/p></description></item></channel></rss>