how can I train a model on a bunch of pdf's and run it locally?
You can even fine tune on a free Google Colab GPU.
Start here: https://github.com/lxe/simple-llama-finetuner
There are also one-click finetuning projects which run on free Google Colab GPUs like https://github.com/lxe/simple-llama-finetuner
It's easy and not complex at all.