the inference code is usable on cpu and gpu, but training code requires 2 gpus for running , one for the actual training and the other for the evaluation , You can modify it to run on one gpu (training only) or to run the evaluation on a part of the cpu (i may do that in the future).
the model is already pretrained on wiki-2 dataset which is included in this repo. the model is small (6.9M parameters) and the training data extracted from the dataset is even smaller (5M+ tokens) so the model doesnt have knowledge for meaning but he can generate good english text and text pattern and will always generate wiki style text.