transformers torchvision accelerate sentencepiece pillow numpy