karpathy/nanoGPT architecture & AST dependency graph: 19 files, 10,111 tokens, maintainability score 100/100, and avg complexity 3.0.
Repository metrics for karpathy/nanoGPT: 19 analyzed files, 1,487 lines of code, 10,111 language tokens, maintainability score 100/100, average cyclomatic complexity 3.0.
model.py — Complexity: 43, LOC: 330train.py — Complexity: 10, LOC: 336data/shakespeare_char/prepare.py — Complexity: 2, LOC: 68bench.py — Complexity: 1, LOC: 117data/openwebtext/prepare.py — Complexity: 1, LOC: 81External Dependencies: datasets, numpy, requests, tiktoken, torch, tqdm, transformers, wandb