Skip to content

Instantly share code, notes, and snippets.

View nullbio's full-sized avatar
🏠
Working from home

Patrick O'Brien nullbio

🏠
Working from home
View GitHub Profile
"""
Dynamic NanoGPT Adder: 130 params + 0 buffers
transformer.wte.A [10, 1] = 10
transformer.wte.B [1, 4] = 4
transformer.h.0.attn.c_attn.weight [12, 4] = 48
transformer.h.0.attn.c_proj.weight [4, 4] = 16
transformer.h.0.mlp.c_fc.weight [4, 4] = 16
transformer.h.0.mlp.c_fc.bias [4] = 4
transformer.h.0.mlp.c_proj.u [4, 1] = 4
set $mod Mod1
##############################################################################
# tiling & workspace #
##############################################################################
floating_modifier $mod
# change focus
bindsym $mod+h focus left
@nullbio
nullbio / go upgrade
Last active September 13, 2016 04:41
function install-go --argument v
if test -z $v
echo "Must supply a version"
return 1
end
if not wget https://storage.googleapis.com/golang/go{$v}.linux-amd64.tar.gz
echo "Failed to download"
return 1
end