File size: 1,137 Bytes
d9ea649
 
 
 
 
 
 
 
 
 
7504911
d9ea649
 
b704ceb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
language: fa
pretty_name: Clinical Question Answering Dataset I (Farsi)
tags:
- Farsi
- Persian
- clinic
- QA
- question
- answer
license: cc
---

# Clinical Question Answering Dataset I (Farsi)

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.

## Dataset Description

Question records without corresponding answers have been excluded from the dataset.
This dataset is NOT a part of [Clinical Question Answering II](https://huggingface.co/datasets/PerSets/cqaii) dataset and is a complete different dataset.

## Usage
<details>

Huggingface datasets library:
```python
from datasets import load_dataset
dataset = load_dataset('PerSets/cqai')
```

Pandas library:
```python
import pandas
df = pd.read_json("train.jsonl", lines=True)
```

Vanilla Python:
```python
import json

train = []
with open('train.jsonl', encoding="utf-8") as f:
    for line in f:
        obj = json.loads(line)
        train.append(obj)
```
</details>

## License
CC0