<commit_before># amazon_polarity

参考：

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

## amazon_polarity

Use the following command to load this dataset in TFDS:

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

- **Description**:

```
The Amazon reviews dataset consists of reviews from amazon.
The data span a period of 18 years, including ~35 million reviews up to March 2013.
Reviews include product and user information, ratings, and a plaintext review.
```

- **许可**：Apache License 2.0
- **版本**：3.0.0
- **拆分**：

拆分 | 样本
:-- | --:
`'test'` | 400000
`'train'` | 3600000

- **特征**：

```json<commit_msg>Translate amazon_polarity.md via GitLocalize<commit_after># amazon_polarity

参考：

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

## amazon_polarity

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

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

- **说明**：

```
The Amazon reviews dataset consists of reviews from amazon.
The data span a period of 18 years, including ~35 million reviews up to March 2013.
Reviews include product and user information, ratings, and a plaintext review.
```

- **许可**：Apache License 2.0
- **版本**：3.0.0
- **拆分**：

拆分 | 样本
:-- | --:
`'test'` | 400000
`'train'` | 3600000

- **特征**：

```json
{'fraction_non_alphanumeric': 0.15800273597811218, 'fraction_numerical': 0.03556771545827633, 'mean_word_length': 4.670542635658915, 'pattern_counts': {'":': 0, '<': 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': '3403470', 'n_tokens_mistral': 606, 'n_tokens_neox': 557, 'n_words': 133}