Code Monkey home page Code Monkey logo

esra-extractor's Introduction

Explainable Scientific Research Assistant (ESRA)

  1. (Optional) Initialize a container
docker run --runtime=nvidia -it -d --name esra_extractor nvidia/cuda
docker exec -it esra_extractor bash

# These all are needed
apt-get install git python3 python3-pip wget
  1. Python3.7 environments
apt-get update \
&& apt-get install -y software-properties-common curl \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update \
&& apt-get install -y python3.7 python3.7-venv virtualenv
  1. Setting up
git clone --recursive https://github.com/StonehengeNLP/ESRA-Extractor.git
cd ./ESRA-Extractor

# Activate virtual environment
virtualenv --python=3.7 env
source env/bin/activate

# Install dependencies
scripts/setup.sh
pip install -r requirements.txt
  1. Evaluating the model
python ./evaluator.py
  1. Extract abstracts
# edit the abstracts and run
python ./esra.py

# validate/clean the extracted entities and relation
python ./esra_validation.py

esra-extractor's People

Contributors

backgroundboy avatar tongplw avatar winpasit avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tomasonjo

esra-extractor's Issues

部署问题

方便加一下大佬微信嘛,按照文档部署有点吃力

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.