torch numpy scipy transformers