An open API service indexing awesome lists of open source software.

https://github.com/asappresearch/rationale-alignment


https://github.com/asappresearch/rationale-alignment

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# Rationale-alignment
Pytorch Library for ACL 2020 paper:
[Rationalizing Text Matching:Learning Sparse Alignments via Optimal Transport](https://arxiv.org/pdf/2005.13111.pdf)

## Usage
[Data](https://drive.google.com/file/d/1prhH-tZZ-gGHj2-PdikGosHZT_SDBRyr/view?usp=sharing): please down load data and unzip to `data` folder

Embedding: we use fasttext embedding [cc.en.300.bin](https://fasttext.cc/docs/en/crawl-vectors.html), please download and specify the `embedding_path` in `utils/parsing.py`

## Replicate results from the paper

## Example usage

## Cite
```sh
@inproceedings{swanson-etal-2020-rationalizing,
title = "Rationalizing Text Matching: {L}earning Sparse Alignments via Optimal Transport",
author = "Swanson, Kyle and Yu, Lili and Lei, Tao",
booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
year = "2020",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.acl-main.496",
}
```