Pytorch is a machine-learning library developed by Meta and is based on the Torch library.

You can use this library on your Raspberry Pi for natural language processing and computer vision.

Best of all, you can get decent performance from PyTorch with the Raspberry Pi, especially if you are using newer releases such as the Pi 4.

https://pimylifeup.com/raspberry-pi-pytorch/