Itβs time for my weekly diary.
-= LeetCode =-
This week, I completed 13 tasks:
- 188. Best Time to Buy and Sell Stock IV π TypeScript
- 189. Rotate Array π TypeScript
- 190. Reverse Bits π TypeScript
- 191. Number of 1 Bits π TypeScript
- 192. Word Frequency π§ BASH
- 193. Valid Phone Numbers π§ BASH
- 194. Transpose File π§ BASH
- 195. Tenth Line π§ BASH
- 196. Delete Duplicate Emails π° SQL
- 197. Rising Temperature π° SQL
- 198. House Robber π TypeScript
- 199. Binary Tree Right Side View π TypeScript
- 200. Number of Islands π TypeScript
It turns out that there are tasks on LeetCode that need to be solved using the BASH programming language π§ This was a surprise for me.
-= AI =-
Iβm continuing to generate various things for myself, but I don’t post them anywhere. Some time ago, I learned about “quants” for AI models. That is, it isn’t necessary to use the original version of the model. If you look for them online, you can find different versions compiled with a specific number of bits:
- fp16, fp8
- Q8, Q6, Q4, Q3, Q2
The number indicates the bit count, and many models can be used in the Q4 version with almost no loss in quality; this version is half the size of fp8 and four times smaller than fp16 π The only downside is that you have to search for these versions on “file dumps” like Huggingface and CivitAI, hoping that some kind user has compiled and uploaded the desired build in the requested format. From my experience, for the best quality, it’s better to get a powerful Q4 model than a weak one in Q8 or fp16. However, at levels Q3 and below, artifacts and hallucinations begin to appear π₯΅
-= Goals for January =-
- Reach problem number 200 on LeetCode, at least β Done
- Write a new feature for my personal website: π Text search for all posts β To do
- Sort out all my cloud files and their backups β To do