Skip to content

Instantly share code, notes, and snippets.

View anguyen8's full-sized avatar

Anh (Totti) Nguyen anguyen8

View GitHub Profile
@veekaybee
veekaybee / normcore-llm.md
Last active November 18, 2024 19:40
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@chirag-agarwall
chirag-agarwall / imagenet_validation_class_id_net_id_mapper
Created May 3, 2020 23:56
A python loader for mapping ImageNet validation image to their respective class id's and net id's
def image_name_to_netid():
# Map imagenet names to their netids
input_f = open("./imagenet_validation_imagename_labels.txt")
label_map = {}
netid_map = {}
for line in input_f:
parts = line.strip().split(" ")
label_map[parts[0]] = parts[1]
netid_map[parts[0]] = parts[2]
return label_map, netid_map
#!/bin/bash
# Anh Nguyen <[email protected]>
# 2016-04-30
# MIT License
# This script takes in same-size images from a folder and make a crossfade video from the images using ffmpeg.
# Make sure you have ffmpeg installed before running.
# The output command looks something like the below, but for as many images as you have in the folder.
@ericdouglas
ericdouglas / super-tip.txt
Last active October 6, 2024 18:28
Change 4 spaces to 2 spaces indentation and change tab to spaces - Vim tip
// 4 spaces to 2 spaces
%s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g
// Tab to 2 spaces
:%s/\t/ /g
@elranu
elranu / mongodb_db.js
Created December 14, 2011 20:02
ueberDB support for monogDB - etherpad-lite
/**
* Mariano Julio Vicario aka Ranu - TW: @el_ranu
* http://www.ranu.com.ar
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software