Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Nov 6, 2024
1 parent 6c859d3 commit dc5c50a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
488f4798
0cf60366
5 changes: 3 additions & 2 deletions 2024/weeks/week04/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -564,12 +564,13 @@ <h2></h2>
</ul>
<p><span class="math display">\[
\begin{align*}
\alpha_{ij} &amp; = \text{softmax}\left(\frac{q_i \cdot k_j}{\sqrt{d_{k}}}\right) \\
\alpha_{ij} &amp; = \frac{\exp(A_{ij})}{\sum_{j=1}^{n} \exp(A_{ij})}
\end{align*}
\]</span></p>
<p>where,</p>
<p>explained as: where,</p>
<ul>
<li><span class="math inline">\(\alpha_{ij}\)</span> is the attention weight for the i-th query and j-th key.</li>
<li><span class="math inline">\(\exp\)</span> is the exponential function (e=2.71828).</li>
<li>The softmax function is applied to each row of the attention score matrix <span class="math inline">\(\text{A}\)</span>.</li>
</ul>
</section>
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"href": "2024/weeks/week04/slides.html#section-8",
"title": "Week 04 Intro to Transformers",
"section": "",
"text": "Softmax\n\n\nThe scaled dot-products are passed through a softmax function to get the attention weights.\n\n\\[\n\\begin{align*}\n\\alpha_{ij} & = \\text{softmax}\\left(\\frac{q_i \\cdot k_j}{\\sqrt{d_{k}}}\\right) \\\\\n\\end{align*}\n\\]\nwhere,\n\n\\(\\alpha_{ij}\\) is the attention weight for the i-th query and j-th key.\nThe softmax function is applied to each row of the attention score matrix \\(\\text{A}\\)."
"text": "Softmax\n\n\nThe scaled dot-products are passed through a softmax function to get the attention weights.\n\n\\[\n\\begin{align*}\n\\alpha_{ij} & = \\frac{\\exp(A_{ij})}{\\sum_{j=1}^{n} \\exp(A_{ij})}\n\\end{align*}\n\\]\nexplained as: where,\n\n\\(\\alpha_{ij}\\) is the attention weight for the i-th query and j-th key.\n\\(\\exp\\) is the exponential function (e=2.71828).\nThe softmax function is applied to each row of the attention score matrix \\(\\text{A}\\)."
},
{
"objectID": "2024/weeks/week04/slides.html#section-9",
Expand Down
32 changes: 16 additions & 16 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,66 +2,66 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week03/slides.html</loc>
<lastmod>2024-11-06T11:56:37.253Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week04/slides.html</loc>
<lastmod>2024-11-06T11:56:37.253Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/assignments/assignment01.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/homework/homework02.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week03/page.html</loc>
<lastmod>2024-11-06T11:56:37.253Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week01/slides.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/syllabus.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/assignments.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/index.html</loc>
<lastmod>2024-11-06T11:56:37.285Z</lastmod>
<lastmod>2024-11-06T12:10:06.241Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/homework.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week01/page.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week02/page.html</loc>
<lastmod>2024-11-06T11:56:37.253Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/homework/homework01.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/homework/homework03.html</loc>
<lastmod>2024-11-06T11:56:37.249Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week04/page.html</loc>
<lastmod>2024-11-06T11:56:37.253Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
<url>
<loc>https://llm4linguists.xyz/2024/weeks/week02/slides.html</loc>
<lastmod>2024-11-06T11:56:37.253Z</lastmod>
<lastmod>2024-11-06T12:10:06.205Z</lastmod>
</url>
</urlset>

0 comments on commit dc5c50a

Please sign in to comment.