PerSets commited on
Commit
b704ceb
·
1 Parent(s): b44600f

doc: readme

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Clinical Question Answering Dataset I (Farsi)
2
+
3
+ This dataset contains approximately 50k questions and around 60k answers, all produced in written form. The questions were posed by ordinary Persian speakers (Iranians), and the responses were provided by doctors from various specialties.
4
+
5
+ ## Dataset Description
6
+
7
+ Question records without corresponding answers have been excluded from the dataset.
8
+ This dataset is NOT a part of [Clinical Question Answering II](https://huggingface.co/datasets/PerSets/cqaii) dataset and is a complete different dataset.
9
+
10
+ ## Usage
11
+ <details>
12
+
13
+ Huggingface datasets library:
14
+ ```python
15
+ from datasets import load_dataset
16
+ dataset = load_dataset('PerSets/cqai')
17
+ ```
18
+
19
+ Pandas library:
20
+ ```python
21
+ import pandas
22
+ df = pd.read_json("train.jsonl", lines=True)
23
+ ```
24
+
25
+ Vanilla Python:
26
+ ```python
27
+ import json
28
+
29
+ train = []
30
+ with open('train.jsonl', encoding="utf-8") as f:
31
+ for line in f:
32
+ obj = json.loads(line)
33
+ train.append(obj)
34
+ ```
35
+ </details>
36
+
37
+ ## License
38
+ CC0