rok commented on issue #34370: URL: https://github.com/apache/arrow/issues/34370#issuecomment-1447023796
Hey @sl2902. You're probably hitting this issue: https://github.com/apache/arrow/issues/20213 - Arrow currently cannot cast from/to `float16` (`halffloat`). I am not sure if you could even read it from JSON. I'd suggest you read to `float32` and then find a way to cast it in hugging face/pytorch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
