Code Monkey home page Code Monkey logo

daner's Introduction

DANER

Data Annotation Tool for Named Entity Recognition (DANER) using Active Learning and Transfer Learning. For a quick overview of the project, see slides. For more details, see design_doc.

Disclaimer: This project is a demo rather than a fully functional product. We may or not continue this project in the future.

Reproducing

Environment

  • Backend: Make sure you have all the packages as listed in requirement.txt, otherwise you may want to install them using the following command.
# Run at the project root
python -m venv env
source env/bin/activate
pip install -r requirement.txt
  • Frontend: Not necessary. But if you want to build the frontend yourself, you need to install the package using the following command.
cd ./frontend
npm install

Run DANER

  • Run DANER on local machine.

    • Run Backend: python ./backend/app.py
    • Run Frontend
      • Method 1: Run directly: Open ./frontend/dist/spa/index.html in Browser.
      • Method 2: Build and Run: Build the frontend: quasar build and Method 1.
      • Method 3: Run in development mode: quasar dev.
  • Run DANER on cluster

    • Run Backend on cluster:
      • srun --mem=16G -c 4 --gres=gpu:1 -p interactive --qos=nopreemption --pty bash
      • python ./backend/app.py
    • Setup Vector VPN
    • Run Frontend in the same way as above.
  • Note

    • You may need to modify the baseURL in the GUI.

Project Structure

We provide the following figure to better understanding of the project structure and modify the conresponding code to satisfy your personal needs.

project_structure

daner's People

Contributors

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