honestly at this point this is a lot more my nanogpt code than llama … · karpathy/llama2.c@f565089

· GitHub

1 min read Original article ↗
Original file line numberDiff line numberDiff line change

@@ -1,6 +1,3 @@

1-

# Copyright (c) Meta Platforms, Inc. and affiliates.

2-

# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.

3-
41

import math

52

import struct

63

import inspect