diff --git a/bytelatent/model/local_models.py b/bytelatent/model/local_models.py index 59fa76d..c16f62e 100644 --- a/bytelatent/model/local_models.py +++ b/bytelatent/model/local_models.py @@ -199,9 +199,6 @@ class LocalModelBase(nn.Module): class LocalEncoder(LocalModelBase): def __init__(self, args: LocalModelArgs): super().__init__(args) - self.output_proj = ( - args.patching_mode in ["entropy", "probmax"] - ) and args.entropy_model_checkpoint_dir is None self.apply_transformer = args.use_local_encoder_transformer self.downsampling_by_pooling = args.downsampling_by_pooling