<commit_before># cdt

参考：

- [代码](https://github.com/huggingface/datasets/blob/master/datasets/cdt)
- [Huggingface](https://huggingface.co/datasets/cdt)

Use the following command to load this dataset in TFDS:

```python
ds = tfds.load('huggingface:cdt')
```

- **Description**:

```
The Cyberbullying Detection task was part of 2019 edition of PolEval competition. The goal is to predict if a given Twitter message contains a cyberbullying (harmful) content.
```

- **许可**：BSD 3-Clause
- **Version**: 1.1.0
- **拆分**：

拆分 | 样本
:-- | --:
`'test'` | 1000
`'train'` | 10041

- **特征**：

```json
{
    "sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "target": {
        "num_classes": 2,
        "names": [
            "0",
            "1"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}
```
<commit_msg>Translate cdt.md via GitLocalize<commit_after># cdt

参考：

- [代码](https://github.com/huggingface/datasets/blob/master/datasets/cdt)
- [Huggingface](https://huggingface.co/datasets/cdt)

使用以下命令在 TFDS 中加载此数据集：

```python
ds = tfds.load('huggingface:cdt')
```

- **说明**：

```
The Cyberbullying Detection task was part of 2019 edition of PolEval competition. The goal is to predict if a given Twitter message contains a cyberbullying (harmful) content.
```

- **许可**：BSD 3-Clause
- **版本**：1.0.0
- **拆分**：

拆分 | 样本
:-- | --:
`'test'` | 1000
`'train'` | 10041

- **特征**：

```json
{
    "sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "target": {
        "num_classes": 2,
        "names": [
            "0",
            "1"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}
```

{'fraction_non_alphanumeric': 0.19104308390022676, 'fraction_numerical': 0.022675736961451247, 'mean_word_length': 2.4540117416829745, 'pattern_counts': {'":': 20, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6076828', 'n_tokens_mistral': 732, 'n_tokens_neox': 685, 'n_words': 151}