transformers scipy torch numpy