Code Monkey home page Code Monkey logo

knowledge-graph-on-research-paper's Introduction

Implementation

Paper: REBEL: Relation Extraction By End-to-end Language generation

Link: here

Run the Relation Extraction Pipeline

PYTHONPATH=. python main.py -c config/build_research_paper_knowledge_graph.yaml
Output knowledge graph plot

src/output/kg_plot.png

Example path: /home/kushwaha/Projects/knowledge-graph-on-research-paper/src/output/kg_plot.png

Pipeline

Scalable code structure to run number of experiments without loosing their config. Reproduce them by making a new config to reproduce later. Add the steps from in the config:steps to execute them in the linear way.

Config

data:
  research_paper_path: data/text_paper/aging.yaml

output:
  output_kg_plot_path: output/kg_plot.png

steps:
  - read-research-paper
  - document-relation-extraction
  - build-knowledge-graph

Results

This KG plot is based on the first two section of the research paper: "Determinants of longevity: genetic, environmental and medical factors"

Result KG

Other Explored Projects:

OpenNRE: An Open-source Neural Relation Extraction toolkit

https://github.com/thunlp/OpenNRE Comment: Tested the framework on our research paper. We observed poor performance on the scientific paper/excerpt.

PURE: PURE: Entity and Relation Extraction from Text

https://github.com/princeton-nlp/PURE Comment: Very promising. This project has:

  • SciBERT-approx (cross, W=100) (390M): Cross-sentence approximation relation model based on allenai/scibert_scivocab_uncased
  • Time permitting, I would like to explore more about the performance. As of now - framework allows only to evaluate the model.

ASP: Autoregressive Structured Prediction with Language Models

https://arxiv.org/pdf/2210.14698.pdf

Comment: It is a conditional language model that is based on the intra-structure dependencies. Limited open-source to explore how it does on a sample sentence/document.

DeepKE: A Deep Learning Based Knowledge Extraction Toolkit for Knowledge Graph Construction

https://github.com/zjunlp/DeepKE A great collection of NLP related tasks like relation extraction. The downside is limited access to English language pre-trained model. They do provide ways to train your model on custom datasets. It can be handy.

RSMAN:Relation-Specific Attentions over Entity Mentions for Enhanced Document-Level Relation Extraction

Part of DeepKE: https://github.com/FDUyjx/RSMAN

Papers

knowledge-graph-on-research-paper's People

Contributors

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