<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rohan Singh</title>
    <description>The latest articles on DEV Community by Rohan Singh (@ygivenx).</description>
    <link>https://dev.to/ygivenx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F617654%2Fec5a8018-efe9-4411-911c-e6341ebaf14c.jpeg</url>
      <title>DEV Community: Rohan Singh</title>
      <link>https://dev.to/ygivenx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ygivenx"/>
    <language>en</language>
    <item>
      <title>A simple zero shot classification app</title>
      <dc:creator>Rohan Singh</dc:creator>
      <pubDate>Sun, 25 Apr 2021 22:26:57 +0000</pubDate>
      <link>https://dev.to/ygivenx/a-simple-zero-shot-classification-app-19ee</link>
      <guid>https://dev.to/ygivenx/a-simple-zero-shot-classification-app-19ee</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--N9_jE9rt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h1wtf8uw3mv63ha7b230.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--N9_jE9rt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h1wtf8uw3mv63ha7b230.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Created an app to to zero shot classification using huggingface 🤗 library.&lt;/p&gt;

&lt;p&gt;In this app, I created a simple &lt;a href="https://streamlit.io/"&gt;streamlit&lt;/a&gt; app to try out the &lt;a href="https://discuss.huggingface.co/t/new-pipeline-for-zero-shot-text-classification/681"&gt;zero-shot-classification&lt;/a&gt; pipeline provided by HuggingFace. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Please take a look at the code here&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ygivenx/zero-shot-classifier-app"&gt;https://github.com/ygivenx/zero-shot-classifier-app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Or try it yourself by running&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make sure your docker memory is set to over 6GB. &lt;br&gt;
&lt;code&gt;docker pull ygivenx/zero-shot-app&lt;/code&gt;&lt;br&gt;
&lt;code&gt;docker run -it -p 8501:8501 ygivenx/zero-shot-app&lt;/code&gt;&lt;/p&gt;

</description>
      <category>streamlit</category>
      <category>python</category>
      <category>poetry</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
