transformers sentencepiece torch numpy