How I Fine-Tuned TinyLlama on My Laptop Using LoRA
A complete walkthrough of fine-tuning a 1.1B parameter model on a Mac using LoRA, merging the adapter, and serving it locally with Ollama.
Read essay →A complete walkthrough of fine-tuning a 1.1B parameter model on a Mac using LoRA, merging the adapter, and serving it locally with Ollama.
Read essay →You trained the model. Now what? This post explains model inference and harness engineering with real code and zero hand-waving.
Read →Cognitive offloading is smart. Cognitive surrender is dangerous. A Wharton study of 1,372 people shows most of us have stopped telling the difference.
Read →Skills are becoming the new language for AI tools. Write a better skill and the LLM doesn't just follow instructions, it starts thinking like you.
Read →AI can generate a product plan in minutes. That doesn't mean it can be shipped in the same time. Here's the part the hype doesn't talk about.
Read →How can a simple statistical model make digital interactions feel personal? In a dating app project I worked on, I used logistic regression to turn user answers into meaningful insights. This blog shares my approach and the lessons I learned along the way.
Read →From everyday life to professional growth, asking the right questions can unlock understanding, insight, and opportunity.
Read →Practical examples of how I use Cursor (AI editor) and Warp (AI terminal) to refactor code, write tests, and speed up everyday tasks with prompts, examples, and images.
Read →Rails now allows to omit seconds part in the input field by adding the include_seconds option to datetime_field.
Read →Rails now preserve expires_in while incrementing or decrementing an integer value in MemoryStore to be more consistent with MemCacheStore and RedisCacheStore.
Read →In this blog, we will see how to set up a CI/CD workflow using Github Actions for the Expo React Native application.
Read →Rails now adds support to include the beginless range in active record inclusivity/exclusivity validators.
Read →Rails now avoids making a query to the database if the calculation contains a contradictory relation.
Read →In this post, we will see how the overuse of engines could lead to some serious issues.
Read →Rails moves reading_request? method from the DatabaseSelector to the DatabaseSelector::Resolver class so that we can override the method in custom Resolver.
Read →Rails adds an active record configuration to limit the maximum number of dependent records destroyed in a single background job.
Read →Rails is continuously adding convenience to make active record queries more flexible. Now, Rails has added support to use aliased attributes with insert/upsert_all.
Read →As people and businesses increasingly depend on SaaS products, DevOps have started on creating reliable infrastructure. Reducing deployment downtime is at the top of their priority list. In this post, we will see how Kubernetes handles this gracefully.
Read →In this blog let us understand how Variable Width Allocation works in Ruby
Read →Each programming language has its version of memory management so, let us look into how Ruby does this under the hood.
Read →By default, foreign key constraints in PostgreSQL are checked after each statement. This works for most use cases but becomes a major limitation when creating related records before the parent record is inserted into the database.
Read →With Rails 7 we can pass transaction arguments like isolation, joinable, etc directly to with_lock.
Read →Learn some of the inherent ways of managing state without using any external state management tool.
Read →A Step-By-Step Guide to Building a Recommender System using Amazon Personalize with its Similar-Items Recipe.
Read →Starting with Rails 7, we can add caching? helper to check whether the current code path is being cached and uncacheable! helper to avoid fragment caching.
Read →Sometimes, it is better not to use any external state management tool unless our application is that complex. We can avoid complexities involved in state management using some of the inherent ways.
Read →In complex applications, client apps have to store and manage a large amount of nested data, and if the data is not normalized, it can be incredibly time-consuming for a program to lookup nested data which could become a performance concern.
Read →A couple of months back I had won the full year of free egghead courses in one of the Gatsby contests and one fine day while I was enjoying my free premium access and watching some amazing tutorials on Redux and State Management I came to know about Egghead Portfolio Project Club and I found it interesting because I really believe in learning together.
Read →The one most important element of game-based environments at which user will always look is Leaderboard. Implementing a leaderboard could be easy but, when the number of users raised to several
Read →Now, Apple has mandated to provide Apple Sign-In as an equivalent option if your app is providing other social logins(FB, Gmail Twitter, etc) as well. In this guide I tried to simplify the entire process and how we resolved an issue we faced while using Expo for Apple Signin
Read →I have been hearing about GraphQL and its hype for a long but, finally, I got a chance to use this in one of the projects. It's been 3 months since I am exploring GraphQL. So, in this post I would like to share my experiences with GraphQL, things that I found worked great, and areas of difficulty I didn't expect.
Read →This year in ByteConf2020 I got to know about GatsbyJS, and I really found it interesting so, I thought of giving it a try. As developers, we always look out for some cool tech stacks which are powerful, practical and save us from some serious mundane tasks. So, in this post, I would like to explain why I chose GatsbyJS to build my blogging site.
Read →In a recent project, we built an application on top of a legacy application’s APIS. The legacy application was built with MeteorJS, and we chose a MERN stack to extend it. We decided to leverage the existing codebase due to time constraints and wide areas of functional reuse.
Read →In this post we will see how to setup a Repository Manager for internal NPM packages
Read →When we say we are creating or consuming REST APIs. Does it really mean a REST ?. So, in this post I would like to describe how we can assess maturity of the REST API.
Read →Lets get deeper into the Rx, the another core key of Rx is the Reactive Subscription.
Read →I am back with the another post which aims to introduce a beginner reactive programmer to the complete power of the Java implementation of reactive programming.
Read →Nowadays we often hear the term Reactive Programming, Reactive Extensions, RXJava and all the hype around them but you can’t get your head around them or may be you’ve seen it used a few places but you’re still a little confused and would like some clarifications. I’ll try to make this post easy and simple for you.
Read →Two years back when I started looking into the Functional Programming I came across a word Monad. I really tried hard to understand it but, didn't get succeed. I started asking people and it came like Monad seems to have a very bad reputation in many communities. I heard many times people saying that they are “too complicated” even if they really aren’t inspite of the fact that Monads are one of the most useful and powerful tools we have in functional programming.
Read →Now the time has changed. Verbs have shown their strength, Verbs are set free and people are now realising their powers. But, the question is how such transformation took place in the kingdom where verbs were treated as slave and the Nouns had entirely ousted the Verbs. so, there is a story behind this.
Read →