streamlit torch torchvision numpy pandas Pillow transformers peft accelerate scikit-learn img2vec-pytorch