Skip to content

Commit

Permalink
comments fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vpj committed Sep 6, 2021
1 parent 103cf81 commit c72d3b4
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 75 deletions.
14 changes: 14 additions & 0 deletions docs/sitemap.xml
Expand Up @@ -405,6 +405,20 @@
</url>


<url>
<loc>https://nn.labml.ai/transformers/alibi/index.html</loc>
<lastmod>2021-08-28T16:30:00+00:00</lastmod>
<priority>1.00</priority>
</url>


<url>
<loc>https://nn.labml.ai/transformers/alibi/experiment.html</loc>
<lastmod>2021-08-28T16:30:00+00:00</lastmod>
<priority>1.00</priority>
</url>


<url>
<loc>https://nn.labml.ai/transformers/gmlp/index.html</loc>
<lastmod>2021-06-07T16:30:00+00:00</lastmod>
Expand Down
4 changes: 2 additions & 2 deletions docs/transformers/knn/eval_knn.html
Expand Up @@ -87,7 +87,7 @@ <h1>Evaluate k-nearest neighbor language model</h1>
<a href='#section-1'>#</a>
</div>
<h2>$k$-NN to get $p(w_t, c_t)$</h2>
<p>Here we refer to $f($\color{yellowgreen}{c_t})$ as queries,
<p>Here we refer to $f(\color{yellowgreen}{c_t})$ as queries,
$f(c_i)$ as keys and $w_i$ as values.</p>
</div>
<div class='code'>
Expand Down Expand Up @@ -121,7 +121,7 @@ <h2>$k$-NN to get $p(w_t, c_t)$</h2>
<div class='section-link'>
<a href='#section-4'>#</a>
</div>
<p>Find 10 nearest neighbors of $f($\color{yellowgreen}{c_t})$ among $f(c_i)$.
<p>Find 10 nearest neighbors of $f(\color{yellowgreen}{c_t})$ among $f(c_i)$.
<code>distance</code> is the distance given by FAISS and <code>idx</code>, $i$ is the index of it in <code>keys_store</code>.</p>
</div>
<div class='code'>
Expand Down

0 comments on commit c72d3b4

Please sign in to comment.