Skip to content

Latest commit

History

History
50 lines (37 loc) 路 2.05 KB

File metadata and controls

50 lines (37 loc) 路 2.05 KB

CI Code coverage Issues Commit activity License

馃啔 Stance-Aware Re-Ranking for Non-factual Comparative Queries

Code and resources to reproduce the ArgMining 2023 paper Stance-Aware Re-Ranking for Non-factual Comparative Queries.

Usage

The following sections describe how to use our code to re-rank comparative search engine results, using Pipenv.

Installation

  1. Install Python 3.10
  2. Create and activate virtual environment:
    python3.10 -m venv venv/
    source venv/bin/activate
  3. Install dependencies:
    pip install -e .

Re-rank and evaluate all run files

To evaluate the re-ranking pipeline on all runs and all topics, follow these steps:

  1. Modify the configuration in config.yml
  2. Run the stare module:
    python -m stare

Testing

After installing all dependencies, you can run all unit tests:

flake8 stare
pylint stare
pytest stare

License

This repository is licensed under the MIT License. The data (in the data/ directory) may be released under different terms and conditions.