Skip to content
forked from swaggy66/MSMO

Multi-Scale and Multi-Objective Optimization for Cross-Lingual Aspect-Based Sentiment Analysis

Notifications You must be signed in to change notification settings

DengNingyuan/MSMO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSMO

This repo contains the data and code for our paper Multi-Scale and Multi-Objective Optimization for Cross-Lingual Aspect-Based Sentiment Analysis.

arXiv

Requirements

  • torch==1.3.1
  • numpy==1.19.4
  • transformers==3.4.0
  • sentencepiece==0.1.91
  • tokenizer==0.9.2
  • sacremoses==0.0.43

Quick Start

  • Download the data and place it in the data/ folder.
  • Download the pre-trained multilingual language model mBERT or XLM-R
  • To quickly reproduce the results you can run the following setting:
bash run_absa.sh 

Usage

To run experiments under different settings, change the exp_type setting:

  • supervised refers to the supervised setting
  • macs_kd: multilingual distillation

Citation

If the code is used in your research, please star our repo and cite our paper as follows:

@misc{wu2025multi,
      title={Multi-Scale and Multi-Objective Optimization for Cross-Lingual Aspect-Based Sentiment Analysis}, 
      author={Chengyan Wu and Bolei Ma and Ningyuan Deng and Yanqing He and Yun Xue},
      year={2025},
      eprint={2502.13718},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.13718}, 
}

About

Multi-Scale and Multi-Objective Optimization for Cross-Lingual Aspect-Based Sentiment Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%