karpathy / minGPT

A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashed Encoder possible data corruption

DayneSorvisto opened this issue · comments

commented

Identified bare exception in Encoder that could cause unexpected behavior (example if SystemExit isn't raised)

Created PR with simple fix to add explicit exception handling for these lines.

#110