Tensor Standard NumPy like indexing Joining Tensor Multiplying Tensors ๐๐ผ In-place operations Operations with _ suffix are in place in-place operations save some memory but can be problematic while computing derivatives because of an immediate loss of history. Therefore, it is discouraged. Bridge with NumPy ๐๐ผ Any change in tensor will reflect in the corresponding […]
Can we believe ๐ anything we see online anymore? Hello ๐๐ฝ An algorithm generated the picture you see above. It took me 10 minutes to set up and I can generate anything you can think of in some form. Imagine the information you will see going forward – how will you understand whether what you […]
A quick reference to basic YAML syntax Lists All members of a list are lines beginning at the same indentation level starting with a “- ” (a dash and a space) Dictionary key: value (colon followed by a space) Complicated Data Structures Flow Connections It can be used to represent abbreviated data structures Boolean Use […]
โ ๐ข โ ๐ In the last few weeks, I have been involved in a lot of things at work and after analyzing at the end of the month I realized I did not do any meaningful work during this time. This made me recall an article, I read earlier this year, by Cal Newport […]
Old ways ๐ New Ways Hello ๐๐ฝ Here are two things that I pondered ๐ญ over the weekend. What do you want in life? A snippet from the Collaboration Fund newsletter blog by Morgan Housel (Author of the Psychology of Money) – โฆ Fifty-four years agoโฆ Sunday Times offered ยฃ5,000 to whoever could sail solo […]
Target Users If you use python and like having an organized computer – this article is for you ๐๐ฝ The data ๐ฟ in your mac ๐ป is spread around into downloads, desktop, etc.There is a python ๐ tool organize-tool which can help you declutter and organize all your data with a simple YAML configuration. The best part is that – you can also have […]
Created an app to to zero shot classification using huggingface ๐ค library. In this app, I created a simple streamlit app to try out the zero-shot-classification pipeline provided by HuggingFace. Please take a look at the code here https://github.com/ygivenx/zero-shot-classifier-app Or try it yourself by running Make sure your docker memory is set to over 6GB.docker pull ygivenx/zero-shot-appdocker run -it […]
Update Feb 2024 with Mac OS Sonoma on M3 Pro. 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 […]
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.