streamlit transformers typing datasets soundfile torch pillow accelerate sentencepiece