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

ds = tfds.load('huggingface:allegro_reviews')
  • 说明
Allegro Reviews is a sentiment analysis dataset, consisting of 11,588 product reviews written in Polish and extracted
from - a popular e-commerce marketplace. Each review contains at least 50 words and has a rating on a scale
from one (negative review) to five (positive review).

We recommend using the provided train/dev/test split. The ratings for the test set reviews are kept hidden.
You can evaluate your model using the online evaluation tool available on
  • 许可:CC BY-SA 4.0
  • 版本:1.0.0
  • 拆分
拆分 样本
'test' 1006
'train' 9577
'validation' 1002
  • 特征
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    "rating": {
        "dtype": "float32",
        "id": null,
        "_type": "Value"