Skip to content

ARM: A novel self-attention framework for flexible entity relation extraction from biological literature

License

Notifications You must be signed in to change notification settings

srivastavaprashant/ARM

Repository files navigation

ARM

This repository provides the code for ARM (Attention Retrieval Model), a novel self-attention framework for flexible entity relation extraction from biological literature.

Authors and Contributors: Prashant Srivastava, Saptarshi Bej, Kristian Schultz, Kristina Yordanova, Olaf Wolkenhauer

Steps

  1. Create a new folder in root dir named 'Data'.

  2. Download Datasets for AIR, TRRUST, GAD, ChemProt, BioGRID, and Elangovan et al. and save them in /Data.

  3. Register at Entrez Programming Utilities (E-utilities) and obtain Email and api-key.

  4. Create a file named 'config.py' containing entrez email and api-key as:

entrez_api_key = 'Your-Entrez-email'
entrez_email = 'Your-Entrez-apikey'
  1. Navigate to /Preprocessing dir and run the jupyter-notebooks for all datasets.
    Running all the notebooks in this directory with produce entity normalized datasets that are required in next step.
  2. Run Typed Interactions.ipynb for typed relations Case Study.
  3. Run Untyped Interactions.ipynb for untyped relations Case Study.

About

ARM: A novel self-attention framework for flexible entity relation extraction from biological literature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published