Skip to content

stmonty/macroexpand-2025

Repository files navigation

macroexpand-2025

This repo is a reproduction of Jianling's C++ port of Andrej Karpathy's phenomenal nanoGPT using jank's seamless C++ interop.

Build Instructions

You will need some Python dependencies for the data.

  • requests
  • numpy

Then run:

python data/shakespeare_char/prepare.py

To get the data for training.

Note:

  1. Install instructions for libtorch can be found here.
  2. Update the LIBTORCH_INSTALL_DIR variable in the Makefile to point to the libtorch installation directory.

Test the setup

make test-setup

Running

make run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published