jtatman/civil_comments_hatebert
收藏资源简介:
--- dataset_info: features: - name: text dtype: string - name: text_masked dtype: string - name: text_replaced list: - name: score dtype: float64 - name: sequence dtype: string - name: token dtype: int64 - name: token_str dtype: string splits: - name: train num_bytes: 872262083 num_examples: 451219 download_size: 333147199 dataset_size: 872262083 configs: - config_name: default data_files: - split: train path: data/train-* license: mit task_categories: - text-classification - text2text-generation - fill-mask language: - en tags: - masked - mask-scored - comment scoring - masked-model pretty_name: civil comments w/hatebert scoring size_categories: - 100K<n<1M --- # Dataset Card for "civil_comments_hatebert" This is an experiment to see how "civil-comments" can be changed by models without much manipulation to offensive speech in certain cases. This data is a reformat of the civil comments dataset, discarding all scoring attributes of abusive speech, masking random tokens, and processing with hatebert to fill-masked tokens with possible abusive language. This merely sets up some good data for three things: fill-mask activities, text training, and scored responses based on random tokens being manipulatible according to this model. Showing the progress of incarnation, three columns illustrate the original text data extracted, the randomly masked text, and the filled text with scores in a list for the hatebert output. So far in practice, the hatebert model mostly fills with innocuous placeholders, from *very* limited testing. Hatebert is as it sounds, a BERT based model trained on fill-mask activites. [civil_comments dataset](https://huggingface.co/datasets/civil_comments) [hatebert model](https://huggingface.co/datasets/civil_comments) [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
数据集信息: 特征字段: - 字段名: text 数据类型: 字符串型 - 字段名: text_masked 数据类型: 字符串型 - 字段名: text_replaced 列表型: - 字段名: score 数据类型: 64位浮点型 - 字段名: sequence 数据类型: 字符串型 - 字段名: token 数据类型: 64位整型 - 字段名: token_str 数据类型: 字符串型 划分集: - 划分名称: train 字节数: 872262083 样本数: 451219 下载大小: 333147199 数据集总大小: 872262083 配置项: - 配置名称: default 数据文件: - 划分集: train 路径: data/train-* 许可证: MIT 任务类别: - 文本分类 - 文本到文本生成 - 掩码填充(fill-mask) 语言: - 英语 标签: - 掩码化 - 掩码评分 - 评论评分 - 掩码模型 美观名称: 带hatebert评分的民用评论数据集 规模类别: - 10万 < n < 100万 --- # "civil_comments_hatebert" 数据集卡片 本实验旨在探究:在特定场景下,不对冒犯性言论进行过多人工干预的前提下,模型对民用评论数据集的修改效果。 本数据为民用评论数据集的重构版本:移除了所有辱骂性言论的评分属性,对随机Token进行掩码处理,并通过hatebert模型对掩码Token进行填充,以预测潜在的冒犯性语言。 本数据集仅为三类任务构建优质训练数据:掩码填充任务、文本训练任务,以及基于该模型下可操作的随机Token生成评分响应。 为清晰展示迭代进展,数据集包含三列数据:原始提取的文本数据、随机掩码后的文本,以及附带hatebert模型输出评分列表的填充后文本。 经有限实践测试,hatebert模型多数情况下会使用无冒犯性的占位符进行填充。 hatebert如其名称所示,是一款基于BERT架构、针对掩码填充任务训练的模型。 [民用评论数据集](https://huggingface.co/datasets/civil_comments) [hatebert模型](https://huggingface.co/datasets/civil_comments) [更多贡献信息](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
数据集概述
数据集信息
- 特征:
text: 类型为stringtext_masked: 类型为stringtext_replaced: 包含以下子特征score: 类型为float64sequence: 类型为stringtoken: 类型为int64token_str: 类型为string
- 分割:
train: 字节数为 872262083,样本数为 451219
- 下载大小: 333147199 字节
- 数据集大小: 872262083 字节
配置
- 配置名称:
default - 数据文件:
train: 路径为data/train-*
许可
- 许可证: MIT
任务类别
- 文本分类
- 文本生成
- 填充掩码
语言
- 英语
标签
- 掩码
- 掩码评分
- 评论评分
- 掩码模型
易读名称
civil comments w/hatebert scoring
大小类别
- 100K<n<1M




