Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
parquet
Sub-tasks:
document-retrieval
Size:
100M - 1B
ArXiv:
Tags:
text-retrieval
Update README.md
Browse files
README.md
CHANGED
|
@@ -2692,4 +2692,304 @@ configs:
|
|
| 2692 |
data_files:
|
| 2693 |
- split: default
|
| 2694 |
path: data/zho.parquet
|
| 2695 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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2695 |
+
---
|
| 2696 |
+
<h1 align="center">WebFAQ 2.0: Multilingual FAQ Q&A Dataset with Hard Negatives</h1>
|
| 2697 |
+
|
| 2698 |
+
<h4 align="center">
|
| 2699 |
+
<p>
|
| 2700 |
+
<a href=#overview>Overview</a> |
|
| 2701 |
+
<a href=#whats-new-in-v20>What's New in v2.0</a> |
|
| 2702 |
+
<a href=#dataset-statistics>Dataset Statistics</a> |
|
| 2703 |
+
<a href=#structure>Structure</a> |
|
| 2704 |
+
<a href=#bilingual-alignments>Bitext Alignments</a> |
|
| 2705 |
+
<a href=#hard-negatives-dataset>Hard Negatives</a> |
|
| 2706 |
+
<a href=#training-strategies>Training Strategies</a> |
|
| 2707 |
+
<a href=#examples>Examples</a> |
|
| 2708 |
+
<a href=#considerations>Considerations</a> |
|
| 2709 |
+
<a href=#license>License</a> |
|
| 2710 |
+
<a href=#citation>Citation</a> |
|
| 2711 |
+
<a href=#contact>Contact</a>
|
| 2712 |
+
<p>
|
| 2713 |
+
</h4>
|
| 2714 |
+
|
| 2715 |
+
---
|
| 2716 |
+
|
| 2717 |
+
## Overview
|
| 2718 |
+
|
| 2719 |
+
**WebFAQ 2.0** is a large-scale multilingual dataset of **198 million natural question–answer pairs** across **104 languages**, mined from structured FAQ pages on the web.
|
| 2720 |
+
|
| 2721 |
+
It is the successor of the original **WebFAQ (v1)** dataset (96M QAs, 75 languages):
|
| 2722 |
+
👉 [https://huggingface.co/datasets/PaDaS-Lab/webfaq](https://huggingface.co/datasets/PaDaS-Lab/webfaq)
|
| 2723 |
+
|
| 2724 |
+
WebFAQ 2.0 significantly expands multilingual coverage, bilingual QA alignments, and introduces a new **hard negatives dataset** for training dense retrieval models .
|
| 2725 |
+
|
| 2726 |
+
The dataset is designed for:
|
| 2727 |
+
|
| 2728 |
+
* 🌍 Multilingual & cross-lingual dense retrieval
|
| 2729 |
+
* ❓ Open-domain Question Answering
|
| 2730 |
+
* 🔎 Hard negative mining research
|
| 2731 |
+
* 🌐 Bitext mining & multilingual embedding training
|
| 2732 |
+
|
| 2733 |
+
---
|
| 2734 |
+
|
| 2735 |
+
## What's New in v2.0
|
| 2736 |
+
|
| 2737 |
+
Compared to WebFAQ v1, version 2.0 introduces:
|
| 2738 |
+
|
| 2739 |
+
### 1️⃣ Massive Scale Increase
|
| 2740 |
+
|
| 2741 |
+
* **198M QA pairs** (vs. 96M in v1)
|
| 2742 |
+
* **104 languages** (vs. 75)
|
| 2743 |
+
* English share reduced from ~51% to ~28% → stronger multilingual balance
|
| 2744 |
+
|
| 2745 |
+
### 2️⃣ New Crawling Strategy
|
| 2746 |
+
|
| 2747 |
+
Instead of relying solely on Web Data Commons dumps, WebFAQ 2.0:
|
| 2748 |
+
|
| 2749 |
+
* Mines FAQPage markup directly from Common Crawl
|
| 2750 |
+
* Crawls pages using OWLer (OpenWebSearch project)
|
| 2751 |
+
* Extracts:
|
| 2752 |
+
|
| 2753 |
+
* Questions
|
| 2754 |
+
* Answers
|
| 2755 |
+
* Page titles
|
| 2756 |
+
* Page descriptions
|
| 2757 |
+
* hreflang links for multilingual alignment
|
| 2758 |
+
|
| 2759 |
+
This yields richer contextual metadata and improved cross-lingual coverage .
|
| 2760 |
+
|
| 2761 |
+
### 3️⃣ Large-Scale Bilingual Alignments
|
| 2762 |
+
|
| 2763 |
+
* **13.8M aligned QA pairs**
|
| 2764 |
+
* **3,118 language combinations**
|
| 2765 |
+
* 1,282 language pairs contain ≥4,000 aligned samples
|
| 2766 |
+
|
| 2767 |
+
This is a nearly 10× increase over v1.
|
| 2768 |
+
|
| 2769 |
+
### 4️⃣ Hard Negatives Dataset
|
| 2770 |
+
|
| 2771 |
+
A new dataset of:
|
| 2772 |
+
|
| 2773 |
+
* **1.25M queries**
|
| 2774 |
+
* **20 languages**
|
| 2775 |
+
* 200 mined hard negatives per query
|
| 2776 |
+
* Cross-encoder scores included
|
| 2777 |
+
|
| 2778 |
+
Designed specifically for dense retriever training .
|
| 2779 |
+
|
| 2780 |
+
---
|
| 2781 |
+
|
| 2782 |
+
## Dataset Statistics
|
| 2783 |
+
|
| 2784 |
+
### Languages
|
| 2785 |
+
|
| 2786 |
+
* 104 languages with ≥1,000 samples
|
| 2787 |
+
* More balanced distribution compared to v1
|
| 2788 |
+
* Significant growth in non-English languages (e.g., Hindi, Ukrainian, Dutch, Portuguese, Polish)
|
| 2789 |
+
|
| 2790 |
+
### Topics
|
| 2791 |
+
|
| 2792 |
+
Topic labels are inferred using a fine-tuned XLM-RoBERTa classifier trained on GPT-5-mini annotated data (F1 ≈ 88%).
|
| 2793 |
+
|
| 2794 |
+
Major topic shift in v2.0:
|
| 2795 |
+
|
| 2796 |
+
| Topic | % |
|
| 2797 |
+
| --------------------------------- | ---- |
|
| 2798 |
+
| ✈️ Traveling & Hospitality | 59.2 |
|
| 2799 |
+
| 🛒 Products & Commercial Services | 18.9 |
|
| 2800 |
+
| ❤️ Healthcare & Lifestyle | 5.6 |
|
| 2801 |
+
| 🎵 Entertainment | 4.7 |
|
| 2802 |
+
| 🏦 Banking & Finance | 4.4 |
|
| 2803 |
+
|
| 2804 |
+
### Question Types
|
| 2805 |
+
|
| 2806 |
+
Questions are categorized using a multilingual extension of the Bolotova et al. taxonomy:
|
| 2807 |
+
|
| 2808 |
+
| Type | % |
|
| 2809 |
+
| -------------- | ---- |
|
| 2810 |
+
| Not-a-Question | 34.7 |
|
| 2811 |
+
| Factoid | 33.6 |
|
| 2812 |
+
| Experience | 11.6 |
|
| 2813 |
+
| Instruction | 10.3 |
|
| 2814 |
+
| Evidence-Based | 4.3 |
|
| 2815 |
+
| Reason | 3.3 |
|
| 2816 |
+
| Comparison | 2.2 |
|
| 2817 |
+
| Debate | 0.1 |
|
| 2818 |
+
|
| 2819 |
+
Classifier F1 ≈ 88%.
|
| 2820 |
+
|
| 2821 |
+
---
|
| 2822 |
+
|
| 2823 |
+
## Structure
|
| 2824 |
+
|
| 2825 |
+
Each language is provided as a separate configuration:
|
| 2826 |
+
|
| 2827 |
+
```python
|
| 2828 |
+
from datasets import load_dataset
|
| 2829 |
+
|
| 2830 |
+
dataset = load_dataset("michaeldinzinger/webfaq-v2", "eng")["default"]
|
| 2831 |
+
print(dataset[0])
|
| 2832 |
+
```
|
| 2833 |
+
|
| 2834 |
+
### Fields
|
| 2835 |
+
|
| 2836 |
+
* `id`: Unique identifier
|
| 2837 |
+
* `origin`: Website origin (scheme + host)
|
| 2838 |
+
* `url`: Source URL
|
| 2839 |
+
* `question`: Natural-language question
|
| 2840 |
+
* `answer`: Corresponding answer
|
| 2841 |
+
* `title`: Webpage title (new in v2.0)
|
| 2842 |
+
* `description`: Webpage description (new in v2.0)
|
| 2843 |
+
* `qa_similarity_score`: Semantic similarity between question and answer
|
| 2844 |
+
* `topic` (optional): Topic label
|
| 2845 |
+
* `question_type` (optional): Question category
|
| 2846 |
+
|
| 2847 |
+
> Note: No official train/validation/test split is provided for the raw QA dataset.
|
| 2848 |
+
|
| 2849 |
+
---
|
| 2850 |
+
|
| 2851 |
+
## Bilingual Alignments
|
| 2852 |
+
|
| 2853 |
+
The bitext dataset is released separately:
|
| 2854 |
+
|
| 2855 |
+
👉 [https://huggingface.co/datasets/michaeldinzinger/webfaq-v2-bitexts](https://huggingface.co/datasets/michaeldinzinger/webfaq-v2-bitexts)
|
| 2856 |
+
|
| 2857 |
+
Alignment method:
|
| 2858 |
+
|
| 2859 |
+
* LaBSE embeddings
|
| 2860 |
+
* Nearest-neighbor retrieval
|
| 2861 |
+
* Similarity threshold ≥ 0.9
|
| 2862 |
+
|
| 2863 |
+
Results:
|
| 2864 |
+
|
| 2865 |
+
* 13.8M aligned QA pairs
|
| 2866 |
+
* Strong growth in non-English language pairs
|
| 2867 |
+
* Includes underrepresented combinations (e.g., Marathi–Telugu)
|
| 2868 |
+
|
| 2869 |
+
---
|
| 2870 |
+
|
| 2871 |
+
## Hard Negatives Dataset
|
| 2872 |
+
|
| 2873 |
+
Released separately:
|
| 2874 |
+
|
| 2875 |
+
👉 [https://huggingface.co/datasets/IrvinTopi/WebFAQHardNegatives](https://huggingface.co/datasets/IrvinTopi/WebFAQHardNegatives)
|
| 2876 |
+
|
| 2877 |
+
### Mining Pipeline
|
| 2878 |
+
|
| 2879 |
+
Two-stage approach :
|
| 2880 |
+
|
| 2881 |
+
1. BM25 retrieval (top 200 candidates)
|
| 2882 |
+
2. Cross-encoder reranking using BGE-m3
|
| 2883 |
+
|
| 2884 |
+
Each instance contains:
|
| 2885 |
+
|
| 2886 |
+
```
|
| 2887 |
+
(query, positive, pos_score, negatives[], neg_scores[])
|
| 2888 |
+
```
|
| 2889 |
+
|
| 2890 |
+
Total size:
|
| 2891 |
+
|
| 2892 |
+
* 1.25M training samples
|
| 2893 |
+
* 20 languages
|
| 2894 |
+
* 200 negatives per query
|
| 2895 |
+
|
| 2896 |
+
---
|
| 2897 |
+
|
| 2898 |
+
## Training Strategies Enabled
|
| 2899 |
+
|
| 2900 |
+
WebFAQ 2.0 supports two main dense retrieval training paradigms:
|
| 2901 |
+
|
| 2902 |
+
### 🔹 Contrastive Learning
|
| 2903 |
+
|
| 2904 |
+
* MultipleNegativesRankingLoss (MNR)
|
| 2905 |
+
* Random negatives
|
| 2906 |
+
* Hard negatives (Top-k or denoised)
|
| 2907 |
+
|
| 2908 |
+
### 🔹 Knowledge Distillation
|
| 2909 |
+
|
| 2910 |
+
* MarginMSE loss
|
| 2911 |
+
* Uses cross-encoder scores directly
|
| 2912 |
+
* Strong improvements in non-English retrieval
|
| 2913 |
+
|
| 2914 |
+
Experiments show:
|
| 2915 |
+
|
| 2916 |
+
* Random negatives remain surprisingly strong in contrastive setups.
|
| 2917 |
+
* Knowledge distillation improves multilingual robustness but may slightly reduce English performance .
|
| 2918 |
+
|
| 2919 |
+
---
|
| 2920 |
+
|
| 2921 |
+
## Examples
|
| 2922 |
+
|
| 2923 |
+
```json
|
| 2924 |
+
{
|
| 2925 |
+
"id": "example_id",
|
| 2926 |
+
"origin": "https://example.com",
|
| 2927 |
+
"url": "https://example.com/faq",
|
| 2928 |
+
"question": "How old do I have to be to rent a car in Girona?",
|
| 2929 |
+
"answer": "You must be at least 21 years old to rent a car in Girona.",
|
| 2930 |
+
"title": "Car Rental FAQ – Girona",
|
| 2931 |
+
"description": "Frequently asked questions about renting a car in Girona.",
|
| 2932 |
+
"qa_similarity_score": 0.93,
|
| 2933 |
+
"topic": "Traveling and Hospitality",
|
| 2934 |
+
"question_type": "Experience"
|
| 2935 |
+
}
|
| 2936 |
+
```
|
| 2937 |
+
|
| 2938 |
+
---
|
| 2939 |
+
|
| 2940 |
+
## Considerations
|
| 2941 |
+
|
| 2942 |
+
* ⚠️ No guarantee of factual correctness
|
| 2943 |
+
* ⚠️ Contains duplicates or near-duplicates
|
| 2944 |
+
* ⚠️ Hard negatives may contain false negatives
|
| 2945 |
+
* ⚠️ Language detection may be imperfect
|
| 2946 |
+
* 📜 Derived from public web pages – respect original website terms
|
| 2947 |
+
|
| 2948 |
+
---
|
| 2949 |
+
|
| 2950 |
+
## License
|
| 2951 |
+
|
| 2952 |
+
[**Open Data Commons Attribution License (ODC-By)**](https://opendatacommons.org/licenses/by/)
|
| 2953 |
+
|
| 2954 |
+
---
|
| 2955 |
+
|
| 2956 |
+
## Citation
|
| 2957 |
+
|
| 2958 |
+
If you use WebFAQ 2.0, please cite:
|
| 2959 |
+
|
| 2960 |
+
```bibtex
|
| 2961 |
+
@inproceedings{dinzinger2025webfaqv2,
|
| 2962 |
+
title={WebFAQ 2.0: A Multilingual QA Dataset with Mined Hard Negatives for Dense Retrieval},
|
| 2963 |
+
author={Dinzinger, Michael and Caspari, Laura and Salman, Ali and Topi, Irvin and Mitrović, Jelena and Granitzer, Michael},
|
| 2964 |
+
year={2025}
|
| 2965 |
+
}
|
| 2966 |
+
```
|
| 2967 |
+
|
| 2968 |
+
You may also cite the original WebFAQ paper:
|
| 2969 |
+
|
| 2970 |
+
```bibtex
|
| 2971 |
+
@misc{dinzinger2025webfaq,
|
| 2972 |
+
title={WebFAQ: A Multilingual Collection of Natural Q&A Datasets for Dense Retrieval},
|
| 2973 |
+
author={Michael Dinzinger and Laura Caspari and Kanishka Ghosh Dastidar and Jelena Mitrović and Michael Granitzer},
|
| 2974 |
+
year={2025},
|
| 2975 |
+
eprint={2502.20936},
|
| 2976 |
+
archivePrefix={arXiv},
|
| 2977 |
+
primaryClass={cs.CL}
|
| 2978 |
+
}
|
| 2979 |
+
```
|
| 2980 |
+
|
| 2981 |
+
---
|
| 2982 |
+
|
| 2983 |
+
## Contact
|
| 2984 |
+
|
| 2985 |
+
For inquiries:
|
| 2986 |
+
|
| 2987 |
+
* [michael.dinzinger@uni-passau.de](mailto:michael.dinzinger@uni-passau.de)
|
| 2988 |
+
* HuggingFace Discussions
|
| 2989 |
+
* GitHub: [https://github.com/padas-lab-de/webfaq](https://github.com/padas-lab-de/webfaq)
|
| 2990 |
+
|
| 2991 |
+
---
|
| 2992 |
+
|
| 2993 |
+
WebFAQ 2.0 is part of a long-term effort aligned with the [**Open Web Index**](https://openwebindex.eu/) initiative and will continue to grow as new structured FAQ data becomes available .
|
| 2994 |
+
|
| 2995 |
+
Happy researching! 🚀
|