    def add_args(parser):
        """Add model-specific arguments to the parser."""
        MultilingualTransformerModel.add_args(parser)
        parser.add_argument(
            '--soft-select',
            action='store_true',
            help='use soft samples in training an inference',
        )
        parser.add_argument(
            '--sampling-tau',
            type=float,
            default=5.,
            help='sampling temperature',
        )
Add model-specific arguments to the parser.
examples/latent_depth/latent_depth_src/models/latent_multilingual_transformer.py