masked_config function

Returns the configuration of a masked model