Giter Site home page Giter Site logo

dumpmemory / absa-reproducibility Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rajdeep345/absa-reproducibility

0.0 1.0 0.0 14.08 MB

Codes and Datasets for our ECIR 2021 Paper: "Reproducibility, Replicability and Beyond: Assessing Production Readiness of Aspect Based Sentiment Analysis in the Wild"

Python 100.00%

absa-reproducibility's Introduction

ABSA-Reproducibility

Codes and Datasets for our ECIR 2021 Paper: "Reproducibility, Replicability and Beyond: Assessing Production Readiness of Aspect Based Sentiment Analysis in the Wild"

Setup instructions

  • Create a conda environment using the requirements.txt file.
  • Alternately, one can use the ABSA.yml extracted from our conda environment to exactly replicate the environment.
  • Download and unzip the GloVe embeddings into the current folder.

Running experiments

python grid_search.py

Evaluating results

  • Change directory to results/
python process_results.py path [isHard]

path - Select one from [in_domain, contrast_logs, cross_domain, cross_domain_incremental] isHard - [Default: 'False'] is set as 'True' only if you want to evaluate hard set results for in_domain experiments, i.e.

python process_results.py in_domain True

Additional notes

  • We run each experiment with 5 random seeds (1,2,3,4,5).
  • Our experiments were run on a Tesla P100 PCIE, 16GB GPU and CUDA 10.1 and PyTorch 1.1.0.
  • For the incremental cross domain experiments, the --train_dataset argument can be set to crossdomain_indomain_ratio, for instance Laptops_Restaurants_0.1 for evaluting the cross domain combination (Laptops - Train, Restaurants - Test).

absa-reproducibility's People

Contributors

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