Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add labels to Model Repository #49

Open
nee1k opened this issue Feb 25, 2025 · 1 comment
Open

Add labels to Model Repository #49

nee1k opened this issue Feb 25, 2025 · 1 comment

Comments

@nee1k
Copy link
Collaborator

nee1k commented Feb 25, 2025

Updated AIModel() parameters

ai_model = AIModel(
  name="UCI Adult Random Forest model",
  version="0.1",
  description="Census classification problem using Random Forest",
  owner="Sachith Withana",
  location="https://github.iu.edu/swithana/mcwork/randomforest/adult_model.pkl",
  license="BSD-3 Clause",
  framework="sklearn",
  model_type="random_forest",
  test_accuracy=accuracy,
  label="<huggingface_url>/labels.txt"
)
@nee1k
Copy link
Collaborator Author

nee1k commented Feb 28, 2025

If local path of label is given, the file will be uploaded to the model repository and the url will be updated in the ModelCard.

If the label is an external URL, it will be updated directly in the ModelCard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant