Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
task_categories:
|
| 4 |
- text-generation
|
| 5 |
language:
|
|
@@ -14,7 +14,19 @@ size_categories:
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Query Expansion Dataset
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Structure
|
| 20 |
|
|
@@ -32,5 +44,18 @@ Dataset for training search query expansion models with multiple semantic expans
|
|
| 32 |
|
| 33 |
```python
|
| 34 |
from datasets import load_dataset
|
| 35 |
-
dataset = load_dataset("s-emanuilov/
|
| 36 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
task_categories:
|
| 4 |
- text-generation
|
| 5 |
language:
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Query Expansion Dataset
|
| 17 |
+
This dataset is designed for training search query expansion models that can generate multiple semantic expansions for a given query.
|
| 18 |
+
|
| 19 |
+
## Purpose
|
| 20 |
+
The goal of this dataset is to serve as input for training small language models (0.5B to 3B parameters) to act as query expander models in Retrieval-Augmented Generation (RAG) systems.
|
| 21 |
+
|
| 22 |
+
Many advanced RAG systems currently use a query expansion component that makes external calls to large language models. While effective, this can add latency to the system. The purpose of this initiative is to enable the development of smaller, efficient query expander models that can perform this task without the added latency.
|
| 23 |
+
|
| 24 |
+
This dataset is the first step. In the near future, I plan to release the trained query expander models as well.
|
| 25 |
+
|
| 26 |
+
## Dataset Creation
|
| 27 |
+
This dataset was created using a diverse set of state-of-the-art large language models. These LLMs were prompted with queries covering a wide range of topics and lengths, representing different user intents.
|
| 28 |
+
|
| 29 |
+
The choice to use multiple LLMs was made to reduce the bias that might be introduced by using a single model. The broad spectrum of topics covered and the variety of query intents (informational, navigational, transactional, commercial) ensures the dataset is comprehensive and diverse.
|
| 30 |
|
| 31 |
## Structure
|
| 32 |
|
|
|
|
| 44 |
|
| 45 |
```python
|
| 46 |
from datasets import load_dataset
|
| 47 |
+
dataset = load_dataset("s-emanuilov/query-expansion")
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## License
|
| 51 |
+
This dataset is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
|
| 52 |
+
|
| 53 |
+
## Citation
|
| 54 |
+
|
| 55 |
+
@dataset{query_expansion_dataset,
|
| 56 |
+
author = {Emanuilov, S},
|
| 57 |
+
title = {Query Expansion Dataset},
|
| 58 |
+
year = {2024},
|
| 59 |
+
publisher = {Hugging Face},
|
| 60 |
+
howpublished = {\url{https://huggingface.co/datasets/s-emanuilov/query-expansion}},
|
| 61 |
+
}
|