framolfese
commited on
Commit
โข
b1a067f
1
Parent(s):
796c6a3
update readme
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ tags:
|
|
25 |
<a href="https://github.com/SapienzaNLP/zebra"><img src="https://img.shields.io/badge/GitHub-Repo-121013?logo=github&logoColor=white"></a>
|
26 |
</div>
|
27 |
|
28 |
-
A retrieval augmentation framework for zero-shot commonsense question answering with LLMs.
|
29 |
|
30 |
## ๐ ๏ธ Installation
|
31 |
|
@@ -48,12 +48,11 @@ pip install -e .
|
|
48 |
## ๐ Quick Start
|
49 |
|
50 |
ZEBRA is a plug-and-play retrieval augmentation framework for **Commonsense Question Answering**. \
|
51 |
-
It is composed of
|
52 |
-
The knowledge generation step is responsible for:
|
53 |
-
- given a question, retrieving relevant examples of question-knowledge pairs from a large collection
|
54 |
-
- prompting a LLM to generate useful explanations for the given input question by leveraging the relationships between the retrieved question-knowledge pairs.
|
55 |
|
56 |
-
|
|
|
|
|
57 |
|
58 |
Here is an example of how to use ZEBRA for question answering:
|
59 |
|
|
|
25 |
<a href="https://github.com/SapienzaNLP/zebra"><img src="https://img.shields.io/badge/GitHub-Repo-121013?logo=github&logoColor=white"></a>
|
26 |
</div>
|
27 |
|
28 |
+
<div align="center"> A retrieval augmentation framework for zero-shot commonsense question answering with LLMs. </div>
|
29 |
|
30 |
## ๐ ๏ธ Installation
|
31 |
|
|
|
48 |
## ๐ Quick Start
|
49 |
|
50 |
ZEBRA is a plug-and-play retrieval augmentation framework for **Commonsense Question Answering**. \
|
51 |
+
It is composed of three pipeline stages: *example retrieval*, *knowledge generation* and *informed reasoning*.
|
|
|
|
|
|
|
52 |
|
53 |
+
- Example retrieval: given a question, we retrieve relevant examples of question-knowledge pairs from a large collection
|
54 |
+
- Knowledge generation: we prompt an LLM to generate useful explanations for the given input question by leveraging the relationships in the retrieved question-knowledge pairs.
|
55 |
+
- Informed reasoning: we prompt the same LLM for the question answering task by taking advantage of the previously generated explanations.
|
56 |
|
57 |
Here is an example of how to use ZEBRA for question answering:
|
58 |
|