Update README.md
Browse filesAdd link to repository.
README.md
CHANGED
|
@@ -15,6 +15,7 @@ tags:
|
|
| 15 |
# TreeHop: Generate and Filter Next Query Embeddings Efficiently for Multi-hop Question Answering
|
| 16 |
|
| 17 |
|
|
|
|
| 18 |
[](https://arxiv.org/abs/2504.20114)
|
| 19 |
[](https://huggingface.co/allen-li1231/treehop-rag)
|
| 20 |
[](https://img.shields.io/badge/license-MIT-blue)
|
|
@@ -59,7 +60,7 @@ Please refer to [requirements.txt](/requirements.txt).
|
|
| 59 |
|
| 60 |
|
| 61 |
## Preliminaries
|
| 62 |
-
This repository comes with [evaluate embedding databases](./embedding_data/) for reproduction purpose. Activate [git LFS](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage) to clone the repository using `git lfs clone [LINK_TO_REPO]`, or pull the data under the existing local repository using:
|
| 63 |
```sh
|
| 64 |
git lfs pull
|
| 65 |
```
|
|
@@ -77,7 +78,7 @@ python init_multihop_rag.py
|
|
| 77 |
|
| 78 |
## Multi-hop Retrieval with TreeHop: How-to-Use
|
| 79 |
Here we use [MultiHop RAG evaluate dataset](https://arxiv.org/abs/2401.15391) in the example below.
|
| 80 |
-
The repository comes with the necessary files for the example to run, see [preliminaries](#preliminaries).
|
| 81 |
|
| 82 |
```python
|
| 83 |
from tree_hop import TreeHopModel
|
|
|
|
| 15 |
# TreeHop: Generate and Filter Next Query Embeddings Efficiently for Multi-hop Question Answering
|
| 16 |
|
| 17 |
|
| 18 |
+
[](https://github.com/allen-li1231/TreeHop-RAG)
|
| 19 |
[](https://arxiv.org/abs/2504.20114)
|
| 20 |
[](https://huggingface.co/allen-li1231/treehop-rag)
|
| 21 |
[](https://img.shields.io/badge/license-MIT-blue)
|
|
|
|
| 60 |
|
| 61 |
|
| 62 |
## Preliminaries
|
| 63 |
+
[This repository](https://github.com/allen-li1231/TreeHop-RAG) comes with [evaluate embedding databases](./embedding_data/) for reproduction purpose. Activate [git LFS](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage) to clone the repository using `git lfs clone [LINK_TO_REPO]`, or pull the data under the existing local repository using:
|
| 64 |
```sh
|
| 65 |
git lfs pull
|
| 66 |
```
|
|
|
|
| 78 |
|
| 79 |
## Multi-hop Retrieval with TreeHop: How-to-Use
|
| 80 |
Here we use [MultiHop RAG evaluate dataset](https://arxiv.org/abs/2401.15391) in the example below.
|
| 81 |
+
[The repository](https://github.com/allen-li1231/TreeHop-RAG) comes with the necessary files for the example to run, see [preliminaries](#preliminaries).
|
| 82 |
|
| 83 |
```python
|
| 84 |
from tree_hop import TreeHopModel
|