Ersilia presently has two commands ersilia example, and ersilia sample, which perform overlapping functionality.
ersilia sample generates permutations of models and model example inputs, ie it randomly selects a few models from the hub, and generates their example inputs.
ersilia example generates example inputs for any given model id, or it infers the model id from the presently active model session.
The example command can be extended with a sample_models flag to sample a given number of models, and then generate a given number of example inputs for those models.
Objective(s)
[ ] De-register the sample command here and here, and remove its source file.
[ ] Add a flag --sample_models to the example command and implement this functionality if the flag is set by way of using the ModelSampler class as in the implementation of the sample command.
Summary
Refer to batch: https://github.com/ersilia-os/ersilia/issues/1262
Ersilia presently has two commands
ersilia example
, andersilia sample
, which perform overlapping functionality.ersilia sample
generates permutations of models and model example inputs, ie it randomly selects a few models from the hub, and generates their example inputs.ersilia example
generates example inputs for any given model id, or it infers the model id from the presently active model session.The example command can be extended with a
sample_models
flag to sample a given number of models, and then generate a given number of example inputs for those models.Objective(s)
sample
command here and here, and remove its source file.--sample_models
to the example command and implement this functionality if the flag is set by way of using theModelSampler
class as in the implementation of thesample
command.Documentation
No response