<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muhammad Talib Waseem on Medium]]></title>
        <description><![CDATA[Stories by Muhammad Talib Waseem on Medium]]></description>
        <link>https://medium.com/@talibwaseem135?source=rss-73efb75ae6ca------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0ZJmEVbioGrISJWeyWkzvA.jpeg</url>
            <title>Stories by Muhammad Talib Waseem on Medium</title>
            <link>https://medium.com/@talibwaseem135?source=rss-73efb75ae6ca------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 12:01:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@talibwaseem135/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to use TRAX in machine learning and why?]]></title>
            <link>https://medium.com/@talibwaseem135/why-use-trax-in-machine-learning-and-how-to-use-d8546b71816f?source=rss-73efb75ae6ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8546b71816f</guid>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[trax]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[pytorch]]></category>
            <dc:creator><![CDATA[Muhammad Talib Waseem]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 16:05:58 GMT</pubDate>
            <atom:updated>2024-01-04T16:24:04.929Z</atom:updated>
            <content:encoded><![CDATA[<p>In Machine Learning we already have a handful of tools to build and deploy the most up-to-date models for Natural Language Processing. Among these tools, we could mention Pytorch and Tensorflow 2.0 as strong bases,<br>building up from the most basic elements for Neural Networks and by providing useful high-level tools, such as the Keras library.</p><p>Aside from that, there’s Transformers, which makes the life of NLP practitioners a tad easier by providing high-level access to many pretrained models at either Pytorch or Tensorflow format. With all these, it seems there’s no need for anything else, right? But Google Brain team, the one behind BERT and the Reformer, decided to enters Trax.</p><h3>What is Trax?</h3><p>Trax is an end-to-end library for deep learning that focuses on clear code and speed. It is actively used and maintained in the Google Brain team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m_YSABXMyfhvD9XM8oPz5Q.png" /></figure><h3>Why Trax?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X9QvGwwn0PfFUF7XlgguxQ.png" /></figure><p>Primarily focus while building Tensorflow? Initial release: November 9, 2015</p><p>1 — That can run distributed machine learning systems.<br>2 — Large-scale fast training.<br>3 — The main focus was speed.<br>4 — A secondary focus was to make it easy to program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5qAHT4FRR12-RoTwnIN8Dw.png" /></figure><p>After tensorflow we get the oppourtunity to translate text and Google published the<em> </em><a href="https://arxiv.org/abs/1609.08144"><em>Google’s Neural Machine Translation System: Bridging the Gap between Human and Machine Translation</em></a><em>.</em></p><p>Much better then previous phrase-based translation models, but took a long time to train, days and clusters of GPUs.</p><h3>Tensor To Tensor Library:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*lHl8GkzouV61UV8RKmw6UA.png" /></figure><p>Still this was not enough to run fast so here comes <strong><em>Trax</em></strong></p><h3>TRAX — Deep Learning with Clear code and Speed</h3><p>In terms of code writing and understanding trax is much simpler as you can even assume of here is a sample example of ADAM optimizer code that is written on trax, pytorch and tensorflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qX0jY-5W42cG0RwMw7a79w.png" /></figure><p>This efficiency is not only in terms of code but in terms of speed</p><p>TRAX code runs fast because,</p><p>1- Designed to use a JIT compiler with JAX and XLA.<br>2- JAX: fastest Transformer in MLPerf 2020 (JAX: 0.26, TF: 0.35, pyTorch: 0.62) <br>3- No code changes at all between CPU, GPU and TPU, preemptible training<br>4- Tested with TPU on colab too:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vtora-TYrrey58wPRD_XWg.png" /></figure><p>Trax is fast to use and learn machine learning.</p><p>More on trax documentation: <a href="https://trax-ml.readthedocs.io/en/latest/">https://trax-ml.readthedocs.io/en/latest/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8546b71816f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a Custom Linear Progress Bar in React without any Library]]></title>
            <link>https://medium.com/@talibwaseem135/create-a-custom-linear-progress-bar-in-react-without-any-library-79a8a1a8b24f?source=rss-73efb75ae6ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/79a8a1a8b24f</guid>
            <category><![CDATA[progress-bar]]></category>
            <category><![CDATA[linear-progress-bar]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[custom]]></category>
            <dc:creator><![CDATA[Muhammad Talib Waseem]]></dc:creator>
            <pubDate>Mon, 30 Mar 2020 07:05:46 GMT</pubDate>
            <atom:updated>2020-03-30T07:05:46.737Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>2020-In my career my goal is to do new things in my life and I am really very happy to share good things with others and to spread the knowledge that i have learnt. I am working on React since last year and now I am trying to convey all special lessons that I have explored to you.I am also heading towards establishing successful react libraries to be an asset to react community.</em></strong></p><p>Through this blog you will learn to make your own custom linear progress bar with different structures.</p><p>So Let’s Start!</p><h3>Progress Bar</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*e_c3aos8ahop3zqIlhQP0A.png" /></figure><p>Step 1- First create a ProgressBar Component with two files (a)progressbar.jsx and (b)style.css</p><p>Step 2- In Progressbar.jsx create a first <strong><em>div </em></strong>as a border of progress bar and receive the style from the props as progressStyle and spread it to the <strong><em>div</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*4iZHQY7czkXj2QlSfBxMYw.png" /></figure><p>Step 3- Add the Filler div inside the first <strong><em>div </em></strong>and again receive style from props as filler Style and expand it to the filler <strong><em>div</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*EovxvTyk2lQKFWR1tn2j1A.png" /></figure><p>Step 4- Add a class to the filler div this style property will be same and generic for all progress bar we will create.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*tINR-A2QWzi_3TeJKj3Hfg.png" /></figure><p>Now our custom progress bar class is done and now its time to use it in different ways.</p><h3>Usage of &lt;ProgressBar/&gt;</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*iWZUazaoz56g_-e0AHOHhQ.png" /></figure><p>In your App.js file import ProgressBar Component and use it and provide progressStyle and fillerStyle as props just like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*JWkSa9bQmP43mkL-vv2hAQ.png" /></figure><p>You can change the color, background color, width, height, border, and give any style to your progress bar and now you are able to create any type of linear progress bars.</p><p>Some Examples are as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*dr6SAdeP3QFVdxTVmyjBcA.png" /><figcaption>without border with blue filler</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*Z047eu2dLaLoMsRnsHjwLg.png" /></figure><blockquote>So now you can customize it in any way you want if you have any query you can email me I will be very grateful to reply you<a href="http://talibwaseem135@gmail.com/"> talibwaseem135@gmail.com</a></blockquote><p><a href="https://github.com/MuhammadTalib/custom-linear-progressbar">You can find this work at github: https://github.com/MuhammadTalib/custom-linear-progressbar</a>.</p><p>Thanks For your precious time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79a8a1a8b24f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Animation in React.js with ‘react-animations’]]></title>
            <link>https://medium.com/@talibwaseem135/animation-in-react-js-with-react-animations-5e5718ce8a9d?source=rss-73efb75ae6ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e5718ce8a9d</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Muhammad Talib Waseem]]></dc:creator>
            <pubDate>Sat, 29 Jun 2019 10:37:05 GMT</pubDate>
            <atom:updated>2019-06-29T10:37:05.793Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*qZT6HsLWRHftyq5SUaVVyg.png" /></figure><p>1-open terminal and install dependencies <strong>npm install styled-componets react-animations’</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*WRomaEAwPSoMElkeV8CEYw.png" /></figure><p>2-Add the dependencies at the top of your conponent.js file</p><p><strong><em>import { bounce } from “react-animations”;</em></strong></p><p><strong><em>import styled, { keyframes } from “styled-components</em>”;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*0DOIZ5tgF-x_CrDKu9OwcQ.png" /></figure><p>react-animations — The library is really very easy to use it has a variety or animations you just have to import that particular animation from “react-animations” as <strong><em>import { bounce } from “react-animations”</em></strong></p><blockquote><strong>import { bounce, bouceIn, bouceOut, bounceInDown, bounceInLeft, bounceInRight, bounceInUp, bounceOutDown, bounceOutLeft, bounceOutRight, bounceOutUp, fadeIn, fadeInDown, fadeInDownBig, fadeInLeft, fadeInLeftBig, fadeInRight, fadeInRightBig, fadeInUp, fadeInUpBig, fadeOut, fadeOutDown, fadeOutDownBig, fadeOutLeft, fadeOutLeftBig, fadeOutRight, fadeOutRightBig, fadeOutUp, fadeOutUpBig, flash, flip, flipInX, flipInY, flipOutX, flipOutY, headShake, hinge, jello, lightSpeedIn, lightSpeedOut, pulse, rollIn, rollOut, rotateIn, rotateInDownLeft, rotateInDownRight, rotateInUpLeft, rotateInUpRight, rotateOut, rotateOutDownLeft, rotateOutDownRight, rotateOutUpLeft, rotateOutUpRight, rubberBand, shake, slideInDown, slideInLeft, slideInRight, slideInUp, slideOutDown, slideOutLeft, slideOutRight, slideOutUp, swing, tada, wobble, zoomIn, zoomInDown, zoomInLeft, zoomInRight, zoomInUp, zoomOut, zoomOutDown, zoomOutLeft, zoomOutRight, zoomOutUp,} from ‘react-animations’;</strong></blockquote><p>3-Now create a wrapper div for your animation as</p><p><strong><em>const</em> Bounce = styled.div`animation: 2s ${keyframes`${bounce}`} infinite;</strong></p><p>4-Now apply the animation on you div as</p><p><strong>&lt;<em>Bounce</em>&gt;</strong></p><p><strong>&lt;h1&gt;Hello Animation Bounce&lt;/h1&gt;</strong></p><p><strong>&lt;/<em>Bounce</em>&gt;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*V0xq4yv50wVBJ3EK5r0EHg.png" /></figure><p>Here you go…..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e5718ce8a9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>