Datasets:
id int64 | source string | lang string | text string | aspect string | sentiment string | polarity_score int64 | adr_flag int64 | severity string | negation int64 | speculation int64 | sarcasm int64 | cue_span string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | telegram | uz-latin | Dori ichganimdan keyin bosh og‘rig‘i ancha kamaydi. | dori | POS | 1 | 0 | null | 0 | 0 | 0 | null |
2 | instagram | uz-latin | Navbat juda uzun, registraturada 2 soat turdim. | kutish-vaqti | NEG | -2 | 0 | null | 0 | 0 | 0 | null |
3 | forum | uz-latin | Shifokor juda e’tiborli ekan, tushuntirishi yoqdi. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
4 | web-komment | uz-latin | Tabletka ichsam qorinim bezovta bo‘ldi. | dori | NEG | -1 | 1 | null | 0 | 0 | 0 | Tabletka ichsam qorinim bezovta bo‘ldi |
5 | telegram | uz-latin | Ehtimol toshma doridan bo‘lsa kerak. | dori | NEG | -1 | 1 | null | 0 | 1 | 0 | bo‘lsa kerak |
6 | instagram | uz-latin | Analiz javoblari tez chiqdi, qulay bo‘ldi. | diagnostika | POS | 1 | 0 | null | 0 | 0 | 0 | null |
7 | forum | uz-latin | Hech qanday yon ta’sir sezmadim. | dori | POS | 1 | 0 | null | 1 | 0 | 0 | Hech qanday |
8 | web-komment | uz-latin | Palatada sovuq, isitish ishlamadi. | infratuzilma | NEG | -1 | 0 | null | 1 | 0 | 0 | ishlamadi |
9 | telegram | uz-latin | Narxi oqilona, ammo navbat muammo. | narx | POS | 1 | 0 | null | 0 | 0 | 0 | null |
10 | telegram | uz-latin | Narxi oqilona, ammo navbat muammo. | kutish-vaqti | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
11 | instagram | uz-latin | Emizikli paytda bu dori xavfsizmi? | dori | NEU | 0 | 0 | null | 0 | 1 | 0 | bu dori xavfsizmi |
12 | forum | uz-latin | Jarayondan keyin og‘riq bo‘lmadi. | muolaja | POS | 1 | 0 | null | 1 | 0 | 0 | bo‘lmadi |
13 | web-komment | uz-latin | “Zo‘r” klinika ekan, uch marta navbat qayta oldim. | kutish-vaqti | NEG | -2 | 0 | null | 0 | 0 | 1 | “Zo‘r” klinika ekan, uch marta navbat qayta oldim |
14 | telegram | uz-latin | Tunda yo‘tal kuchaydi, sirop yordam bermadi. | simptom | NEG | -1 | 0 | null | 1 | 0 | 0 | yordam bermadi |
15 | telegram | uz-latin | Tunda yo‘tal kuchaydi, sirop yordam bermadi. | dori | NEG | -1 | 0 | null | 1 | 0 | 0 | yordam bermadi |
16 | instagram | uz-latin | Rentgen tez va og‘riqsiz bo‘ldi. | diagnostika | POS | 2 | 0 | null | 0 | 0 | 0 | null |
17 | forum | uz-latin | In’eksiyadan keyin isitma ko‘tarildi. | muolaja | NEG | -1 | 1 | null | 0 | 0 | 0 | In’eksiyadan keyin isitma ko‘tarildi |
18 | web-komment | uz-latin | Qabulga onlayn yozilish juda qulay. | xizmat | POS | 1 | 0 | null | 0 | 0 | 0 | null |
19 | telegram | uz-latin | Shifokor nomini aytmayman, lekin munosabati yoqmadi. | shifokor-munosabati | NEG | -1 | 0 | null | 1 | 0 | 0 | munosabati yoqmadi |
20 | instagram | uz-latin | Ehtimol parhezni to‘g‘ri tutmaganimdandir. | parhez | NEU | 0 | 0 | null | 1 | 1 | 0 | to‘g‘ri tutmaganimdandir |
21 | forum | uz-latin | Yon ta’sirlar ro‘yxatini o‘qib qo‘rqib ketdim. | dori | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
22 | web-komment | uz-latin | Katta rahmat, maslahatingizdan keyin bosim barqarorlashdi. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
23 | telegram | uz-latin | Muolajadan so‘ng ko‘ngil aynishi bo‘ldi. | muolaja | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
24 | instagram | uz-latin | Dorini almashtirgach, uyqum yaxshilandi. | dori | POS | 1 | 0 | null | 0 | 0 | 0 | null |
25 | web-komment | uz-latin | Tahlil narxi baland, sifat esa o‘rtacha. | narx | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
26 | web-komment | uz-latin | Tahlil narxi baland, sifat esa o‘rtacha. | diagnostika | NEU | 0 | 0 | null | 0 | 0 | 0 | null |
27 | telegram | uz-latin | “Hech narsa o‘zgarmadi”, siropdan foyda ko‘rmadim. | dori | NEG | -2 | 0 | null | 1 | 0 | 0 | Hech narsa |
28 | instagram | uz-latin | Registrator yordam berdi, jarayon tushunarli. | xizmat | POS | 1 | 0 | null | 0 | 0 | 0 | null |
29 | forum | uz-latin | Ehtimol allergiya boshlangan, terim qizarib ketdi. | simptom | NEG | -1 | 0 | null | 0 | 1 | 0 | Ehtimol |
30 | telegram | uz-latin | Dori ichganimdan keyin bosh og‘riq deyarli yo‘qoldi. | dori | POS | 1 | 0 | null | 0 | 0 | 0 | null |
31 | instagram | uz-latin | Shifokor juda e’tiborli edi, tushunarli gapirdi. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
32 | forum | uz-latin | Navbat kutish juda zerikarli, tizim ishlamayapti. | kutish-vaqti | NEG | -2 | 0 | null | 1 | 0 | 0 | tizim ishlamayapti |
33 | web | uz-latin | Tabletka ichganimdan keyin qorinimda og‘riq paydo bo‘ldi. | dori | NEG | -1 | 1 | null | 0 | 0 | 0 | Tabletka ichganimdan keyin qorinimda og‘riq paydo bo‘ldi |
34 | instagram | uz-latin | Analiz natijalari bir kunda tayyor bo‘ldi. | diagnostika | POS | 2 | 0 | null | 0 | 0 | 0 | null |
35 | forum | uz-latin | Palatada sovuq, isitish ishlamayapti. | infratuzilma | NEG | -1 | 0 | null | 1 | 0 | 0 | isitish ishlamayapti |
36 | telegram | uz-latin | Dorini ichganimdan keyin terimda toshma chiqdi. | dori | NEG | -1 | 1 | null | 0 | 0 | 0 | Dorini ichganimdan keyin terimda toshma chiqdi |
37 | instagram | uz-latin | Ularning onlayn yozilish tizimi juda qulay! | xizmat | POS | 2 | 0 | null | 0 | 0 | 0 | null |
38 | web | uz-latin | “Zo‘r” klinika ekan, uch soat kutdim. | kutish-vaqti | NEG | -2 | 0 | null | 0 | 0 | 1 | “Zo‘r” klinika ekan, uch soat kutdim |
39 | telegram | uz-latin | Muolajadan so‘ng yengillik sezdim. | muolaja | POS | 1 | 0 | null | 0 | 0 | 0 | null |
40 | forum | uz-latin | Hech narsa o‘zgarmadi, doridan foyda ko‘rmadim. | dori | NEG | -2 | 0 | null | 1 | 0 | 0 | Hech narsa |
41 | web | uz-latin | Qabul jarayoni juda tez va tartibli bo‘ldi. | xizmat | POS | 2 | 0 | null | 0 | 0 | 0 | null |
42 | telegram | uz-latin | Tahlil javoblari aniq, lekin narxi baland. | diagnostika | NEU | 0 | 0 | null | 0 | 0 | 0 | null |
43 | instagram | uz-latin | Shifokor bemorga hurmat bilan muomala qiladi. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
44 | forum | uz-latin | Tibbiy xizmat sifati o‘rtacha, lekin joy qulay. | xizmat | NEU | 0 | 0 | null | 0 | 0 | 0 | null |
45 | web | uz-latin | In’eksiyadan keyin qo‘lim shishib ketdi. | muolaja | NEG | -1 | 1 | null | 0 | 0 | 0 | In’eksiyadan keyin qo‘lim shishib ketdi |
46 | telegram | uz-latin | Ehtimol, bu dorining yon ta’siri bo‘lishi mumkin. | dori | NEG | -1 | 1 | null | 0 | 1 | 0 | bo‘lishi mumkin |
47 | instagram | uz-latin | Tibbiyot xodimlari juda samimiy. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
48 | forum | uz-latin | Registrator juda qo‘pol gapirdi. | xizmat | NEG | -2 | 0 | null | 0 | 0 | 0 | null |
49 | web | uz-latin | Dorini almashtirgach, holatim yaxshilandi. | dori | POS | 1 | 0 | null | 0 | 0 | 0 | null |
50 | telegram | uz-latin | Tibbiy markazni tavsiya qilaman, hammasi a’lo. | xizmat | POS | 2 | 0 | null | 0 | 0 | 0 | null |
51 | instagram | uz-latin | Tunda isitmam ko‘tarildi, dori foyda bermadi. | simptom | NEG | -1 | 0 | null | 1 | 0 | 0 | dori foyda bermadi |
52 | forum | uz-latin | Tibbiyot markazida tozalik yaxshi yo‘lga qo‘yilgan. | infratuzilma | POS | 1 | 0 | null | 0 | 0 | 0 | null |
53 | web | uz-latin | Kattalar uchun joy kam, noqulay. | infratuzilma | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
54 | telegram | uz-latin | Parhezga rioya qilganimdan keyin ahvolim yaxshilandi. | parhez | POS | 1 | 0 | null | 0 | 0 | 0 | null |
55 | instagram | uz-latin | Shifokor telefon orqali ham maslahat berdi. | shifokor-munosabati | POS | 1 | 0 | null | 0 | 0 | 0 | null |
56 | web | uz-latin | Klinikada havo yetarli emas, tiqilinch. | infratuzilma | NEG | -1 | 0 | null | 1 | 0 | 0 | yetarli emas |
57 | telegram | uz-latin | Qabulga oson yozildim, yaxshi tashkil etilgan. | xizmat | POS | 2 | 0 | null | 0 | 0 | 0 | null |
58 | instagram | uz-latin | Bemorlar bilan yaxshi muomala, rahmat sizlarga! | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
59 | forum | uz-latin | Navbat yo‘q edi, tez qabul qilishdi. | kutish-vaqti | POS | 1 | 0 | null | 1 | 0 | 0 | Navbat yo‘q edi |
60 | web | uz-latin | Tibbiyot markazining joylashuvi juda qulay. | infratuzilma | POS | 1 | 0 | null | 0 | 0 | 0 | null |
61 | telegram | uz-latin | Analiz javoblarini noto‘g‘ri berishdi. | diagnostika | NEG | -2 | 0 | null | 0 | 0 | 0 | null |
62 | instagram | uz-latin | Dorining hidi yoqimsiz, lekin samarasi yaxshi. | dori | NEU | 0 | 0 | null | 0 | 0 | 0 | null |
63 | forum | uz-latin | Davolanish jarayoni aniq reja asosida o‘tmoqda. | muolaja | POS | 1 | 0 | null | 0 | 0 | 0 | null |
64 | web | uz-latin | Shifokor savollarimga javob bermadi. | shifokor-munosabati | NEG | -1 | 0 | null | 1 | 0 | 0 | javob bermadi |
65 | telegram | uz-latin | Ehtimol parhezga rioya qilmaganim uchun og‘riq qaytdi. | parhez | NEG | -1 | 0 | null | 1 | 1 | 0 | Ehtimol |
66 | instagram | uz-latin | Bu markazda tozalik yuqori darajada. | infratuzilma | POS | 2 | 0 | null | 0 | 0 | 0 | null |
67 | forum | uz-latin | Ko‘p vaqt navbat kutdim, charchadim. | kutish-vaqti | NEG | -2 | 0 | null | 0 | 0 | 0 | null |
68 | web | uz-latin | Dori yaxshi yordam berdi, yon ta’sir bo‘lmadi. | dori | POS | 2 | 0 | null | 1 | 0 | 0 | bo‘lmadi |
69 | telegram | uz-latin | Narxi arzon, sifati ham yomon emas. | narx | POS | 1 | 0 | null | 1 | 0 | 0 | yomon emas |
70 | instagram | uz-latin | Qabulda hamshira qo‘pol gapirdi. | xizmat | NEG | -1 | 0 | null | 0 | 0 | 0 | hamshira qo‘pol gapirdi |
71 | forum | uz-latin | Tibbiyot markazining binosi eski, ta’mirlash kerak. | infratuzilma | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
72 | web | uz-latin | Onlayn konsultatsiya juda qulay va tez. | xizmat | POS | 2 | 0 | null | 0 | 0 | 0 | null |
73 | telegram | uz-latin | Muolajadan keyin isitmam tushdi, o‘zimni yaxshi his qildim. | muolaja | POS | 2 | 0 | null | 0 | 0 | 0 | null |
74 | instagram | uz-latin | “Ajoyib” markaz, lekin parkovka yo‘q. | infratuzilma | NEG | -1 | 0 | null | 1 | 0 | 1 | parkovka yo‘q |
75 | telegram | uz-latin | Dorini ichganimdan keyin holatim sezilarli yaxshilandi. | dori | POS | 2 | 0 | null | 0 | 0 | 0 | null |
76 | instagram | uz-latin | Klinikada kutish vaqti qisqa, hammasi tartibli. | kutish-vaqti | POS | 2 | 0 | null | 0 | 0 | 0 | null |
77 | forum | uz-latin | Dori ichganimda ko‘nglim aynadi, endi ichmayapman. | dori | NEG | -1 | 1 | null | 1 | 0 | 0 | ichmayapman |
78 | web | uz-latin | Hamshira juda muloyim va e’tiborli edi. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
79 | telegram | uz-latin | Laboratoriya javoblari kechikdi, noqulay bo‘ldi. | diagnostika | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
80 | instagram | uz-latin | “Zo‘r xizmat”, faqat to‘lov tizimi ishlamadi. | xizmat | NEG | -1 | 0 | null | 1 | 0 | 1 | to‘lov tizimi ishlamadi |
81 | forum | uz-latin | Ehtimol bu dori menga to‘g‘ri kelmagandir. | dori | NEG | -1 | 0 | null | 1 | 1 | 0 | Ehtimol |
82 | web | uz-latin | Shifokor telefon orqali ham maslahat berdi, qulay. | shifokor-munosabati | POS | 1 | 0 | null | 0 | 0 | 0 | null |
83 | telegram | uz-latin | Klinikada tozalik yaxshi, lekin narx baland. | infratuzilma | NEU | 0 | 0 | null | 0 | 0 | 0 | null |
84 | instagram | uz-latin | Qabulga yozilish tizimi ishlamayapti. | xizmat | NEG | -1 | 0 | null | 1 | 0 | 0 | yozilish tizimi ishlamayapti |
85 | forum | uz-latin | Dori ichgandan keyin allergiya toshmalari chiqdi. | dori | NEG | -1 | 1 | null | 0 | 0 | 0 | Dori ichgandan keyin allergiya toshmalari chiqdi |
86 | web | uz-latin | Shifokorimni albatta boshqalarga ham tavsiya qilaman. | shifokor-munosabati | POS | 2 | 0 | null | 0 | 0 | 0 | null |
87 | telegram | uz-latin | Hech qanday o‘zgarish sezmadim. | dori | NEG | -1 | 0 | null | 1 | 0 | 0 | Hech qanday |
88 | instagram | uz-latin | Dorining hidi yomon, lekin foydasi katta. | dori | NEU | 0 | 0 | null | 0 | 0 | 0 | null |
89 | forum | uz-latin | Qabulda kutish 5 daqiqadan oshmadi. | kutish-vaqti | POS | 1 | 0 | null | 1 | 0 | 0 | 5 daqiqadan oshmadi |
90 | web | uz-latin | Ularning veb-sayti orqali yozilish oson bo‘ldi. | xizmat | POS | 1 | 0 | null | 0 | 0 | 0 | null |
91 | telegram | uz-latin | Tahlil xulosalari chalkash, yana topshirishga to‘g‘ri keldi. | diagnostika | NEG | -1 | 0 | null | 0 | 0 | 0 | null |
92 | instagram | uz-latin | Yon ta’sirlar bir haftadan so‘ng o‘tib ketdi. | dori | POS | 1 | 1 | null | 0 | 0 | 0 | Yon ta’sirlar |
93 | forum | uz-latin | Dorini almashtirgach, og‘riq butunlay yo‘qoldi. | dori | POS | 2 | 0 | null | 0 | 0 | 0 | null |
94 | web | uz-latin | Shifokor tajribali, to‘g‘ri tashxis qo‘ydi. | diagnostika | POS | 2 | 0 | null | 0 | 0 | 0 | null |
95 | telegram | uz-latin | Narxlar o‘rtacha, xizmat sifati esa yuqori. | narx | POS | 1 | 0 | null | 0 | 0 | 0 | null |
96 | instagram | uz-latin | Dorining ta’siri bo‘lmadi, yana og‘riyapman. | dori | NEG | -1 | 0 | null | 1 | 0 | 0 | bo‘lmadi |
97 | forum | uz-latin | Klinikada tozalik a’lo, bemorlarga qulaylik yaratilgan. | infratuzilma | POS | 2 | 0 | null | 0 | 0 | 0 | null |
98 | web | uz-latin | Shifokor bilan uchrashuv vaqtida hammasi tushunarli edi. | shifokor-munosabati | POS | 1 | 0 | null | 0 | 0 | 0 | null |
99 | telegram | uz-latin | In’eksiyadan keyin qattiq og‘riq paydo bo‘ldi. | muolaja | NEG | -1 | 1 | null | 0 | 0 | 0 | In’eksiyadan keyin qattiq og‘riq paydo bo‘ldi |
100 | instagram | uz-latin | Ehtimol allergiya boshlangan bo‘lishi mumkin. | simptom | NEG | -1 | 0 | null | 0 | 1 | 0 | bo‘lishi mumkin |
UzMedSentiment
UzMedSentiment contains 4,527 annotated text–aspect pairs in Uzbek for medical-domain sentiment analysis. It covers opinions and experiences concerning medicines, symptoms, treatment, diagnostics, and healthcare services, with additional labels for adverse drug reaction (ADR) signals and linguistic cues.
O‘zbekcha: UzMedSentiment — tibbiyotga oid o‘zbekcha matnlarning aspekt bo‘yicha sentimentini, nojo‘ya reaksiya signallarini, inkor, taxmin va sarkazm belgilarini o‘rganish uchun ma’lumotlar to‘plami.
- Repository: uznlp-uz/UzMedSentiment
- DOI: 10.57967/hf/8298
- License: CC BY 4.0
- File:
UzMedSentiment.tsv(UTF-8 with BOM, tab-separated) - Statistics: computed from the supplied TSV on 12 November 2026.
Tasks
The annotations support aspect-based sentiment classification, polarity scoring, ADR signal detection, and classification of negation, speculation, and sarcasm. The cue_span field provides additional textual cues for exploration.
Dataset structure
There are 13 columns, 4,527 unique IDs, 3,177 distinct text strings, and 4,527 distinct text–aspect pairs. A text may appear more than once with a different aspect and sentiment. Rows should therefore be interpreted as text–aspect pairs rather than independent documents.
| Column | Logical type | Description |
|---|---|---|
id |
Integer | Unique record identifier; IDs are not necessarily consecutive. |
source |
String | Recorded source category: forum, telegram, instagram, web, or web-komment. |
lang |
String | Recorded language tag: uz or uz-latin. |
text |
String | Uzbek medical-domain text. |
aspect |
String | Target category to which the sentiment applies; see below. |
sentiment |
String | NEG (negative), NEU (neutral), or POS (positive). |
polarity_score |
Integer | Five-point polarity: −2, −1, 0, 1, 2, from strongly negative to strongly positive. |
adr_flag |
Integer | Binary annotation of an ADR signal: 1 = flagged, 0 = not flagged. |
severity |
Nullable string | Observed non-empty values: yengil (mild) and og‘ir (severe). |
negation |
Integer | Binary negation annotation. |
speculation |
Integer | Binary speculation or uncertainty annotation. |
sarcasm |
Integer | Binary sarcasm annotation. |
cue_span |
Nullable string | Annotated cue text; stored as text, without character offsets. |
For binary fields, 1 denotes presence and 0 denotes absence of the corresponding annotation. Blank fields represent missing annotations, not negative labels. The TSV itself does not enforce data types.
Examples
These records illustrate why the aspect must be considered alongside the text.
| Text | Aspect | Sentiment | Polarity |
|---|---|---|---|
| Dori ichganimdan keyin bosh og‘rig‘i ancha kamaydi. | dori | POS | 1 |
| Navbat juda uzun, registraturada 2 soat turdim. | kutish-vaqti | NEG | -2 |
| Narxi oqilona, ammo navbat muammo. | narx | POS | 1 |
| Narxi oqilona, ammo navbat muammo. | kutish-vaqti | NEG | -1 |
Statistics
All counts below refer to annotation rows, not unique texts.
Sentiment
| Label | Meaning | Rows | Share |
|---|---|---|---|
| NEG | Negative | 1,970 | 43.52% |
| NEU | Neutral | 1,610 | 35.56% |
| POS | Positive | 947 | 20.92% |
| Total | 4,527 | 100.00% |
Polarity counts: −2: 817, −1: 1,153, 0: 1,610, 1: 450, 2: 497. Every row's polarity sign agrees with its sentiment label.
Aspects
| Label | Meaning | Rows |
|---|---|---|
| simptom | Symptoms | 1,268 |
| muolaja | Treatment / procedure | 933 |
| diagnostika | Diagnostics | 603 |
| dori | Medicine | 510 |
| xizmat | Service | 433 |
| shifokor-munosabati | Clinician attitude / interaction | 366 |
| infratuzilma | Infrastructure / facilities | 191 |
| narx | Price | 97 |
| kutish-vaqti | Waiting time | 75 |
| parhez | Diet | 51 |
Recorded sources and language tags
| Source | Rows |
|---|---|
| forum | 3,485 |
| telegram | 878 |
| 80 | |
| web | 71 |
| web-komment | 13 |
The language field contains uz in 4,000 rows and uz-latin in 527 rows. These are recorded metadata values; they do not constitute a separate script audit.
Auxiliary annotations
| Field | Value 1 | Value 0 |
|---|---|---|
| adr_flag | 132 | 4,395 |
| negation | 1,326 | 3,201 |
| speculation | 1,242 | 3,285 |
| sarcasm | 32 | 4,495 |
severityis present in 8 rows (4yengil, 4og‘ir) and blank in 4,519.cue_spanis present in 3,716 rows and blank in 811.- All other fields are populated.
- No exact duplicate records remain when ignoring
id; repeated text strings occur across different aspects.
Loading the data
Install the relevant libraries:
pip install datasets pandas huggingface_hub
Hugging Face Datasets
The card configuration maps the TSV to a single train split with an explicit tab separator. This is a loading convention; no predefined training/validation/test partition is supplied.
from datasets import load_dataset
dataset = load_dataset("uznlp-uz/UzMedSentiment")
data = dataset["train"]
print(data.num_rows)
print(data[0])
To load a local copy explicitly:
import csv
from datasets import load_dataset
data = load_dataset(
"csv",
data_files={"train": "UzMedSentiment.tsv"},
sep="\t",
encoding="utf-8-sig",
quoting=csv.QUOTE_NONE,
)["train"]
pandas
import csv
import pandas as pd
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="uznlp-uz/UzMedSentiment",
filename="UzMedSentiment.tsv",
repo_type="dataset",
)
df = pd.read_csv(
path,
sep="\t",
encoding="utf-8-sig",
quoting=csv.QUOTE_NONE,
)
print(df.shape)
print(df["sentiment"].value_counts())
Quotation marks are treated as literal text. Empty fields are loaded as missing values by default. For reproducible experiments, pin the download or loader to a repository commit using revision.
The YAML configuration follows the Hugging Face manual configuration guide.
Evaluation considerations
Keep all rows sharing the same text in the same split to prevent train/test leakage. Consider normalized text and near-duplicate grouping as well, and record the grouping procedure and random seed.
Use text and aspect as inputs for aspect-based sentiment classification. Other annotation columns can reveal the target: in particular, polarity_score directly determines the sentiment class and should not be used as an input when evaluating sentiment prediction from text.
The classes and aspects are imbalanced. Report macro-F1 and per-class results alongside accuracy. ADR and sarcasm annotations are especially sparse, and the eight non-empty severity labels do not support a reliable standalone severity benchmark.
Data provenance and annotation documentation
The file includes source-category labels but no source URLs, collection dates, or author identifiers. These labels alone do not establish how the texts were collected.
Collection procedures, annotator qualifications, annotation guidelines, inter-annotator agreement, adjudication, consent, and any synthetic-data contribution are not established by the supplied TSV. No claims about these procedures are made here.
Limitations and intended use
This dataset is intended for NLP research and experimentation. Sentiment and ADR annotations describe text and must not be interpreted as verified clinical findings or confirmed drug causality. Missing severity values must not be interpreted as mild reactions or absence of harm.
Source imbalance, repeated texts, and sparse auxiliary labels limit generalization. Review annotation quality and potential personal information before downstream redistribution or deployment.
License and attribution
The dataset repository declares the Creative Commons Attribution 4.0 International license. Attribute the dataset and indicate changes when redistributing modified versions.
For attribution, cite UzMedSentiment, the hosting organization uznlp-uz, and DOI 10.57967/hf/8298. Include the repository revision used in experiments.
Questions and dataset corrections can be raised in the repository's Community discussions.
- Downloads last month
- 53