[card] current.card.copy
[exploratory]
#2337
Open
+196
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Usecases
Assume that a user has trained a model in
train
@step and was using that trained model in thetest
@step. Thetrain
step produced a card that was relevant to the model being used in thetest
step. Now when user visits the MF gui to see thetest
step cards, there are no cards for the model. If the user wishes to see the card for the model, then the user has the re-create the model card in thetest
step or go to thetrain
task and see the model.Assume that the user is training many models in a foreach, the join step chooses the best model. The foreach ended up creating many different model cards. But if the user wishes to see the card for the best step, then they have to find the task on the MF gui corresponding to the the best model
Potential ways of tackling the usecase.
current changes
cli command to copy cards from other tasks
Exposing the interface in
current.card
so that cards can be copied over during runtime. This also allows users the flexibility to select which cards to copy during runtime.useful for the cases when users need to showcase the model card in downstream steps without having to re-render the card everytime.
Example flow: