alt-text

Posts

What's the Difference LLM Roles: System, User, and Assistant?

Understanding the different roles used in LLM APIs is critical to a successful prompt.

What is Tokenization and How is it used in AI?

An overview of tokens and tokenization, including tradeoffs of common tokenization techniques.

Django-Taggit in the Django REST Framework

Short tutorial on working with Tags in Django using Django-Taggit.

Adding new Models to the Django Admin site

Learn the changes needed to make newly created models available in the Django admin site.

What is One-Hot Encoding?

One hot encoding is a common approach used to convert categorical data into a format ML models can understand.

Resizing Images in Python with Pillow

Pillow enables great flexibility when resizing image. In this post we discuss various ways to do this.

Difference Between concat(), vstack(), and extend() in Polars

Learn the difference between concat(), vstack(), and extend() in Polars.

Simple Date Picker in Django Forms (No Javascipt)

An easy built-in way to create a date picker in Django without Javascript!

What does GPT in ChatGPT Mean?

What is the meaning of GPT? How is it related to other GPTs found in the ChatGPT UI?

Getting DataFrame Size in Polars (Python)

An easy way to get the size of a DataFrame in Polars.