• Stars
    star
    107
  • Rank 323,587 (Top 7 %)
  • Language
    Python
  • Created over 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Attention-based bidirectional LSTM for Classification Task (ICASSP)

LSTM with Attention by using Context Vector for Classification task

The implementation of Attention-Based LSTM for Psychological Stress Detection from Spoken Language Using Distant Supervision paper. The idea is to consider the importance of every word from the inputs and use it in the classification. Then the importance scores are normalized through the softmax layer. The weighted sum of the score and hidden states in every time-step is used for the classification.

If you are using the code or data in your work, please cite the following (ICASSP 2018 Proceeding)

@INPROCEEDINGS{8461990,
author={G. I. Winata and O. P. Kampman and P. Fung},
booktitle={2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
title={Attention-Based LSTM for Psychological Stress Detection from Spoken Language Using Distant Supervision},
year={2018},
volume={},
number={},
pages={6204-6208},
doi={10.1109/ICASSP.2018.8461990},
ISSN={2379-190X},
month={April},}

Data

Please find stress datasets in the data/ directory. The interview dataset is saved in the csv format and the tweet dataset are stored in the npy format.

Architecture

The architecture of the model is illustrated by the following

You can easily get the attention weights from the model and visualize them

More Repositories

1

end2end-asr-pytorch

End-to-End Automatic Speech Recognition on PyTorch
Python
293
star
2

code-switching-papers

A curated list of research papers and resources on code-switching
285
star
3

few-shot-lm

The source code of "Language Models are Few-shot Multilingual Learners" (MRL @ EMNLP 2021)
Python
52
star
4

ros-vrep-slam

ROS and V-REP for Robot Mapping and Localization
C++
43
star
5

indonesian-nlp

A curated list of research papers and resources on Indonesian languages
39
star
6

meta-emb

Multilingual Meta-Embeddings for Named Entity Recognition (RepL4NLP & EMNLP 2019)
Python
32
star
7

multi-task-cs-lm

Code-Switching Language Modeling using Syntax-Aware Multi-Task Learning (CALCS 2018, ACL)
Python
9
star
8

cnn-autoencoder-tf

CNN and Contrastive Autoencoder (CAE) on EMNIST using Tensorflow
Python
9
star
9

pmf

Probabilistic Matrix Factorization on MovieLens 100K
Python
9
star
10

matrix_fact

Matrix Factorization Library
Python
7
star
11

miners

MINERS ⛏️: The semantic retrieval benchmark for evaluating multilingual language models.
Python
7
star
12

gentaiscool.github.io

My website
JavaScript
7
star
13

scikit-learn-examples

Exploration on Logistic Regression, MLP, and SVM using Scikit-learn
Python
6
star
14

distfuse

A library to calculate similarity scores between two collections of text sequences encoded using transformer models for bitext mining, dense retrieval, retrieval-based classification, and retrieval-augmented generation (RAG).
Python
4
star
15

scatternet

Generating scatternet features
Python
3
star
16

cyk-parser

Cocke–Younger–Kasami Algorithm Parser
Java
1
star
17

tripsquare

Collaborative real-time travel app planner for HackUST 2017 transportation category
JavaScript
1
star
18

chicken-scheme

Permutation in Chicken Scheme
Scheme
1
star
19

nlp-id-progress

The latest progress on the NLP research for the Indonesian language
1
star
20

pokeranch-imba

Pokemon Game in Android
Java
1
star
21

multi-layer-perceptron

Implementation of multi-layer perceptron neural network
Java
1
star
22

xnli-dataset

Python
1
star
23

metametrics

Python
1
star