Bert-Chinese-Text-Classification-Pytorch icon indicating copy to clipboard operation
Bert-Chinese-Text-Classification-Pytorch copied to clipboard

有没有bert + bilstm的方法呢?该怎么实现这个方法

Open LoVei-L opened this issue 11 months ago • 1 comments

LoVei-L avatar Dec 24 '24 11:12 LoVei-L

bert_RNN好像就是实现的biLSTM self.lstm = nn.LSTM(config.hidden_size, config.rnn_hidden, config.num_layers, bidirectional=True, batch_first=True, dropout=config.dropout)

XiaoyuanMax avatar Jan 19 '25 11:01 XiaoyuanMax