s-nlp/en_paradetox_content
收藏资源简介:
--- license: openrail++ task_categories: - text-classification language: - en --- # ParaDetox: Detoxification with Parallel Data (English). Content Task Results This repository contains information about **Content Task** markup from [English Paradetox dataset](https://huggingface.co/datasets/s-nlp/paradetox) collection pipeline. The original paper ["ParaDetox: Detoxification with Parallel Data"](https://aclanthology.org/2022.acl-long.469/) was presented at ACL 2022 main conference. ## ParaDetox Collection Pipeline The ParaDetox Dataset collection was done via [Yandex.Toloka](https://toloka.yandex.com/) crowdsource platform. The collection was done in three steps: * *Task 1:* **Generation of Paraphrases**: The first crowdsourcing task asks users to eliminate toxicity in a given sentence while keeping the content. * *Task 2:* **Content Preservation Check**: We show users the generated paraphrases along with their original variants and ask them to indicate if they have close meanings. * *Task 3:* **Toxicity Check**: Finally, we check if the workers succeeded in removing toxicity. Specifically this repo contains the results of **Task 2: Content Preservation Check**. Here, the samples with markup confidence >= 90 are present. One text in the pair is toxic, another -- its non-toxic paraphrase (should be). Totally, datasets contains 32,317 pairs. Among them, the minor part is negative examples (4,562 pairs). ## Citation ``` @inproceedings{logacheva-etal-2022-paradetox, title = "{P}ara{D}etox: Detoxification with Parallel Data", author = "Logacheva, Varvara and Dementieva, Daryna and Ustyantsev, Sergey and Moskovskiy, Daniil and Dale, David and Krotova, Irina and Semenov, Nikita and Panchenko, Alexander", booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)", month = may, year = "2022", address = "Dublin, Ireland", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.acl-long.469", pages = "6804--6818", abstract = "We present a novel pipeline for the collection of parallel data for the detoxification task. We collect non-toxic paraphrases for over 10,000 English toxic sentences. We also show that this pipeline can be used to distill a large existing corpus of paraphrases to get toxic-neutral sentence pairs. We release two parallel corpora which can be used for the training of detoxification models. To the best of our knowledge, these are the first parallel datasets for this task.We describe our pipeline in detail to make it fast to set up for a new language or domain, thus contributing to faster and easier development of new parallel resources.We train several detoxification models on the collected data and compare them with several baselines and state-of-the-art unsupervised approaches. We conduct both automatic and manual evaluations. All models trained on parallel data outperform the state-of-the-art unsupervised models by a large margin. This suggests that our novel datasets can boost the performance of detoxification systems.", } ``` ## Contacts For any questions, please contact: Daryna Dementieva (dardem96@gmail.com)
license: openrail++ 任务类别: - 文本分类(text-classification) 语言: - 英语(en) --- # ParaDetox:基于平行语料的文本去毒任务(英文)内容任务结果 本仓库收录了来自[英文ParaDetox数据集(English Paradetox dataset)](https://huggingface.co/datasets/s-nlp/paradetox)采集流程的**内容任务(Content Task)**标注信息。原始论文《ParaDetox: Detoxification with Parallel Data》已在ACL 2022主会议上发表。 ## ParaDetox数据集采集流程 ParaDetox数据集通过[Yandex.Toloka](https://toloka.yandex.com/)众包平台完成采集,共分为三个步骤: * **任务1:释义生成**:首个众包任务要求参与者在保留原文语义的前提下,消除给定句子中的毒性表述。 * **任务2:内容一致性校验**:我们向标注人员展示生成的释义句及其原始有毒文本,要求其判断二者语义是否相近。 * **任务3:毒性校验**:最终,我们验证标注人员是否成功移除了文本中的毒性内容。 具体而言,本仓库仅收录**任务2:内容一致性校验**的标注结果。此处收录的样本均满足标注置信度≥90的要求,每一组样本包含一对句子:一句为有毒文本,另一句为对应的无毒释义(理论上应符合要求)。本数据集总计包含32317组样本,其中负样本占少数,共4562组。 ## 引用格式 @inproceedings{logacheva-etal-2022-paradetox, title = "{P}ara{D}etox: Detoxification with Parallel Data", author = "Logacheva, Varvara 及 Dementieva, Daryna 及 Ustyantsev, Sergey 及 Moskovskiy, Daniil 及 Dale, David 及 Krotova, Irina 及 Semenov, Nikita 及 Panchenko, Alexander", booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)", month = may, year = "2022", address = "Dublin, Ireland", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.acl-long.469", pages = "6804--6818", abstract = "本文提出了一种全新的平行语料采集流程,用于文本去毒任务。我们为超过10000条英文有毒句子生成了无毒释义句。此外,我们证明该流程可用于对现有大型释义语料进行筛选,以获得有毒-无毒句对。我们发布了两组平行语料,可用于训练文本去毒模型。据我们所知,这是首个针对该任务的平行数据集。我们详细描述了该采集流程,以便快速适配新语言或新领域,从而为新型平行语料资源的快速开发提供支持。我们在采集得到的数据集上训练了多款文本去毒模型,并与多个基线模型及当前最优的无监督方法进行了对比。我们同时开展了自动评估与人工评估。所有基于平行语料训练的模型均大幅优于当前最优的无监督模型,这表明我们提出的新型数据集可有效提升文本去毒系统的性能。", } ## 联系方式 如有任何疑问,请联系:达里娜·德门季耶娃(Daryna Dementieva),邮箱:dardem96@gmail.com
ParaDetox数据集概述
数据集基本信息
- 许可证: openrail++
- 任务类别: 文本分类
- 语言: 英语
数据集描述
- 名称: ParaDetox: Detoxification with Parallel Data (English)
- 内容: 包含内容任务标记的英语Paradetox数据集收集流程的结果。
- 原始论文: "ParaDetox: Detoxification with Parallel Data",发表于ACL 2022主会议。
数据收集流程
- 平台: 使用Yandex.Toloka众包平台进行数据收集。
- 步骤:
- 任务1: 生成同义句,要求用户消除句子中的毒性同时保持内容不变。
- 任务2: 内容保持检查,展示生成的同义句及其原始版本,询问用户它们是否意义相近。
- 任务3: 毒性检查,检查工作者是否成功移除了毒性。
数据集详情
- 包含内容: 主要包含任务2: 内容保持检查的结果,样本的标记置信度需大于等于90。
- 数据结构: 每对文本中,一个文本为有毒性,另一个为其无毒性的同义句。
- 数据量: 总共包含32,317对文本,其中4,562对为负例。
引用信息
@inproceedings{logacheva-etal-2022-paradetox, title = "{P}ara{D}etox: Detoxification with Parallel Data", author = "Logacheva, Varvara and Dementieva, Daryna and Ustyantsev, Sergey and Moskovskiy, Daniil and Dale, David and Krotova, Irina and Semenov, Nikita and Panchenko, Alexander", booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)", month = may, year = "2022", address = "Dublin, Ireland", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.acl-long.469", pages = "6804--6818", abstract = "..." }




