Code for Findings of ACL 2022 Paper "Sentiment Word Aware Multimodal Refinement for Multimodal Sentiment Analysis with ASR Errors"

Overview

SWRM

Code for Findings of ACL 2022 Paper "Sentiment Word Aware Multimodal Refinement for Multimodal Sentiment Analysis with ASR Errors"

Clone

Clone this repo and install requirements.

git clone https://github.com/albertwy/SWRM.git
# python3.8
pip install -r requirements.txt

Dataset

Download dataset files and put them in the dataset directory

Download pre-trained BERT models(provided by MMSA Project)and specify the dir name in the Code(models/subNets/Bert*.py)

Run

python run.py --modelName *** --expSetting ***

Paper

Sentiment Word Aware Multimodal Refinement for Multimodal Sentiment Analysis with ASR Errors

Acknowledgments

You might also like...
Code for ACL 2022 main conference paper "STEMM: Self-learning with Speech-text Manifold Mixup for Speech Translation".

STEMM: Self-learning with Speech-Text Manifold Mixup for Speech Translation This is a PyTorch implementation for the ACL 2022 main conference paper ST

Implementaion of our ACL 2022 paper Bridging the Data Gap between Training and Inference for Unsupervised Neural Machine Translation

Bridging the Data Gap between Training and Inference for Unsupervised Neural Machine Translation This is the implementaion of our paper: Bridging the

Code for the paper in Findings of EMNLP 2021: "EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillation".

This repository contains the code for the paper in Findings of EMNLP 2021: "EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillation".

Code for Findings at EMNLP 2021 paper: "Learn Continually, Generalize Rapidly: Lifelong Knowledge Accumulation for Few-shot Learning"

Learn Continually, Generalize Rapidly: Lifelong Knowledge Accumulation for Few-shot Learning This repo is for Findings at EMNLP 2021 paper: Learn Cont

Code for
Code for "Parallel Instance Query Network for Named Entity Recognition", accepted at ACL 2022.

README Code for Two-stage Identifier: "Parallel Instance Query Network for Named Entity Recognition", accepted at ACL 2022. For details of the model a

Entity Disambiguation as text extraction (ACL 2022)
Entity Disambiguation as text extraction (ACL 2022)

ExtEnD: Extractive Entity Disambiguation This repository contains the code of ExtEnD: Extractive Entity Disambiguation, a novel approach to Entity Dis

Code for ACL 2021 main conference paper
Code for ACL 2021 main conference paper "Conversations are not Flat: Modeling the Intrinsic Information Flow between Dialogue Utterances".

Conversations are not Flat: Modeling the Intrinsic Information Flow between Dialogue Utterances This repository contains the code and pre-trained mode

Code for our paper
Code for our paper "Mask-Align: Self-Supervised Neural Word Alignment" in ACL 2021

Mask-Align: Self-Supervised Neural Word Alignment This is the implementation of our work Mask-Align: Self-Supervised Neural Word Alignment. @inproceed

Code for our ACL 2021 paper - ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfer

ConSERT Code for our ACL 2021 paper - ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfer Requirements torch==1.6.0

Comments
  • Can I ask what this means?

    Can I ask what this means?

    When I run run.py like python run.py --modelName swrm --expSetting gold_asr_train, result like this : image I want to know what this corresponds to that part of your paper, what does it mean? and what is its output mean? Could you tell me, Please?

    opened by YUZHIWANG-bug 3
  • TypeError: 'bool' object is not callable

    TypeError: 'bool' object is not callable

    作者您好! 按照您那上面的步骤,运行后出现这样的报错TypeError: 'bool' object is not callable File "G:\NLP训练\SSSSSSSS\SWRM-main\trains\singleTask\SWRM.py", line 145, in do_train for batch_data in td: image 经排查后是这块代码 image 希望得到您的回复!

    opened by huangju1 2
  • CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)

    CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)

    Dear Authors,

    • I put the datasets and pretraining BERT files in accordance with the corresponding path according to Readme, and then run the run.py, however i got 'CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)' error in ' File "/SWRM/models/subNets/BertTextEncoder.py", line 56, in forward last_hidden_states = self.model(input_ids=input_ids,'.
    • The specific location is as follows: /pytorch/aten/src/ATen/native/cuda/Indexing.cu:662: indexSelectLargeIndex: block: [633,0,0], thread: [64,0,0] Assertion srcIndex < srcSelectDimSize failed. File "/SWRM/models/singleTask/SWRM.py", line 81, in forward last_seq_hiddens = self.gate_network(text) File "/SWRM/models/subNets/BertTextEncoder.py", line 56, in forward last_hidden_states = self.model(input_ids=input_ids,
    • Since I run it with single GPU, I try to reduce mlm_bz, but the problem has not changed.(batchsize in BertTextEncoder is 16, I don't know how to modify the batchsize here)
    • When turning to the CPU-only machine, there were similar errors. ‘IndexError: index out of range in self’ So, someone else can talk me why?
    opened by 257556227 2
Owner
null
PyTorch Implementation of "Bridging Pre-trained Language Models and Hand-crafted Features for Unsupervised POS Tagging" (Findings of ACL 2022)

Feature_CRF_AE Feature_CRF_AE provides a implementation of Bridging Pre-trained Language Models and Hand-crafted Features for Unsupervised POS Tagging

Jacob Zhou 6 Apr 29, 2022
Code for our ACL 2021 (Findings) Paper - Fingerprinting Fine-tuned Language Models in the wild .

?? Fingerprinting Fine-tuned Language Models in the wild This is the code and dataset for our ACL 2021 (Findings) Paper - Fingerprinting Fine-tuned La

LCS2-IIITDelhi 5 Sep 13, 2022
null 189 Jan 2, 2023
A PyTorch implementation of paper "Learning Shared Semantic Space for Speech-to-Text Translation", ACL (Findings) 2021

Chimera: Learning Shared Semantic Space for Speech-to-Text Translation This is a Pytorch implementation for the "Chimera" paper Learning Shared Semant

Chi Han 43 Dec 28, 2022
A PyTorch implementation of paper "Learning Shared Semantic Space for Speech-to-Text Translation", ACL (Findings) 2021

Chimera: Learning Shared Semantic Space for Speech-to-Text Translation This is a Pytorch implementation for the "Chimera" paper Learning Shared Semant

Chi Han 43 Dec 28, 2022
Findings of ACL 2021

Assessing Dialogue Systems with Distribution Distances [arXiv][code] We propose to measure the performance of a dialogue system by computing the distr

Yahui Liu 16 Feb 24, 2022
LV-BERT: Exploiting Layer Variety for BERT (Findings of ACL 2021)

LV-BERT Introduction In this repo, we introduce LV-BERT by exploiting layer variety for BERT. For detailed description and experimental results, pleas

Weihao Yu 14 Aug 24, 2022
Code for the Findings of NAACL 2022(Long Paper): AdapterBias: Parameter-efficient Token-dependent Representation Shift for Adapters in NLP Tasks

AdapterBias: Parameter-efficient Token-dependent Representation Shift for Adapters in NLP Tasks arXiv link: upcoming To be published in Findings of NA

Allen 16 Nov 12, 2022
Hostapd-mac-tod-acl - Setup a hostapd AP with MAC ToD ACL

A brief explanation This script provides a quick way to setup a Time-of-day (Tod

null 2 Feb 3, 2022
(ACL 2022) The source code for the paper "Towards Abstractive Grounded Summarization of Podcast Transcripts"

Towards Abstractive Grounded Summarization of Podcast Transcripts We provide the source code for the paper "Towards Abstractive Grounded Summarization

null 10 Jul 1, 2022