torch scipy numpy transformers