def __init__(
        self,
        model_folder,
        filename_prefix,
        pretrained_emb,
        cuda=False,
        rnn_type="GRU",
    ):
        """ Initialize params.

        Args:
            model_folder(str): Folder where the model resides.
            filename_prefix(str): Prefix for the model file.
            pretrained_emb(torch.Tensor): Pretrained Embedding vector.
            cuda(bool): Use Cuda or not.
            rnn_type(str): Type of RNN.
        """

        super(GenSenSingle, self).__init__()
        self.model_folder = model_folder
        self.filename_prefix = filename_prefix
        self.pretrained_emb = pretrained_emb
        self.cuda = cuda
        self.rnn_type = rnn_type
        self._load_params()
        self.vocab_expanded = False
 Initialize params.

        Args:
            model_folder(str): Folder where the model resides.
            filename_prefix(str): Prefix for the model file.
            pretrained_emb(torch.Tensor): Pretrained Embedding vector.
            cuda(bool): Use Cuda or not.
            rnn_type(str): Type of RNN.
        
utils_nlp/models/gensen/gensen.py