callmephilip

Recent content on callmephilip
https://callmephilip.com/ (RSS)
visit blog
Adding rich text editor to your HTMX project
11 Nov 2024 | original ↗

How much extra javascript do you need to wire a reasonably ambitious and feature full rich text editor in your HTMX based app? Let’s find out. Some context: The very first build of tinychat shipped with a plain text editor. tinychat uses HTMX to get the SPA feel going. Last week I added integration with CK Editor 5. Here is what it looks like:...

Run Pytorch in Docker With Cuda Without Pulling Your Hair Out
21 Oct 2023 | original ↗

This week I’ve been working on containerizing some Pytorch based software. Below are some notes on how to make this process more pleasant and relaxing by avoiding a few pitfalls. I used Paperspace Machines, specifically their ML-in-a-Box which is an Ubuntu 20.04 based image that ships with Docker, CUDA and NVidia Docker already installed. Let me...

[Notes] A Hackers Guide to LLMs
29 Sept 2023 | original ↗

Notes for A Hackers’ Guide to Language Models video by Jeremy Howard companion notebook language models predict next tokens based on the input token can either be a whole word or part of a word/puctuation/number example of using OpenAI’s tokenizer from tiktoken import encoding_for_model enc = encoding_for_model("text-davinci-003") toks =...

Computer Lib Dream Machines
15 Sept 2023 | original ↗

Ted Nelson documented his efforts to create a computer network with a simple user interface via Project Xanadu in 1974-1975. book The Pledge The purpose of computers is human freedom. I am going to help make people free through computers. I will not help the computer priesthood confuse and bully the public. I will endeavor to explain patiently...

How Smol AI Developer Works
6 Sept 2023 | original ↗

Smol AI/developer is an open source code generation tool by mighty swyx that got a lot of people excited. You can see some demos of its usage here and here. In this post we’ll take a look under the hood to see how it works. After reading this you should be able to recreate something similar potentially better tailored to your needs and your...

Hello World
31 Aug 2023 | original ↗

Hello, world First post to test new setup

↑ these items are from RSS. Visit the blog itself at https://callmephilip.com/ to find other articles and to appreciate the author's digital home.