<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nokens on anotherjesse.com</title><link>https://anotherjesse.com/categories/nokens/</link><description>Recent content in Nokens on anotherjesse.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 04 Mar 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://anotherjesse.com/categories/nokens/index.xml" rel="self" type="application/rss+xml"/><item><title>Experimenting With Transformers &amp; Nokens</title><link>https://anotherjesse.com/posts/phi-nokens/</link><pubDate>Mon, 04 Mar 2024 00:00:00 +0000</pubDate><guid>https://anotherjesse.com/posts/phi-nokens/</guid><description>&lt;p&gt;Sometimes a single word isn&amp;rsquo;t enough. What if you could blend tokens or use non-tokens (aka nokens&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;)?&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s explore these ideas, learn more about transformers: the architecture and Hugging Face library.&lt;/p&gt;
&lt;h2 id="installing--setup"&gt;Installing &amp;amp; Setup&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m going to use Microsoft&amp;rsquo;s &lt;a href="https://huggingface.co/microsoft/phi-2"&gt;Phi-2&lt;/a&gt; as it is smaller than Mistral / Llama2. The ideas &lt;em&gt;should&lt;/em&gt; transfer to other transformer models.&lt;/p&gt;
&lt;p&gt;After &lt;code&gt;pip install transformers torch&lt;/code&gt;, we can load our language model to experiment with using the Hugging Face library.&lt;/p&gt;</description></item></channel></rss>