Datasets:

Modalities:
Text
Formats:
json
Libraries:
Datasets
pandas
License:
yxdyc commited on
Commit
e635685
·
verified ·
1 Parent(s): fe8f0d7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +110 -3
README.md CHANGED
@@ -1,3 +1,110 @@
1
- ---
2
- license: cc-by-nc-sa-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ ---
4
+
5
+ ## Dataset Description
6
+
7
+ The **RealMedConv** dataset consists of anonymized, real-world dialogues between licensed pharmacists and users seeking over-the-counter (OTC) medication advice. Each conversation is goal-oriented: the pharmacist gathers sufficient symptom information to provide an online and appropriate recommendation. Dialogues are typically concise, spanning 3–5 turns, reflecting the efficient and expert-driven nature of professional medical consultations.
8
+
9
+ This dataset originates from real user-pharmacist interactions on an Alibaba Group service platform. To ensure strict compliance with data privacy and security standards, the raw logs have undergone rigorous processing—including de-identification, filtering, translation, and controlled perturbation—so that *no personally identifiable information (PII) or sensitive content remains*. The released version poses *no privacy leakage or security risks*.
10
+
11
+ Only a small subset is being open-sourced to support academic research, particularly in the area of **goal-directed, proactive dialogue systems for healthcare advisory tasks**.
12
+
13
+ ---
14
+
15
+ ## Intended Uses & Limitations
16
+
17
+ ### Intended Uses
18
+ - Research on **task-oriented dialogue systems**, especially those requiring *information-gathering strategies* and *online recommendation logic*.
19
+ - Development and evaluation of **proactive conversational agents** in health-related contexts.
20
+ - Benchmarking models on **symptom inquiry efficiency**, **user intent understanding**, and **risk-aware response generation**.
21
+
22
+ ### Limitations
23
+ - **Not for clinical use**: This dataset is strictly for **non-clinical, academic research**. It does **not** constitute medical advice, nor should it be used to train systems intended for real-world diagnosis or treatment.
24
+ - **Limited disease scope**: Only conversations related to *20 common, non-severe conditions* (selected from a broader set, with hundreds of conditions) are included.
25
+ - **Machine-Translated English**: All dialogues were originally in Chinese and have been *machine-translated into English*; minor stylistic or semantic artifacts may exist.
26
+ - **Actual medication names are withheld**: The `<med_search>` token indicates where a recommendation would be generated, but specific drug names or dosages are **not included** in the public release.
27
+
28
+ ---
29
+
30
+ ## License
31
+
32
+ This dataset is released under the **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)** license.
33
+
34
+ - ✅ **You are free to**:
35
+ - Share — copy and redistribute the material in any medium or format.
36
+ - Adapt — remix, transform, and build upon the material.
37
+ - ❌ **Under the following terms**:
38
+ - **Attribution** — You must give appropriate credit, provide a link to the license, and indicate if changes were made.
39
+ - **NonCommercial** — You may not use the material for commercial purposes.
40
+ - **ShareAlike** — If you remix, transform, or build upon the material, you must distribute your contributions under the **same license** (CC BY-NC-SA 4.0 or a compatible one).
41
+
42
+ 🔗 License URL: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en
43
+
44
+ > **Note**: In addition to this license, users are required to agree to a separate **Data Use Commitment Agreement** at download time, affirming responsible and ethical usage.
45
+
46
+ ---
47
+
48
+ ## Data Processing & Privacy Safeguards
49
+
50
+ To protect user privacy and prevent model inversion or re-identification, the following measures were applied:
51
+
52
+ 1. **Strict De-identification**: All PII (e.g., names, ID numbers, phone numbers) was removed from raw logs.
53
+ 2. **Temporal Perturbation**: Any residual temporal markers (e.g., birth months) were perturbed to prevent linkage attacks.
54
+ 3. **Controlled Sampling**: Only 2,000 sessions covering 20 representative conditions were selected—insufficient to reconstruct or replicate the full-scale production model.
55
+ 4. **Translation & Style Normalization**: Original Chinese dialogues were translated into English using internal models, with conversational style harmonized for consistency.
56
+
57
+ ---
58
+
59
+ ## Dataset Structure
60
+
61
+ The dataset is provided in JSONL format with two splits, `train.jsonl` and `test.jsonl`.
62
+
63
+ Each entry contains:
64
+ - `session_id`: Anonymized session identifier (integer)
65
+ - `diagn`: Broad diagnostic category (e.g., "Upper respiratory tract infection (URTI)")
66
+ - `messages`: List of alternating user/assistant utterances, each with:
67
+ - `role`: `"user"` or `"assistant"`
68
+ - `content`: Dialogue text
69
+
70
+ Example:
71
+ ```json
72
+ {
73
+ "session_id": 25312,
74
+ "diagn": "Upper respiratory tract infection (URTI)",
75
+ "messages": [
76
+ {"role": "user", "content": "I've had a sore throat and headache for about a day..."},
77
+ {"role": "assistant", "content": "Have you taken any medication before?"},
78
+ ...
79
+ {"role": "assistant", "content": "<med_search>"}
80
+ ]
81
+ }
82
+ ```
83
+
84
+ > The `<med_search>` token marks the point at which the pharmacist would initiate a medication lookup in the original system. No actual drug recommendations are disclosed.
85
+
86
+ ---
87
+
88
+ ## Citation
89
+
90
+ If you use this dataset in your research, please cite it as follows:
91
+
92
+ ```bibtex
93
+ @misc
94
+ {realmedconv2025,
95
+ author = {DataJuicer Team, Alibaba Group},
96
+ title = {{RealMedConv}: A Dataset of Real-World Pharmacist-User Dialogues for Online Medication Advice},
97
+ year = {2025},
98
+ note = {Released under CC BY-NC-SA 4.0}
99
+ }
100
+ ```
101
+
102
+ ---
103
+
104
+ ## Acknowledgements
105
+
106
+ We thank the licensed pharmacists and users whose anonymized interactions made this research possible. This work was conducted by DataJuicer Team, Alibaba Group, in alignment with our commitment to responsible AI and data ethics.
107
+
108
+ ---
109
+
110
+ *This dataset is provided “as is” without warranty of any kind. Users assume all risks associated with its use.*