# karpathy/llama2.c

<https://repo.masters-masters.com/en/repos/karpathy/llama2.c>

[Home](https://repo.masters-masters.com/en) › [karpathy](https://repo.masters-masters.com/en/owners/karpathy) › [llama2.c](https://repo.masters-masters.com/en/repos/karpathy/llama2.c)

karpathy/llama2.c has 20,251 stars on GitHub. Its RepoMasters card: LTS tier. Inference Llama 2 in one file of pure C Language: C.

| Field | Value |
| --- | --- |
| Owner | [karpathy](https://repo.masters-masters.com/en/owners/karpathy) |
| Stars | 20,251 |
| Forks | 2,665 |
| Language | [C](https://repo.masters-masters.com/en/languages/c) |
| License | MIT |
| Created | 2023 |
| Tier | [LTS (20,000 ★ and up)](https://repo.masters-masters.com/en/ranks/masterpiece) |
| View on GitHub | [karpathy/llama2.c](https://github.com/karpathy/llama2.c) |

## Repository

Inference Llama 2 in one file of pure C

The tier for repos with 20,000 ★ and up. Published odds per card pulled: 0.1%. Rarity: Legendary.

## More repos by karpathy

- [karpathy/autoresearch · ★ 99,200 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/autoresearch)
- [karpathy/nanoGPT · ★ 64,440 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/nanoGPT)
- [karpathy/nanochat · ★ 60,219 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/nanochat)
- [karpathy/LLM101n · ★ 37,481 · LTS](https://repo.masters-masters.com/en/repos/karpathy/LLM101n)
- [karpathy/llm.c · ★ 31,385 · Cuda · LTS](https://repo.masters-masters.com/en/repos/karpathy/llm.c)
- [karpathy/llm-council · ★ 26,200 · Python · LTS](https://repo.masters-masters.com/en/repos/karpathy/llm-council)

## Nearby in C

- [qmk/qmk\_firmware · ★ 20,794 · C · LTS](https://repo.masters-masters.com/en/repos/qmk/qmk_firmware)
- [ish-app/ish · ★ 20,663 · C · LTS](https://repo.masters-masters.com/en/repos/ish-app/ish)
- [videolan/vlc · ★ 20,312 · C · LTS](https://repo.masters-masters.com/en/repos/videolan/vlc)
- [Awesome-HarmonyOS/HarmonyOS · ★ 20,014 · C · LTS](https://repo.masters-masters.com/en/repos/Awesome-HarmonyOS/HarmonyOS)
- [ExistentialAudio/BlackHole · ★ 20,004 · C · LTS](https://repo.masters-masters.com/en/repos/ExistentialAudio/BlackHole)
- [brunodev85/winlator · ★ 19,806 · C · Stable](https://repo.masters-masters.com/en/repos/brunodev85/winlator)

---
Data: GitHub · Illustration drawn by RepoMasters from the repo’s ID and its language color.
