If you can issue the model successfully, you can restore your model database from a backup with load database.
If you cannot use the database:
Follow the instructions for “Restoring the generic model database”.
If you have changed the size of model, reissue alter database.
Load the backup with load database.