numpy torch spacy scikit-learn transformers streamlit sentencepiece