This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
Replies: 2 comments
-
I love the idea! Makes the API very clean and straight forward. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So far we've implemented load, save, and render functions/methods. import model_card_toolkit as mct
# load the model card
model_card = mct.load_model_card('model_cards/cats_vs_dogs.json')
# render the document for visual inspection
model_card_html = model_card.render()
# make some changes and save the updated model card
model_card.model_details.name = 'Updated Fine-tuned MobileNetV2 Model for Cats vs. Dogs'
model_card.save('model_cards/updated_cats_vs_dogs.json') Other methods still need to be planned and implemented. These are up for grabs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current process for annotating a model card without using the toolkit is to initialize an empty model card and manually assign values to each field. Sometimes this requires instantiating new lists and fields, and it's quite verbose.
Example from the standalone tutorial:
We can improve the process by adding methods to initialize, annotate, and save model cards, similarly to skops by
@adrinjalali
and model_card_creator by@paul-crease-ms
.Beta Was this translation helpful? Give feedback.
All reactions