GithubHelp home page GithubHelp logo

ftamburin / electra-age_fe Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.98 MB

Code and data for the paper "Combining ELECTRA and Adaptive Graph Encoding for Frame Identification" at LREC2022

License: GNU General Public License v3.0

Roff 89.54% Python 9.64% Shell 0.82%

electra-age_fe's Introduction

Electra-AGE_FE

Code and splits for the paper "Combining ELECTRA and Adaptive Graph Encoding for Frame Identification" at LREC2022.

The code is in this repository, while the splits must be downloaded from this link and extracted in the repository root folder.

For reproducing the experiments:

  1. Create ELECTRA embeddings for a given split (here FN1.5_08):
    cd scripts
    bash ./CreateVectors.sh 1.5_08
  1. Perform the entire set of 10 experiments with different random initialisation:
    bash ./FrameID.sh -m train -x 1.5_08 -v 1.5 -e electra 
  1. Look at the final detailed results on the test set:
    python3 ./showResults.py ../experiments/xp_1.5_08/frameid/results/summary

Results obtained on a NVIDIA Titan XP 12GB and:

  • CUDA 10.0
  • cuDNN 7.4.2
  • python 3.6.7
  • pytorch 1.4.1
  • transformers 3.1.0
  • networkx 2.2

Parts of this package are based on pyfn.

If you find this code useful in your research, please cite:

@InProceedings{Tamburini:2022:LREC,
  author    = {Tamburini, Fabio},
  title     = {Combining ELECTRA and Adaptive Graph Encoding for Frame Identification},
  booktitle = {Proceedings of The 13th Language Resources and Evaluation Conference},
  month     = {June},
  year      = {2022},
  address   = {Marseille, France},
  publisher = {European Language Resources Association},
}

In case of problems contact me at [email protected].

electra-age_fe's People

Contributors

ftamburin 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.