TurkReviews / README.md
mustafaoksuz's picture
Upload README.md with huggingface_hub
d410f24 verified
|
Raw History Blame Contribute Delete
25.9 kB
metadata
pretty_name: TurkReviews
language:
  - tr
license: cc-by-nc-sa-4.0
task_categories:
  - text-classification
task_ids:
  - sentiment-classification
  - multi-class-classification
size_categories:
  - 1M<n<10M
tags:
  - turkish
  - product-reviews
  - e-commerce
  - sentiment-analysis
  - opinion-mining
configs:
  - config_name: reviews
    default: true
    data_files:
      - split: train
        path: reviews/train-*.parquet
      - split: validation
        path: reviews/validation-*.parquet
      - split: test
        path: reviews/test-*.parquet
  - config_name: balanced
    data_files:
      - split: train
        path: balanced/train-*.parquet
      - split: validation
        path: balanced/validation-*.parquet
      - split: test
        path: balanced/test-*.parquet
  - config_name: sample
    data_files:
      - split: train
        path: sample/train-*.parquet
      - split: validation
        path: sample/validation-*.parquet
      - split: test
        path: sample/test-*.parquet
  - config_name: products
    data_files:
      - split: train
        path: products/train-*.parquet
      - split: validation
        path: products/validation-*.parquet
      - split: test
        path: products/test-*.parquet
extra_gated_prompt: >-
  TurkReviews is released under CC BY-NC-SA 4.0 for non-commercial research use.
  By requesting access you agree not to use the data commercially, not to
  attempt to re-identify reviewers, to share derivatives under the same licence,
  and to cite the dataset.
extra_gated_fields:
  Name: text
  Affiliation: text
  Intended use: text
  I agree to use this dataset for non-commercial research only and not to attempt to re-identify reviewers: checkbox

TurkReviews

TurkReviews is a large-scale corpus of Turkish e-commerce product reviews: 7,854,159 reviews of 73,392 products, collected from 12 Turkish online retailers and labelled with a two-level product taxonomy (25 domains, 398 categories). Listings of the same product on different sites are merged under a single product id, so reviews of one product can be compared across platforms (28,352 products appear on two or more sites).

The release ships with product-disjoint, leakage-controlled train / validation / test splits, a rating-balanced subset (350k) and a 50k sample for quick experiments.

Static snapshot — this dataset is not updated. TurkReviews is a one-off research sample collected in November 2026. Its purpose is to provide a fixed, citable corpus of Turkish product reviews, not to mirror the current reviews on the source sites. See Maintenance.

Quick start

from datasets import load_dataset

ds = load_dataset("kulliyat/TurkReviews")                  # full corpus (config "reviews")
bal = load_dataset("kulliyat/TurkReviews", "balanced")     # 350k, equal number of reviews per star rating
smp = load_dataset("kulliyat/TurkReviews", "sample")       # 50k, nested in "balanced"
prd = load_dataset("kulliyat/TurkReviews", "products")     # one row per product

# Typical filtering for text modelling on the full corpus:
clean = ds["train"].filter(lambda r: not r["is_short"] and r["dup_type"] is None)

Configurations and splits

Config Unit train validation test Total
reviews (default) review 6,280,899 787,209 786,051 7,854,159
balanced review 280,000 35,000 35,000 350,000
sample review 40,000 5,000 5,000 50,000
products product 58,238 7,642 7,512 73,392

reviews — every published review, including very short ones (is_short) and duplicates (dup_type), which are flagged rather than removed.

balanced — built for sentiment / rating classification. It contains only reviews with is_short = false that are not duplicates (dup_type is null) and have a rating. Every split holds the same number of reviews for each star rating (train 56,000 / validation 7,000 / test 7,000 per rating). Within a rating, the source × domain composition of the eligible pool is preserved, and no product contributes more than 25 reviews per split and rating. Its splits are subsets of the reviews splits.

sample — a nested 50k subset of balanced with the same structure (8,000 / 1,000 / 1,000 per rating).

products — one row per product with its taxonomy labels, split, number of reviews, number of sites and mean rating. The product's split is the split of all its reviews.

How the splits were made

  • Product-disjoint. All reviews of a product are in the same split (80 / 10 / 10 by reviews).
  • Duplicate-aware. Products that share at least two distinct duplicate texts (in practice, variants of the same listing) are kept together. Template texts that appear on more than 10 products do not link products; where copies of such a text end up in different splits, the reviews are flagged with dup_cross_split = true (19,977 reviews in 4,191 duplicate groups). The balanced and sample configs contain no text of 50 characters or more in more than one split.
  • Stratified. Products were assigned by a greedy iterative-stratification procedure that keeps the share of each split close to 80/10/10 for every source, domain, category and source × domain cell. The largest deviation is 0.82 percentage points for domains and 0.50 for sources; for categories with at least 100k reviews the median deviation is 0.13 points. Categories dominated by a handful of very large products deviate more (e.g. kitchen_knife, media_player, 4–5 points). Every category has reviews in validation and test.
  • Splits are deterministic (seed 20261111). Validation and test products have on average 103 and 105 reviews per product, train 108, so the evaluation splits are not biased towards small products.

Sources

Reviews were collected from the public product pages of 12 sites. Collection was completed in November 2026. The source field records the site each review came from.

source Site Reviews Products Review dates Mean rating review_title filled (%) Gender known (%) is_short (%)
trendyol Trendyol 4,241,525 29,392 2020-05 – 2026-11 4.40 0 8.4 1.2
hepsiburada Hepsiburada 2,134,843 31,552 2000-11 – 2026-11 4.32 0 3.0 5.5
n11 n11 1,140,705 30,265 2013-03 – 2026-11 4.61 15.0 18.8 12.4
gratis Gratis 70,315 3,852 2019-02 – 2026-11 4.23 0 0 2.5
vatan Vatan Bilgisayar 67,482 3,021 2018-11 – 2026-10 4.77 0 87.2 9.0
watsons Watsons 61,246 2,442 2021-05 – 2026-11 4.46 100 0 2.9
pazarama Pazarama 45,916 2,607 2021-06 – 2026-11 4.22 72.4 8.2 1.2
koctas Koçtaş 32,427 2,755 2013-02 – 2026-11 4.57 0 0 8.1
ebebek e-bebek 23,615 660 2015-09 – 2026-09 4.57 100 21.8 0.4
amazon Amazon.com.tr 20,290 725 2018-09 – 2026-11 4.12 100 68.5 4.6
teknosa Teknosa 12,970 1,867 2018-12 – 2026-10 4.39 51.1 46.2 2.2
mediamarkt MediaMarkt 2,825 1,198 2014-04 – 2026-10 4.22 100 42.4 0.7
Total 7,854,159 73,392 2000-11 – 2026-11 4.41 4.1 9.2 4.1

Products are counted once per site, so the product column sums to more than the total. 87% of reviews were written in 2023–2026; the 3,227 reviews dated before 2013 all come from Hepsiburada.

Dataset statistics

Domain Categories Products Reviews Share of reviews (%) Reviews per product
apparel 11 28,089 3,578,356 45.6 127
electronics 62 6,778 723,015 9.2 107
home_appliance 18 2,312 526,850 6.7 228
personal_care 32 8,275 524,666 6.7 63
kitchen_appliance 25 2,005 412,456 5.3 206
books_media 5 1,824 412,430 5.3 226
jewelry_watch 3 3,335 311,745 4.0 93
white_goods 16 2,408 154,920 2.0 64
home_living 26 4,354 148,350 1.9 34
baby 17 1,454 140,831 1.8 97
household_consumable 15 1,072 140,315 1.8 131
cookware 12 1,468 138,841 1.8 95
sports_outdoor 12 1,032 107,598 1.4 104
health 10 1,378 102,020 1.3 74
pet 9 700 85,760 1.1 123
auto 21 804 55,549 0.7 69
power_tools 17 981 54,586 0.7 56
food_beverage 16 801 48,912 0.6 61
stationery 10 497 35,922 0.5 72
tableware 5 544 33,427 0.4 61
hand_tools 13 461 29,097 0.4 63
toys_hobby 12 1,257 27,339 0.3 22
home_improvement 16 949 26,090 0.3 27
garden 14 528 22,908 0.3 43
other 1 86 12,176 0.2 142
Total 398 73,392 7,854,159 100 107

Per-category counts are provided in category_stats.csv (domain, category, Turkish label, products, reviews).

The median product has 17 reviews; 1,471 products have at least 1,000 reviews and 29,309 have fewer than 10.

Rating distribution

Rating 1 2 3 4 5
Reviews 613,525 185,298 400,636 819,778 5,834,722
Share (%) 7.8 2.4 5.1 10.4 74.3

200 Koçtaş reviews have no rating. The distribution is strongly J-shaped, as on most e-commerce platforms; use the balanced config or class weighting for rating / sentiment classification.

Category taxonomy

Every product carries a coarse domain and a finer category (English snake_case slug) together with a Turkish label, category_tr. The taxonomy was built by mapping each site's own category paths to a shared set of slugs, using product names to resolve ambiguous cases. Categories with fewer than 5 products or fewer than 100 reviews were merged into their nearest neighbour or into a <domain>_other bucket (two small categories, stationery_other and calculator, remain below the threshold).

The category distribution is long-tailed

The 10 largest categories hold 50.6% of all reviews, the 50 largest 80.5% and the 100 largest 90.1%; the median category has about 3,100 reviews and 56 products.

Recommended threshold for category-level work. For tasks that treat category as a label or a stratum, we recommend using only categories with at least 1,000 reviews:

Minimum reviews per category Categories kept Share of reviews kept (%)
100 396 100.0
500 335 99.8
1,000 (recommended) 289 99.4
5,000 149 94.5
10,000 98 89.9

Smaller categories are kept for completeness but are too small for reliable per-category estimates. For domain-level work no filtering is needed.

Data fields

Review configs (reviews, balanced, sample)

Field Type Description
source string Site the review was collected from (see Sources)
review_id string Review identifier assigned by the source site; (source, review_id) is unique
product_id int32 Product key; the same product on different sites shares one id
brand string Product brand, normalised across sites; null when unknown or ambiguous (1,276 products)
domain string Coarse product domain (25 values)
category string Product category slug (398 values)
category_tr string Turkish label of the category
review_title string Review title; only some sites have titles (4.1% filled, see Sources)
review_text string Review text as published, with personal information masked (see below); median 45 characters, 90th percentile 165
is_short bool Normalised text is shorter than 10 characters (e.g. "güzel", "harika") — 4.1%
rating int8 Star rating 1–5; null for 200 reviews
review_date date Date the review was posted
inferred_gender string female, male or unknown, inferred from the reviewer's first name (see below)
gender_confidence float64 Confidence of inferred_gender; 0 for unknown
dup_type string Null for original or unique reviews; otherwise the type of copy (see below)
dup_group_id int32 Identifier shared by all members of a duplicate group, including the original; null otherwise
dup_cross_split bool The review's duplicate group spans more than one split

The split is given by the file / split name and is not repeated as a column.

products config

Field Type Description
product_id, brand, domain, category, category_tr As above
split string train, validation or test
n_reviews int32 Number of reviews in reviews
n_reviews_not_short int32 Number of reviews with is_short = false
n_sources int8 Number of sites the product was collected from
sources list[string] Those sites
mean_rating float64 Mean star rating (3 decimals)

Reviewer names, seller names, URLs, product names and identifiers such as barcodes are not published.

Personal information in review texts is masked

Reviewer accounts are not published, but some users wrote personal details into the review itself (for example an e-mail address for an invoice, or a phone number). These parts of review_title and review_text are replaced with placeholders; the rest of the text is kept:

Placeholder Replaces Reviews (full corpus)
[KULLANICI] Social media handle (@username) 2,867
[URL] Web link 371
[NUMARA] Other number of 10+ digits (order, tracking, IMEI, customer number) 247
[TELEFON] Turkish phone number 114
[EMAIL] E-mail address 57
[TCKN] Turkish national ID number (checksum-validated) 3
[KART_NO] Payment card number (Luhn-validated) 2
[IBAN] Bank account number 2

About 3,600 reviews (0.05%) are affected. Masking is rule-based; it errs on the side of masking long digit strings, so a few product codes are masked as well. Personal names that appear in the text are not masked (mostly first names of shop or courier staff, e.g. "Hakan Bey'e teşekkürler"). If you find personal information that was missed, please report it in the Community tab; it is masked or removed in the next release.

Duplicates are flagged, not removed

Each review has a site-assigned id, and the same text written by different users is genuine data, so no review is dropped as a duplicate. Copies are marked instead; the earliest review of a group (then site priority, then id) is the original and has dup_type = null.

dup_type Meaning Reviews
null Original or unique review 7,782,124
exact_cross_product Same text (≥ 50 characters) on another product 38,084
exact_same_source Same text on the same product and site 26,629
exact_cross_source Same text on the same product on another site 6,322
near_same_source Near duplicate (character 5-gram Jaccard ≥ 0.85, ≥ 40 characters), same site 956
near_cross_source Near duplicate on another site 44

For texts shorter than five words, an exact match counts as a copy only when the reviewer name (when it is shown unmasked) and the date are also the same, because short generic texts ("çok güzel ürün") are written independently by many users. Such independent short texts are not grouped and can occur in more than one split.

To drop copies, keep rows where dup_type is null. To avoid any duplicate-group overlap between training and evaluation data, additionally drop dup_cross_split = true from validation and test.

Inferred gender

inferred_gender is set only when the reviewer's first name is shown in full by the site and is unambiguous in a Turkish first-name dictionary (about 2,000 hand-curated names plus a filtered external list); masked names ("A*** K***"), nicknames and unisex names are unknown. 9.2% of reviews have a gender (332,823 female, 392,001 male).

A manual check of 864 sampled name–gender assignments found no assignment of the opposite gender; about 1.1% of assignments (review-weighted) were names that can be used for both genders. The check was done by a single annotator who could see the assigned label, so it is a sanity check rather than an independent evaluation.

Coverage ranges from 0% to 87% by source depending on whether the site shows names, so the labelled subset is self-selected and not representative of all reviewers. Trendyol's labelled reviewers lean female and n11's lean male.

Intended uses

  • Sentiment and rating classification, aspect and opinion mining in Turkish.
  • Cross-domain and cross-platform studies (the same product reviewed on different sites).
  • Studies of review behaviour: rating distributions, review length, platform differences.
  • Pre-training or evaluation data for Turkish language models in the e-commerce domain.

The dataset must not be used to identify, profile or contact individual reviewers.

Known limitations and biases

  • Domain imbalance. apparel accounts for 46% of reviews; the three largest sites provide 95%.
  • Rating skew. 74% of reviews are 5-star (see above).
  • Not a representative sample. The product pool was chosen by the authors and is not a random sample of any site's catalogue; category shares do not reflect the true distribution on the source platforms.
  • Uneven depth. Reviews per product range from 22 (toys_hobby) to 228 (home_appliance) on average; Koçtaş and Pazarama products typically have only a few reviews each.
  • Product ids of generic products. A few products sold under many seller brands (e.g. generic toys, prayer counters) were merged into one product id, which then represents a product type rather than a single item.
  • MediaMarkt. 2,014 of the 4,839 collected MediaMarkt reviews had no text and were removed; the remaining 2,825 are published.
  • Removed records. 3,392 reviews whose text was empty or shorter than three characters were removed before release. Nothing else was removed.
  • Platform moderation. Sites publish only reviews that passed their own moderation; rejected reviews are not observable. Reviews may have been edited or deleted on the source sites after collection.

Maintenance and update policy

  • Update frequency: none. The dataset is a fixed snapshot taken in November 2026. The existing source sites will not be re-crawled, and reviews published on them after collection will never be added.

  • Why. The goal is a stable sample corpus for reproducible research; tracking the live state of the source sites is out of scope.

  • What can still change. New versions are released only to:

    • fix errors in the data, labels or documentation;
    • remove records at the request of rights holders (see Access, licence and takedown);
    • add reviews from new source sites (the collection date of each new site is documented in the changelog);
    • add new columns (annotations) to the existing records.

    Each release gets a version tag and a changelog entry; earlier versions remain citable by revision.

Access, licence and takedown

The dataset is gated and released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 licence for non-commercial research use. The review texts were written by the users of the source sites; the licence covers the compilation, annotations and splits, and users are responsible for complying with applicable law when using the texts.

Attribution. Any publication, presentation, thesis, model or other work that uses TurkReviews, in whole or in part, must cite the dataset as specified in the dataset card (BibTeX: oksuz2026turkreviews).

If you are a rights holder — a platform operator, the author of a review or another person with a claim to the content — and request that your data be removed, please open a discussion in the Community tab. The data in question is removed in the next release.

Citation

Maintainer: Mustafa Öksüz (ORCID 0009-0003-3197-6874), Külliyat.

DOI

@misc{oksuz2026turkreviews,
  author    = {Öksüz, Mustafa},
  title     = {{TurkReviews}: A Large-Scale Corpus of {Turkish} E-Commerce Product Reviews},
  year      = {2026},
  publisher = {Hugging Face},
  doi       = {10.57967/hf/11837},
  url       = {https://huggingface.co/datasets/kulliyat/TurkReviews},
  note      = {Version 1.0, revision 1de7c8a}
}

Türkçe özet

Bu bölüm İngilizce veri kartının özetidir. Kaynak tabloları, alan açıklamaları ve istatistikler yukarıdaki bölümlerdedir; iki metin arasında fark olursa İngilizce metin esas alınır.

TurkReviews, 12 Türk e-ticaret sitesinden toplanan 7.854.159 Türkçe ürün yorumu ve 73.392 üründen oluşan, iki düzeyli bir ürün taksonomisiyle (25 domain, 398 kategori) etiketlenmiş bir derlemdir. Aynı ürünün farklı sitelerdeki kayıtları tek ürün kimliği altında birleştirilmiştir (28.352 ürün en az iki sitede yer alır).

Yapılandırmalar. reviews tam veri setidir (kısa yorumlar is_short, kopyalar dup_type ile işaretlidir, silinmemiştir). balanced duygu/puan sınıflandırması için her bölmede her puandan eşit sayıda yorum içeren 350 binlik alt kümedir; sample bunun 50 binlik iç içe alt kümesidir; products ürün başına bir satırdır.

Bölmeler. Train / validation / test (%80 / 10 / 10) ürün bazlıdır: bir ürünün tüm yorumları aynı bölmededir. En az iki ortak kopya metni paylaşan ürünler (varyantlar) birlikte tutulur. Bölmeler; kaynak, domain, kategori ve kaynak × domain düzeyinde dengelenmiştir (domain ve kaynak sapması en fazla 0,8 puan).

Önerilen filtreler. Kopyaları atmak için dup_type boş olanları tutun; metin modellemede is_short = false kullanın; değerlendirme bölmelerinde kopya grubu çakışmasını tamamen önlemek için dup_cross_split = true olanları çıkarın. Kategori düzeyi çalışmalarda en az 1.000 yorumu olan kategorilerle (398 kategorinin 289'u, yorumların %99,4'ü) çalışılması önerilir.

Bakım ve güncelleme politikası.

  • Güncelleme sıklığı: yok. Veri seti, Kasım 2026'da alınmış sabit bir anlık görüntüdür. Mevcut kaynak siteler yeniden taranmayacak, bu sitelerde toplama tarihinden sonra yayımlanan yorumlar hiçbir zaman eklenmeyecektir.

  • Neden. Amaç, tekrarlanabilir araştırmalar için sabit bir örnek derlem sunmaktır; kaynak sitelerin güncel durumunu takip etmek kapsam dışıdır.

  • Neler yine de değişebilir. Yeni sürümler yalnızca şu amaçlarla yayımlanır:

    • verideki, etiketlerdeki ya da dokümantasyondaki hataları düzeltmek;
    • hak sahiplerinin talebiyle kayıtları kaldırmak (bkz. aşağıdaki Erişim, lisans ve kaldırma);
    • yeni kaynak sitelerden yorum eklemek (her yeni sitenin toplama tarihi sürüm notlarında belirtilir);
    • mevcut kayıtlara yeni kolonlar (etiketler) eklemek.

    Her sürüm bir sürüm etiketi ve sürüm notu alır; önceki sürümlere revizyon üzerinden atıf verilebilir.

Erişim, lisans ve kaldırma. Veri seti erişim formludur (gated) ve ticari olmayan araştırma kullanımı için Creative Commons Atıf-GayriTicari-AynıLisanslaPaylaş 4.0 lisansıyla yayımlanır. Yorum metinleri kaynak sitelerin kullanıcıları tarafından yazılmıştır; lisans derlemeyi, etiketleri ve bölmeleri kapsar, metinleri kullanırken yürürlükteki mevzuata uymak kullanıcının sorumluluğundadır.

Atıf. TurkReviews'un tamamını veya bir bölümünü kullanan her yayın, sunum, tez, model veya başka çalışma, veri kartında belirtilen biçimde veri setine atıf yapmalıdır.

Hak sahibiyseniz (platform işletmecisi, bir yorumun yazarı ya da içerik üzerinde hak iddia eden başka bir kişi) ve verilerinizin kaldırılmasını talep ediyorsanız, lütfen Community sekmesinde bir tartışma açın. İlgili veri bir sonraki sürümde kaldırılır.

Kişisel bilgilerin maskelenmesi. Kullanıcı hesapları yayınlanmaz. Bazı kullanıcıların yorum metnine yazdığı kişisel bilgiler yer tutucularla değiştirilmiştir: [KULLANICI] (sosyal medya kullanıcı adı), [URL], [NUMARA] (sipariş, kargo takip, IMEI gibi 10+ haneli numaralar), [TELEFON], [EMAIL], [TCKN], [KART_NO], [IBAN]. Yaklaşık 3.600 yorum (%0,05) etkilenmiştir. Maskeleme kural tabanlıdır; metin içindeki kişi adları (çoğunlukla mağaza ya da kargo çalışanlarının ön adları) maskelenmemiştir. Gözden kaçan bir kişisel bilgi görürseniz Community sekmesinden bildirin; bir sonraki sürümde maskelenir ya da kaldırılır.

Sınırlılıklar. Yorumların %46'sı apparel domainindedir; puanların %74'ü 5 yıldızdır; ürün havuzu rastgele bir örneklem değildir; cinsiyet etiketi yalnızca adını açık gösteren kullanıcılarda (%9,2) bulunur ve seçilim yanlılığı taşır.

Hızlı başlangıç. load_dataset("kulliyat/TurkReviews") tam veri setini, "balanced", "sample" ve "products" diğer yapılandırmaları yükler (bkz. Quick start).

Atıf. DOI: 10.57967/hf/11837. BibTeX için Citation bölümündeki oksuz2026turkreviews kaydını kullanın.