sakuranew / attention-pytorch
pytorch实现的基于attention is all your need提出的Q,K,V的attention模板和派生的attention实现。
☆21Updated 4 years ago
Related projects ⓘ
Alternatives and complementary repositories for attention-pytorch
- BiLSTM 加普通Attention中文文本多分类Pytorch实现☆32Updated 3 years ago
- Text classification examples☆24Updated 2 years ago
- Pytorch Implementation of Attention-Based BiLSTM for Relation Extraction ("Attention-Based Bidirectional Long Short-Term Memory Networks …☆43Updated 3 months ago
- some basic deep learning models/method for nlp, text classification.☆81Updated 4 years ago
- 在sts数据集上用多头注意力机制上进行测试。 pytorch torchtext 代码简练,非常适合新手了解多头注意力机制的运作。不想transformer牵扯很多层 multi-head attention + one layer linear☆14Updated 3 weeks ago
- 电商评论情感分类☆15Updated 4 years ago
- 文本分类, 双向lstm + attention 算法☆86Updated 4 years ago
- 主要是实现nlp常用网络以及结果比较,各模型的优劣势,如:FastText,TextCNN,TextRNN,TextRCNN,BiLSTM,Seq2seq,BERT,Transformer,ELMo以及Attention机制等等。☆43Updated 5 years ago
- Industry chain data test:Sentence classify Bi-GRU-att☆21Updated 6 years ago
- MixText: Linguistically-Informed Interpolation of Hidden Space for Semi-Supervised Text Classification☆23Updated 4 years ago
- Named Entity Recognition implemented by PyTorch including BiLSTM and BiLSCTM+CRF☆13Updated 4 years ago
- ☆167Updated 5 years ago
- LSTM三分类问题☆10Updated 6 years ago
- Constructed a structured heterogeneous text corpus graph to transform text classification problem into a node classification problem. Cr…☆14Updated 5 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆44Updated 5 years ago
- Codes and Datasets for our EMNLP 2021 (main conference) Long Paper titled "PASTE: A Tagging-Free Decoding Framework Using Pointer Network…☆16Updated 3 years ago
- Relation Classification via Convolutional Deep Neural Network☆13Updated 6 years ago
- ☆29Updated 4 years ago
- bilstm + selfattention core code (tensorflow 1.12.1 / pytorch 1.1.0) is implemented according to paper “A STRUCTURED SELF-ATTENTIVE SENTE…☆21Updated 4 years ago
- Transfer learning for text classification with recurrent neural network(lstm)☆16Updated 6 years ago
- 利用keras搭建的胶囊网络(capsule network文本分类模型,包含RNN、CNN、HAN等,其中keras_utils包含了capsule层和attention层的keras实现☆77Updated 6 years ago
- Official implementation of AAAI-21 paper "Label Confusion Learning to Enhance Text Classification Models"☆113Updated 2 years ago
- Exploration of BERT-BiLSTM models with Layer Aggregation (attention-based and capsule-routing-based) and Hidden-State Aggregation (attent…☆25Updated 4 years ago
- ☆20Updated 6 years ago
- Transformer/Transformer-XL/R-Transformer examples and explanations☆26Updated 2 years ago
- ☆57Updated 4 years ago
- 图网络和少样本学习在自然语言理解领域的前沿综述。本文旨在探索自然语言理解领域中(主要探索了命名实体识别,关系抽取)一些深度学习前沿的应用(主要探索了结合图神经网络和少样本学习场景的方法)共计15篇顶会论文(EMNLP,AAAI,ACL,COLING)。☆18Updated 3 years ago
- 使用分层注意力机制 HAN + 多任务学习 解决 AI Challenger 细粒度用户评论情感分析 。https://challenger.ai/competition/fsauor2018☆57Updated 5 years ago
- Named Entity Recognition for Chinese Drug Instructions☆15Updated 3 years ago