pre-existing example at https://github.com/ggerganov/llama.cpp/blob/b24c3049d96557c24782e4d32feaae65f47277af/examples/train-text-from-scratch/train-text-from-scratch.cpp#L3041 looks like most setup code still manually inlined for dev tweaking