Git Product home page Git Product logo

radsum_app's Introduction

RADsum

A web application for extractive summarization based on SummaRuNNer.

Paper: https://adrienguille.github.io/publications/ecir2024.pdf
Model: https://github.com/Baragouine/radsum

Run on local

Clone project

git clone https://github.com/Baragouine/radsum_app.git

Create env (conda)

conda create --name RADSUM_APP python=3.9

Activate env

conda activate RADSUM_APP

Enter into back-end directory

cd radsum_app/back/

Install dependencies

pip install -r requirements.txt
conda install pytorch-geometric -c rusty1s -c conda-forge

Install nltk data

To install nltk data:

  • Open a python console.
  • Type import nltk; nltk.download().
  • Download all data.
  • Close the python console.

Install Django REST framework and Django cors header

pip install django
pip install djangorestframework
pip install django-cors-headers

Enter into back-end directory

cd back/ # location: radsum_app/back/back

Download data

Download https://drive.google.com/file/d/1NfVJa21NIGyX9USrnS-hpqnaWitORqP0/view?usp=sharing, extract and copy it to radsum_app/back/back.

The path must be radsum_app/back/back/data/.

Migrate

python manage.py migrate

Run back-end

python manage.py runserver

Run front-end

Open a new terminal.

npm must be installed (version 9.8.0 recommended).

Enter into cd radsum_app/front/radsum/.

Run npm install.

Run npm install react-scripts.

Finally, run npm start.

License

© 2023 Raoufdine SAID & Adrien GUILLE - All rights reserved. This software is distributed under the MIT License.

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.