This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |