issues
search
karpathy
/
build-nanogpt
Video+code lecture on building nanoGPT from scratch
3.44k
stars
473
forks
source link
Run the script on MacOS
#59
Open
amjadmajid
opened
2 months ago
amjadmajid
commented
2 months ago
Enable running the code on MacOS by protecting the entry point with
if __name__ == "__main__":
.
Initialize a tokenizer for each processing worker.
enable multiprocessing for data download.
if __name__ == "__main__":
.