We consider pre-trained models to be intermediate results. All runs on Code Ocean start from a clean slate (i.e. intermediate results are discarded) so you'd have to train your model every time before testing it.
If training is relatively short (up to an hour), include it as part of the run and save the pre-trained model to /results
for people to download. Otherwise, we recommend you make training optional and upload your pre-trained models to /data
.