model_info function

Get information about a model