Git Product home page Git Product logo

sae's Introduction

SAE

Annotated data and code for our COLING 2022 paper: A Structure-Aware Argument Encoder for Literature Discourse Analysis.

Files and Folders

  • data folder:Data (For details, see "Data.zip". Directly copy all files in the "data" folder in the .zip file)

  • log folder:Log file during traning

  • model folder

    • BERT_LSTM_arg.py:Model code (SAE, SE)
    • BERT_arg.py:Model code (p-SAE)
  • output folder:Save the best model on the test set during training

  • preds文件夹:Save predict result in zero-shot transfer learning

  • pretrained_model folder:Pretrained model (Download "bert-base-uncased" (https://huggingface.co/bert-base-uncased/tree/main) and put it here)

  • util folder:Utility function code

    • config.py:Configuration file to get command line parameters
    • measure.py:Define performance metrics (accuracy, precision, recall, F1) and print metrics reports
  • train.py:Training code

  • train_inference.py:Code for inference only, used for zero-shot transfer learning, predict results saved in the "preds" folder

  • data_pre.py:Daraloader code

  • command.md:Command line example file

Experiment Environment

Get Started

You can try command lines in the "command.md" file.

Annotation Tool

The annotation tool is available at https://github.com/lemuria-wchen/amcl.

How to Cite

If you extend or use this work, please cite the paper where it was introduced.

@inproceedings{li-etal-2022-structure,
    title = "A Structure-Aware Argument Encoder for Literature Discourse Analysis",
    author = "Li, Yinzi  and
      Chen, Wei  and
      Wei, Zhongyu  and
      Huang, Yujun  and
      Wang, Chujun  and
      Wang, Siyuan  and
      Zhang, Qi  and
      Huang, Xuanjing  and
      Wu, Libo",
    booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
    month = oct,
    year = "2022",
    address = "Gyeongju, Republic of Korea",
    publisher = "International Committee on Computational Linguistics",
    url = "https://aclanthology.org/2022.coling-1.619",
    pages = "7093--7098",
    abstract = "Existing research for argument representation learning mainly treats tokens in the sentence equally and ignores the implied structure information of argumentative context. In this paper, we propose to separate tokens into two groups, namely framing tokens and topic ones, to capture structural information of arguments. In addition, we consider high-level structure by incorporating paragraph-level position information. A novel structure-aware argument encoder is proposed for literature discourse analysis. Experimental results on both a self-constructed corpus and a public corpus show the effectiveness of our model. Resources are available at https://github.com/lemuria-wchen/SAE.",
}

sae's People

Contributors

lemuria-wchen avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.