torch transformers matplotlib pillow