numpy scipy torch transformers