Skip to content

Instantly share code, notes, and snippets.

View BangBOOM's full-sized avatar
🎯
Focusing

Arik BangBOOM

🎯
Focusing
View GitHub Profile
# this file contains a Julia port of https://github.com/karpathy/llama2.c
# all credit goes to Andrej Karpathy (author of llama2.c)
using LinearAlgebra
using StatsBase
using Printf
# Transformer and RunState structs, and related memory management
struct Config