Run the following command:
import frogml
repository = "<REPO_NAME>"
name = "<MODEL_NAME>"
version = "<MODEL_VERSION>"
model_information = frogml.<FORMAT>.get_model_info(
repository=repository,
model_name=name,
version=version,
)
Where:
<REPO_NAME>: The name of the repository where the model is located<MODEL_NAME>: The unique name of the model<MODEL_VERSION>: The target version of the model<FORMAT>: The format of the model, which must be one of the following values:catboostfileshuggingfaceonnxpytorchscikit_learn
For example:
import frogml repository = "ml-local" name = "sentiment-analyzer" version = "1.2.0" model_information = frogml.huggingface.get_model_info( repository=repository, model_name=name, version=version, )