lizhenping / multi-head-self-attentionLinks
在sts数据集上用多头注意力机制上进行测试。 pytorch torchtext 代码简练,非常适合新手了解多头注意力机制的运作。不想transformer牵扯很多层 multi-head attention + one layer linear
☆17Updated 8 months ago
Alternatives and similar repositories for multi-head-self-attention
Users that are interested in multi-head-self-attention are comparing it to the libraries listed below
Sorting:
- BiLSTM 加普通Attention中文文本多分类Pytorch实现☆33Updated 4 years ago
- 文本分类, 双向lstm + attention 算法☆90Updated 5 years ago
- Pytorch Bert+BiLstm二分类☆41Updated 3 years ago
- ☆275Updated 3 years ago
- 使用pytorch搭建textCNN实现中文文本分类☆130Updated 6 years ago
- Pytorch 文本分类温习练习,本项目主要针对短文本的简单分类,demo看看就好。这里用到的网络有:FastText、TextCNN、TextRNN、TextRCNN、Transformer☆16Updated 5 years ago
- 电商评论情感分类☆15Updated 4 years ago
- ☆167Updated 6 years ago
- 疫情期间网民情绪识别代码,包含lstm,bert,xlnet,robert,最高f1为0.725 部署在Google colab☆44Updated 5 years ago
- Official code release for CNLE: Co-attention network with label embedding for text classification. Neurocomputing 2022☆21Updated last year
- 疫情期间网民情绪识别比赛分享+top1~3解决方案☆50Updated 4 years ago
- Implementation of some unbalanced loss like focal_loss, dice_loss, DSC Loss, GHM Loss et.al☆265Updated 2 years ago
- A pytorch implementation of Capsule Network.☆98Updated 11 months ago
- 文本分类baseline:BERT、半监督学习UDA、对抗学习、数据增强☆102Updated 4 years ago
- Named Entity Recognition (NER) with different combinations of BiGRU, Self-Attention and CRF☆62Updated 4 years ago
- pytorch实现的基于attention is all your need提出的Q,K,V的attention模板和派生的attention实现。☆21Updated 5 years ago
- PyTorch使用BERT进行英语多标签文本分类☆34Updated 3 years ago
- ☆30Updated 5 years ago
- MixText: Linguistically-Informed Interpolation of Hidden Space for Semi-Supervised Text Classification☆23Updated 4 years ago
- The information of computer journal☆178Updated 2 years ago
- 集成各种神经网络进行情感分类,包括CNN、LSTM、Transformer以及BERT等网络模型☆72Updated 6 years ago
- NLP对抗训练,包括PGD、FGM、FGSM、FreeAT☆16Updated 3 years ago
- pytorch implementation of multi-label text classification, includes kinds of models and pretrained. Especially for Chinese preprocessing.☆76Updated 5 years ago
- Pytorch进行长文本分类。这里用到的网络有:FastText、TextCNN、TextRNN、TextRCNN、Transformer☆48Updated 5 years ago
- 利用bert预训练模型生成句向量或词向量☆27Updated 4 years ago
- 基于tensorflow的中文文本分类(复旦中文语料)☆20Updated 4 years ago
- Label-Representative Graph Convolutional Network for Multi-Label Text Classification☆18Updated 2 years ago
- 天池 新冠疫情相似句对判定大赛 top6方案☆76Updated 3 years ago
- 采用bert进行事件抽取,[cls]进行事件分类,最后一层向量进行序列标注,两个任务同时训练。☆13Updated 4 years ago
- My NLP☆17Updated 4 years ago