As far as I know there isn’t a native Dataset.from_numpy
method, but you could map your array to a Python dictionary and use the from_dict
method: Loading a Dataset — datasets 1.5.0 documentation
2 Likes