<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Developer on Rohan</title>
    <link>https://ygivenx.com/categories/developer/</link>
    <description>Recent content in Developer on Rohan</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 22 Aug 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://ygivenx.com/categories/developer/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Learn PyTorch - a quick code-based summary from PyTorch 60-min Blitz</title>
      <link>https://ygivenx.com/posts/learn-pytorch-a-quick-code-based-summary-from-pytorch-60-min-blitz/</link>
      <pubDate>Tue, 22 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://ygivenx.com/posts/learn-pytorch-a-quick-code-based-summary-from-pytorch-60-min-blitz/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-tensor&#34;&gt;Tensor&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-standard-numpy-like-indexing&#34;&gt;Standard NumPy like indexing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-joining-tensor&#34;&gt;Joining Tensor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-multiplying-tensors&#34;&gt;Multiplying Tensors&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-in-place-operations&#34;&gt;👉🏼 In-place operations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-bridge-with-numpy&#34;&gt;Bridge with NumPy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-numpy-array-to-tensor&#34;&gt;NumPy array to Tensor&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-autograd&#34;&gt;AutoGrad&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-training-a-nn&#34;&gt;Training a NN&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-forward-propagation&#34;&gt;Forward Propagation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-backward-propagation&#34;&gt;Backward Propagation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-backward-propagation&#34;&gt;Adjusts the parameters proportionate to the error&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-backward-propagation&#34;&gt;Reference: Optimize using gradient descent 3Blue1Brown&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-single-training-step-in-pytorch&#34;&gt;Single Training Step in PyTorch&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#aioseo-differentiation-in-autograd&#34;&gt;Differentiation in Autograd&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;tensor&#34;&gt;Tensor&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;everything is tensor&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;computation happens in compiled c++ code&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;over 300 mathematical operations&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;default float32&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;seed is used to generate replicable data&lt;/p&gt;</description>
    </item>
    <item>
      <title>The YAML syntax - get over the config files</title>
      <link>https://ygivenx.com/posts/the-yaml-syntax/</link>
      <pubDate>Tue, 13 Sep 2022 00:00:00 +0000</pubDate>
      <guid>https://ygivenx.com/posts/the-yaml-syntax/</guid>
      <description>&lt;p&gt;A quick reference to basic YAML syntax&lt;/p&gt;
&lt;h2 id=&#34;lists&#34;&gt;Lists&lt;/h2&gt;
&lt;p&gt;All members of a list are lines beginning at the same indentation level starting with a &amp;ldquo;- &amp;quot; (a dash and a space)&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# a list of models
- logreg
- randomforest
- xgboost
- mlp
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;dictionary&#34;&gt;Dictionary&lt;/h2&gt;
&lt;p&gt;key: value (colon followed by a space)&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rohan:
  name: Rohan Singh
  job: Data Scientist III
  skill: Elite
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;complicated-data-structures&#34;&gt;Complicated Data Structures&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# a list of dictionaries
- rohan:
      name: Rohan Singh
      job: Geneticist
      skill: Beginner

- emmanuelle:
      name: Emmanuelle Charpentier
      job: Professor and Researcher
      skill: Elite
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;flow-connections&#34;&gt;Flow Connections&lt;/h2&gt;
&lt;p&gt;It can be used to represent abbreviated data structures&lt;/p&gt;</description>
    </item>
    <item>
      <title>Organize your computer 🗄</title>
      <link>https://ygivenx.com/posts/organize-yourself-no-your-computer-/</link>
      <pubDate>Fri, 30 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://ygivenx.com/posts/organize-yourself-no-your-computer-/</guid>
      <description>&lt;p&gt;Target Users&lt;/p&gt;
&lt;p&gt;If you use &lt;strong&gt;python&lt;/strong&gt; and like having an &lt;strong&gt;organized&lt;/strong&gt; computer - this article is for you 👋🏽&lt;/p&gt;
&lt;p&gt;The data 💿 in your mac 💻 is spread around into downloads, desktop, etc.There is a &lt;strong&gt;python&lt;/strong&gt; 🐍 tool &lt;code&gt;organize-tool&lt;/code&gt; which can help you declutter and organize all your data with a simple YAML configuration.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;best&lt;/strong&gt; part is that - you can also have &lt;code&gt;python&lt;/code&gt; code in actions.&lt;/p&gt;
&lt;p&gt;Thanks 😄 to &lt;a href=&#34;https://github.com/tfeldmann&#34;&gt;tfeldmann&lt;/a&gt; for this awesome 😎 tool&lt;/p&gt;</description>
    </item>
    <item>
      <title>Build NLP Apps, quickly! ⏩</title>
      <link>https://ygivenx.com/posts/build-nlp-apps-quickly-/</link>
      <pubDate>Tue, 27 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://ygivenx.com/posts/build-nlp-apps-quickly-/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Alt Text&#34; loading=&#34;lazy&#34; src=&#34;https://ygivenx.com/posts/build-nlp-apps-quickly-/images/h1wtf8uw3mv63ha7b230.png&#34;&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=&#34;https://streamlit.io/&#34;&gt;streamlit&lt;/a&gt; app to try out the &lt;a href=&#34;https://discuss.huggingface.co/t/new-pipeline-for-zero-shot-text-classification/681&#34;&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=&#34;https://github.com/ygivenx/zero-shot-classifier-app&#34;&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>
    </item>
    <item>
      <title>List all folders over a GB in terminal</title>
      <link>https://ygivenx.com/posts/list-all-folders-over-a-gb-in-terminal/</link>
      <pubDate>Mon, 26 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://ygivenx.com/posts/list-all-folders-over-a-gb-in-terminal/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://ygivenx.com/posts/list-all-folders-over-a-gb-in-terminal/images/code-bash-1-1-1024x311.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;Several times, you realize that you need to see folder with a lot of data in it. I have used this command several times and find it really useful to see all the large folders lying around in the current dir.&lt;/p&gt;</description>
    </item>
    <item>
      <title>So, you got a new Mac 🍺</title>
      <link>https://ygivenx.com/posts/so-you-got-a-new-mac-/</link>
      <pubDate>Mon, 26 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://ygivenx.com/posts/so-you-got-a-new-mac-/</guid>
      <description>&lt;p&gt;Update Feb 2024 with Mac OS Sonoma on M3 Pro.&lt;/p&gt;
&lt;p&gt;I, recently, changed jobs and got a brand new mac. Now, I am a data scientist and I wanted my new mac to be familiar. In this post, I wanted to show what I installed on my new mac to make it somewhat efficient from the get-go. I Hope, this post will help you get started, quickly :)&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;MacBook Pro on white surface&#34; loading=&#34;lazy&#34; src=&#34;https://ygivenx.com/posts/so-you-got-a-new-mac-/images/photo-1537498425277-c283d32ef9db&#34;&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
