Skip to content

Commit

Permalink
Update citation
Browse files Browse the repository at this point in the history
  • Loading branch information
chiayewken committed Dec 1, 2022
1 parent 0d8a32c commit ab41564
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea/
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Colab](https://img.shields.io/badge/Colab-Code%20Demo-%23fe9f00)](https://colab.research.google.com/drive/18lrKD30kxEUolQ61o5nzUJM0rvWgpbFK?usp=sharing)
[![Jupyter](https://img.shields.io/badge/Jupyter-Notebook%20Demo-important)](https://github.com/declare-lab/RelationPrompt/blob/main/demo.ipynb)

This repository implements our ACL Findings 2022 research paper [RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extraction](https://doi.org/10.48550/arXiv.2203.09101).
This repository implements our ACL Findings 2022 research paper [RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extraction](https://aclanthology.org/2022.findings-acl.5/).
The goal of Zero-Shot Relation Triplet Extraction (ZeroRTE) is to extract relation triplets of the format `(head entity, tail entity, relation)`, despite not having annotated data for the test relation labels.

![diagram](https://github.com/declare-lab/RelationPrompt/releases/download/v1.0.0/diagram.png)
Expand Down Expand Up @@ -111,14 +111,22 @@ python wrapper.py run_eval \
```

### Research Citation
If the code is useful for your research project, we appreciate if you cite the following [paper](https://arxiv.org/abs/2203.09101):
If the code is useful for your research project, we appreciate if you cite the following [paper](https://aclanthology.org/2022.findings-acl.5/):
```
@inproceedings{chia-etal-2022-relationprompt,
title = "RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extraction",
author = "Chia, Yew Ken and Bing, Lidong and Poria, Soujanya and Si, Luo",
title = "{R}elation{P}rompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extraction",
author = "Chia, Yew Ken and
Bing, Lidong and
Poria, Soujanya and
Si, Luo",
booktitle = "Findings of the Association for Computational Linguistics: ACL 2022",
month = may,
year = "2022",
url = "https://arxiv.org/abs/2203.09101",
doi = "https://doi.org/10.48550/arXiv.2203.09101",
address = "Dublin, Ireland",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.findings-acl.5",
doi = "10.18653/v1/2022.findings-acl.5",
pages = "45--57",
abstract = "Despite the importance of relation extraction in building and representing knowledge, less research is focused on generalizing to unseen relations types. We introduce the task setting of Zero-Shot Relation Triplet Extraction (ZeroRTE) to encourage further research in low-resource relation extraction methods. Given an input sentence, each extracted triplet consists of the head entity, relation label, and tail entity where the relation label is not seen at the training stage. To solve ZeroRTE, we propose to synthesize relation examples by prompting language models to generate structured texts. Concretely, we unify language model prompts and structured text approaches to design a structured prompt template for generating synthetic relation samples when conditioning on relation label prompts (RelationPrompt). To overcome the limitation for extracting multiple relation triplets in a sentence, we design a novel Triplet Search Decoding method. Experiments on FewRel and Wiki-ZSL datasets show the efficacy of RelationPrompt for the ZeroRTE task and zero-shot relation classification. Our code and data are available at github.com/declare-lab/RelationPrompt.",
}
```

0 comments on commit ab41564

Please sign in to comment.