1
2
3
4
apply_token_matches
apply_text_matches

TypeError: can't convert npu:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.