Huggingface_hub list_datasets call

The idea is that we have in huggingface_hub a ModelInfo object to describe a model. Depending on the use case, not all information is fetched from the server (especially listing all files from each repo when listing all repos). If an information is not fetched, is it set to None. Maybe not optimal but not sure we want to change this anytime soon. A solution to change this would be to have different classes ModelInfoXXX depending on the context but not sure it will be easier to use from a user perspective.

1 Like