├── README.md ├── TSNE.html ├── TSNE.py ├── criterion.py ├── data_utils.py ├── datasets └── datasets.zip ├── dependency_graph.py ├── img └── model_overview.png ├── infer_example.py ├── infoNCE.py ├── layers ├── __init__.py ├── attention.py ├── dynamic_rnn.py ├── point_wise_feed_forward.py └── squeeze_embedding.py ├── losses.py ├── models ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── __init__.cpython-37.pyc │ ├── aen.cpython-36.pyc │ ├── aen.cpython-37.pyc │ ├── aoa.cpython-36.pyc │ ├── aoa.cpython-37.pyc │ ├── asgcn.cpython-36.pyc │ ├── asgcn.cpython-37.pyc │ ├── atae_lstm.cpython-36.pyc │ ├── atae_lstm.cpython-37.pyc │ ├── bert_spc.cpython-36.pyc │ ├── bert_spc.cpython-37.pyc │ ├── bert_spc_cl.cpython-36.pyc │ ├── bert_spc_cl.cpython-37.pyc │ ├── cabasc.cpython-36.pyc │ ├── cabasc.cpython-37.pyc │ ├── ian.cpython-36.pyc │ ├── ian.cpython-37.pyc │ ├── lcf_bert.cpython-36.pyc │ ├── lcf_bert.cpython-37.pyc │ ├── lstm.cpython-36.pyc │ ├── lstm.cpython-37.pyc │ ├── memnet.cpython-36.pyc │ ├── memnet.cpython-37.pyc │ ├── mgan.cpython-36.pyc │ ├── mgan.cpython-37.pyc │ ├── ram.cpython-36.pyc │ ├── ram.cpython-37.pyc │ ├── tc_lstm.cpython-36.pyc │ ├── tc_lstm.cpython-37.pyc │ ├── td_lstm.cpython-36.pyc │ ├── td_lstm.cpython-37.pyc │ ├── tnet_lf.cpython-36.pyc │ └── tnet_lf.cpython-37.pyc ├── aen.py ├── aoa.py ├── asgcn.py ├── atae_lstm.py ├── bert_spc.py ├── bert_spc_cl.py ├── cabasc.py ├── ian.py ├── lcf_bert.py ├── lstm.py ├── memnet.py ├── mgan.py ├── ram.py ├── tc_lstm.py ├── td_lstm.py └── tnet_lf.py ├── poster └── CIKM2021_poster_952.pdf ├── requirements.txt ├── run.sh ├── run_test.sh ├── train_cl.py └── train_k_fold_cross_val.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/README.md -------------------------------------------------------------------------------- /TSNE.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/TSNE.html -------------------------------------------------------------------------------- /TSNE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/TSNE.py -------------------------------------------------------------------------------- /criterion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/criterion.py -------------------------------------------------------------------------------- /data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/data_utils.py -------------------------------------------------------------------------------- /datasets/datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/datasets/datasets.zip -------------------------------------------------------------------------------- /dependency_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/dependency_graph.py -------------------------------------------------------------------------------- /img/model_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/img/model_overview.png -------------------------------------------------------------------------------- /infer_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/infer_example.py -------------------------------------------------------------------------------- /infoNCE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/infoNCE.py -------------------------------------------------------------------------------- /layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/layers/__init__.py -------------------------------------------------------------------------------- /layers/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/layers/attention.py -------------------------------------------------------------------------------- /layers/dynamic_rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/layers/dynamic_rnn.py -------------------------------------------------------------------------------- /layers/point_wise_feed_forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/layers/point_wise_feed_forward.py -------------------------------------------------------------------------------- /layers/squeeze_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/layers/squeeze_embedding.py -------------------------------------------------------------------------------- /losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/losses.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/aen.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/aen.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/aen.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/aen.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/aoa.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/aoa.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/aoa.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/aoa.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/asgcn.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/asgcn.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/asgcn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/asgcn.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/atae_lstm.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/atae_lstm.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/atae_lstm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/atae_lstm.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/bert_spc.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/bert_spc.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/bert_spc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/bert_spc.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/bert_spc_cl.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/bert_spc_cl.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/bert_spc_cl.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/bert_spc_cl.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/cabasc.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/cabasc.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/cabasc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/cabasc.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/ian.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/ian.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/ian.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/ian.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/lcf_bert.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/lcf_bert.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/lcf_bert.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/lcf_bert.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/lstm.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/lstm.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/lstm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/lstm.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/memnet.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/memnet.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/memnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/memnet.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/mgan.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/mgan.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/mgan.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/mgan.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/ram.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/ram.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/ram.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/ram.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/tc_lstm.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/tc_lstm.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/tc_lstm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/tc_lstm.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/td_lstm.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/td_lstm.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/td_lstm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/td_lstm.cpython-37.pyc -------------------------------------------------------------------------------- /models/__pycache__/tnet_lf.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/tnet_lf.cpython-36.pyc -------------------------------------------------------------------------------- /models/__pycache__/tnet_lf.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/__pycache__/tnet_lf.cpython-37.pyc -------------------------------------------------------------------------------- /models/aen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/aen.py -------------------------------------------------------------------------------- /models/aoa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/aoa.py -------------------------------------------------------------------------------- /models/asgcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/asgcn.py -------------------------------------------------------------------------------- /models/atae_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/atae_lstm.py -------------------------------------------------------------------------------- /models/bert_spc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/bert_spc.py -------------------------------------------------------------------------------- /models/bert_spc_cl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/bert_spc_cl.py -------------------------------------------------------------------------------- /models/cabasc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/cabasc.py -------------------------------------------------------------------------------- /models/ian.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/ian.py -------------------------------------------------------------------------------- /models/lcf_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/lcf_bert.py -------------------------------------------------------------------------------- /models/lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/lstm.py -------------------------------------------------------------------------------- /models/memnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/memnet.py -------------------------------------------------------------------------------- /models/mgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/mgan.py -------------------------------------------------------------------------------- /models/ram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/ram.py -------------------------------------------------------------------------------- /models/tc_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/tc_lstm.py -------------------------------------------------------------------------------- /models/td_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/td_lstm.py -------------------------------------------------------------------------------- /models/tnet_lf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/models/tnet_lf.py -------------------------------------------------------------------------------- /poster/CIKM2021_poster_952.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/poster/CIKM2021_poster_952.pdf -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/run.sh -------------------------------------------------------------------------------- /run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/run_test.sh -------------------------------------------------------------------------------- /train_cl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/train_cl.py -------------------------------------------------------------------------------- /train_k_fold_cross_val.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BinLiang-NLP/Scon-ABSA/HEAD/train_k_fold_cross_val.py --------------------------------------------------------------------------------