five

JudSacr/piaf_fr_prompt_question_generation_with_context

收藏
Hugging Face2026-05-21 更新2026-05-31 收录
下载链接:
https://hf-mirror.com/datasets/JudSacr/piaf_fr_prompt_question_generation_with_context
下载链接
链接失效反馈
官方服务:
资源简介:
--- language: - fra license: mit size_categories: - 100K<n<1M task_categories: - text-generation tags: - DFP - french prompts annotations_creators: - found language_creators: - found multilinguality: - monolingual source_datasets: - etalab-ia/piaf --- # piaf_fr_prompt_question_generation_with_context ## Summary **piaf_fr_prompt_question_generation_with_context** is a subset of the [**Dataset of French Prompts (DFP)**](https://huggingface.co/datasets/CATIE-AQ/DFP). It contains **442,752** rows that can be used for a question-generation (with context) task. The original data (without prompts) comes from the dataset [PIAF](https://huggingface.co/datasets/etalab-ia/piaf) and was augmented by questions in SQUAD 2.0 format in the [FrenchQA]( https://huggingface.co/datasets/CATIE-AQ/frenchQA) dataset. A list of prompts (see below) was then applied in order to build the input and target columns and thus obtain the same format as the [xP3](https://huggingface.co/datasets/bigscience/xP3) dataset by Muennighoff et al. ## Prompts used ### List 24 prompts were created for this dataset. The logic applied consists in proposing prompts in the indicative tense, in the form of tutoiement and in the form of vouvoiement. ``` '"'+context+'"\n Générer une question à partir du texte ci-dessus : ', '"'+context+'"\n Génère une question à partir du texte ci-dessus : ', '"'+context+'"\n Générez une question à partir du texte ci-dessus : ', '"'+context+'"\n Trouver une question à partir du texte ci-dessus : ', '"'+context+'"\n Trouve une question à partir du texte ci-dessus : ', '"'+context+'"\n Trouvez une question à partir du texte ci-dessus : ', '"'+context+'"\n Créer une bonne question à partir du texte ci-dessus : ', '"'+context+'"\n Crée trouver une bonne question à partir du texte ci-dessus : ', '"'+context+'"\n Créez trouver une bonne question à partir du texte ci-dessus : ', '"'+context+'"\n Ecrire une bonne question à partir du texte ci-dessus : ', '"'+context+'"\n Ecris une bonne question à partir du texte ci-dessus : ', '"'+context+'"\n Ecrivez une bonne question à partir du texte ci-dessus : ', 'Générer une bonne question pour le texte suivant : "'+context+'"', 'Génère une bonne question pour le texte suivant : "'+context+'"', 'Générez une bonne question pour le texte suivant : "'+context+'"', 'Trouver une bonne question pour le texte suivant : "'+context+'"', 'Trouve une bonne question pour le texte suivant : "'+context+'"', 'Trouvez trouver une bonne question pour le texte suivant : "'+context+'"', 'Créer une bonne question pour le texte suivant : "'+context+'"', 'Crée trouver une bonne question pour le texte suivant : "'+context+'"', 'Créez trouver une bonne question pour le texte suivant : "'+context+'"', 'Ecrire une bonne question pour le texte suivant : "'+context+'"', 'Ecris une bonne question pour le texte suivant : "'+context+'"', 'Ecrivez une bonne question pour le texte suivant : "'+context+'"' ``` # Splits - `train` with 442,752 samples - no `valid` split - no `test` split # How to use? ``` from datasets import load_dataset dataset = load_dataset("CATIE-AQ/piaf_fr_prompt_question_generation_with_context") ``` # Citation ## Original data ``` @InProceedings{keraron-EtAl:2020:LREC, author = {Keraron, Rachel and Lancrenon, Guillaume and Bras, Mathilde and Allary, Frédéric and Moyse, Gilles and Scialom, Thomas and Soriano-Morales, Edmundo-Pavel and Staiano, Jacopo}, title = {Project PIAF: Building a Native French Question-Answering Dataset}, booktitle = {Proceedings of The 12th Language Resources and Evaluation Conference}, month = {May}, year = {2020}, address = {Marseille, France}, publisher = {European Language Resources Association}, pages = {5483--5492}, url = {https://www.aclweb.org/anthology/2020.lrec-1.673} } ``` ## This Dataset ``` @misc {centre_aquitain_des_technologies_de_l'information_et_electroniques_2023, author = { {BOURDOIS, Loïck} }, organization = { {Centre Aquitain des Technologies de l'Information et Electroniques} }, title = { Dataset of French Prompts (DFP) (Revision 1d24c09) }, year = 2023, url = { https://huggingface.co/datasets/CATIE-AQ/DFP }, doi = { 10.57967/hf/1200 }, publisher = { Hugging Face } } ``` ## License MIT
提供机构:
JudSacr
二维码
社区交流群
二维码
科研交流群
商业服务