Entries from 2025-12-01 to 1 month

Deep Learning and Collective Intelligence | Paper: Collective intelligence for deep learning: A survey of recent developments

This is a summary of the paper "Collective intelligence for deep learning: A survey of recent developments," which explores the relationship between deep learning and collective intelligence. Introduction Collective intelligence for deep l…

Understanding GPT-2 | Paper Summary: Language Models are Unsupervised Multitask Learners

This is a summary of the GPT-2 paper "Language Models are Unsupervised Multitask Learners." Introduction Language Models are Unsupervised Multitask Learners Overview Method Creating the WebText Training Dataset BPE: Byte Pair Encoding Mode…

Difference Between torch.tensor() and torch.Tensor() in PyTorch

This is a quick reference note on the differences between torch.tensor() and torch.Tensor(). Introduction Differences Between torch.tensor and torch.Tensor In Short In Detail Note: Creating Empty Tensors Conclusion References Introduction …

Building a Game from Scratch with Python | From Design to Implementation

I created my own game using Python. This article documents everything from the preparation involved in game development to the implementation challenges I encountered, and the final game design. Introduction Wanting to Create Something Why…

Equality Comparison for User-Defined Class Objects in Python

This article explains how to compare user-defined class objects for equality in Python. Introduction Comparing User-Defined Class Objects for Equality in Python Comparing Instance Variables in the __eq__ Method Comparing __dict__ in the __…

Checking Memory and Disk Space with Python

This article explains how to check memory and disk space on your execution environment using Python. Introduction Getting Disk and Memory Capacity Disk Space Memory Capacity Conclusion References Introduction I recently needed to check mem…

Behavior When Combining GPT Stream and Timeout | OpenAI Python Library

I'll verify what happens when calling the OpenAI API from Python with both stream and timeout settings enabled. Introduction Behavior When Combining GPT Stream and Timeout Hypothesis Testing Method Test Results Summary Conclusion Reference…

Implementing GPT Stream Responses with OpenAI API in Python

This article explains how to implement GPT streaming responses using the OpenAI API in Python. Introduction Implementing GPT Stream Responses with OpenAI API Conclusion References Introduction When you call GPT using the OpenAI API, the de…

Setting Timeout in the OpenAI Python Library

This is a guide on how to set timeouts when calling the OpenAI API using the OpenAI Python Library. Introduction Setting Timeout in the OpenAI Python Library How to: Using the request_timeout Parameter A Pitfall: The timeout Parameter Conc…

Understanding Organoid Intelligence | Paper Notes: Organoid intelligence (OI): the new frontier in biocomputing and intelligence-in-a-dish

This is a summary of the review paper "Organoid intelligence (OI): the new frontier in biocomputing and intelligence-in-a-dish," which covers developments in Organoid Intelligence (OI). Introduction Organoid intelligence (OI): the new fron…

Understanding the First GPT | Paper Notes: Improving Language Understanding by Generative Pre-Training

This is a summary of the first GPT paper, "Improving Language Understanding by Generative Pre-Training." Introduction Improving Language Understanding by Generative Pre-Training Overview Method Results Natural Language Inference Tasks Ques…

Reading the Transformer Paper: Attention Is All You Need

This is a summary of the seminal paper "Attention Is All You Need," which introduced the Transformer architecture. Introduction Attention Is All You Need Overview Method Model Architecture Training Method Results Translation Tasks Transfor…

Understanding Sakana.ai's Evolutionary Model Merging | Paper Notes: Evolutionary Optimization of Model Merging Recipes

This is a summary of the paper "Evolutionary Optimization of Model Merging Recipes," which describes Sakana.ai's evolutionary model merging approach. Introduction Evolutionary Optimization of Model Merging Recipes Overview Method Results L…

LLM and Brain Theory: Differences and Similarities with Active Inference

This article explores the differences and similarities between Active Inference from the Free Energy Principle and LLMs (Large Language Models), based on the paper "Predictive Minds: LLMs As Atypical Active Inference Agents." Introduction …

How to Read Research Papers: Learning from Andrew Ng

I'll share techniques for reading research papers from Andrew Ng's lecture video. Introduction How to Read Research Papers According to Andrew Ng Reading Papers Checking Your Understanding Conclusion References Introduction Recently, as I'…

Understanding 1-bit LLMs | Paper Notes: The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits

This is a summary of the paper "The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits". Introduction The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits Overview Method Results Conclusion/Thoughts References Intro…

Adding Tags in AWS CDK

This is a quick reference guide for adding tags in AWS CDK. Introduction Environment Adding Tags in CDK Examples Adding Tags at the Stack Level Adding Tags at the Construct Level Note: Deprecated Tag Assignment Method Conclusion References…

Nesting Stacks in AWS CDK

This article describes how to nest Stacks when deploying with AWS CDK. Introduction Environment Nesting Stacks in CDK Problem: Stacks Cannot Be Simply Nested Solution: Use NestedStack Conclusion References Introduction When I tried to nest…

Essential AWS CDK Commands

This article summarizes the basic commands frequently used in AWS CDK. Introduction Environment CDK Commands Summary Check CDK Version Install CDK Create CDK Project Preparation Before Running CDK Commands List CDK Stacks Generate CloudFor…

Deleting All Existing Objects in Blender Python

This is a quick reference guide on how to delete all objects in a scene using Blender Python. Introduction Deleting All Existing Objects in Blender Python Conclusion References Introduction When working with Blender Python through trial an…

Dynamically Configuring Terraform Backend Settings

This guide explains how to dynamically configure backend settings for storing Terraform state files. Introduction How to Dynamically Configure the Terraform Backend Conclusion References Introduction I encountered a use case where I needed…

Getting AWS Region in Terraform

A quick reference for how to get the AWS region in Terraform. Introduction Getting AWS Region in Terraform How to do it Bonus: Reading the Terraform Source Code Conclusion References Introduction When working with AWS resources in Terrafor…

Getting AWS Account ID in Terraform

This is a brief guide on how to retrieve the current AWS account ID in Terraform. Introduction Getting AWS Account ID in Terraform How to Do It Bonus: Reading the Terraform Source Code Conclusion References Introduction When writing Terraf…

How to Install Lua Scripts/Add-ons in Aseprite

A quick guide on how to install Lua scripts/add-ons in Aseprite. Introduction How to Install Scripts in Aseprite 1. Open the Scripts Folder 2. Place the Lua Script in the Scripts Folder 3. Rescan the Scripts Folder Conclusion References In…

How to Change Animation Frame Rate in Aseprite

A quick note on how to change animation frame rates in Aseprite. Introduction Changing Animation Frame Rate in Aseprite Changing All Frames at Once Changing Selected Frames Conclusion References Introduction I often forget how to change an…

Paid vs. Open Source Aseprite: The Difference

This article summarizes the differences between the paid version of Aseprite and the open source version. Introduction Note: Technically Not "OSS" Differences Between Paid Aseprite and Free Open Source Aseprite Conclusion References Introd…

Running Stable Diffusion on M2 Mac | Stable Diffusion web UI

I'll install Stable Diffusion web UI on my M2 Mac and get it up and running. Introduction Running Stable Diffusion web UI on M2 Mac 1. Installing Required Libraries 2. Clone the Stable Diffusion web UI Source Code 3. Place the Stable Diffu…

Where Are Font Files Located on macOS

A quick note on where font files are stored on Mac. Introduction Font File Locations on macOS Conclusion References Introduction I couldn't find where font files are located on macOS, so I'll briefly research and summarize the information.…

Making M2 MacBook Sleep When Closed : Disabling Clamshell Mode

This is a note on how to disable clamshell mode on M2 MacBook. Introduction How to Disable Clamshell Mode Using noclamshell Appendix: Understanding How noclamshell Works Appendix: Uninstalling noclamshell Conclusion References Introduction…

Flipping Selected Areas in Aseprite

I often forget how to do, so here's a note for future reference. Introduction Flipping a Selected Area Note: Flipping the Entire Canvas Conclusion References Introduction Flipping selected areas is one of the commonly used convenient featu…