torch transformers sentencepiece gradio pypdf python-docx