--- license: cc-by-4.0 task_categories: - text-generation language: - en tags: - query-expansion - semantic-search - search-expansion pretty_name: Query Expansion Dataset size_categories: - 1K Query Expansion Schema

The dataset serves as a key component in training query expansion models, which generate additional relevant queries to enhance the retrieval process and improve the overall performance of search systems. This dataset is the first step. In the near future, I plan to release the trained query expander models as well. ## Dataset creation 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. 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. After generation, the data underwent manual curation to ensure high quality. ## Structure **Format**: JSONL **Query types**: Informational, Navigational, Transactional, Commercial **Each entry**: - Original query - 3-7 semantic expansions ## Example ```jsonl {"query": "Best gaming laptops 2024", "expansions": ["Top rated gaming laptops 2024", "Highest performance gaming computers", "Premium gaming notebook recommendations", "Best value gaming laptops this year"]} ``` ## Usage ```python from datasets import load_dataset dataset = load_dataset("s-emanuilov/query-expansion") ``` ## Limitations and alternative approaches While this dataset provides a valuable resource for training query expansion models, it's important to note that alternative approaches, such as thesaurus-based methods or using large language model APIs, may be more suitable depending on the specific use case and requirements. ## License This dataset is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). ## Citation ```citation @misc {simeon_emanuilov_2024, author = { {Simeon Emanuilov} }, title = { query-expansion (Revision e58bb74) }, year = 2024, url = { https://huggingface.co./datasets/s-emanuilov/query-expansion }, doi = { 10.57967/hf/3881 }, publisher = { Hugging Face } } ```