How to Run LLM Locally

Posted on Sat 02 December 2023 in AI • Tagged with Python, AI

Large Language Models are a new class of models that are trained on large amounts of text data. They are able to generate text that is indistinguishable from human-written text. There is plenty of LLMs available, but one of the most popular and free to use are Code Llama models from Meta, so we will use them in this article.


Iterators and Generators

Posted on Wed 25 October 2023 in SWE • Tagged with Python

Generators and iterators are powerful tools in Python's arsenal, allowing for efficient and readable code when dealing with data streams or large datasets. Whether you're looking to process large files or work with continuous data streams, understanding these concepts will undoubtedly boost your Python prowess.


Decorators

Posted on Fri 29 September 2023 in SWE • Tagged with Python

If you've heard the term thrown around in Python circles and thought, "What on earth is that?", you're in the right place. Decorators are like the secret sauce of Python programming, and once you get the hang of them, they'll make your code more elegant and maintainable.


Multiprocessing vs. Multithreading

Posted on Thu 31 August 2023 in SWE • Tagged with Python

Python is like that charming friend who always makes you smile with its simplicity and readability. But what happens when you need to deal with multiple tasks at once? Well, you're in for a treat because Python has some concurrency tricks up its sleeve!


Understanding AWS EC2 Instance Types

Posted on Thu 24 August 2023 in DevOps • Tagged with AWS, DevOps

AWS offers a range of EC2 instance types and pricing models to accommodate various workload requirements and budget constraints. Understanding the differences between On-Demand, Reserved, and Spot Instances is essential for making informed decisions and optimizing your cloud infrastructure costs on AWS.