Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,21 +1,55 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
configs:
|
| 17 |
-
- config_name: default
|
| 18 |
-
data_files:
|
| 19 |
-
- split: train
|
| 20 |
-
path: data/train-*
|
| 21 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- es
|
| 4 |
+
license: mit
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
- conversational
|
| 8 |
+
tags:
|
| 9 |
+
- medical
|
| 10 |
+
- healthcare
|
| 11 |
+
- nursing-home
|
| 12 |
+
- fine-tuning
|
| 13 |
+
- sft
|
| 14 |
+
size_categories:
|
| 15 |
+
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# ResiPlus Sql Dataset
|
| 19 |
+
|
| 20 |
+
SQL generation dataset for nursing home database queries. Converts natural language medical queries to safe, parameterized SQL queries with mandatory residencia_id filtering.
|
| 21 |
+
|
| 22 |
+
## Dataset Details
|
| 23 |
+
|
| 24 |
+
- **Examples:** 500
|
| 25 |
+
- **Language:** Spanish (es)
|
| 26 |
+
- **Format:** Chat messages (system, user, assistant)
|
| 27 |
+
- **Use Case:** Fine-tuning LLMs for nursing home management system
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
|
| 34 |
+
dataset = load_dataset("Alejandro284/resiplus-sql-dataset")
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## Training with HF Skills
|
| 38 |
+
|
| 39 |
+
```
|
| 40 |
+
Fine-tune Qwen/Qwen2.5-0.5B on Alejandro284/resiplus-sql-dataset
|
| 41 |
+
for medical intent classification. Use SFT method. 5 epochs.
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Part of ResiPlus AI
|
| 45 |
+
|
| 46 |
+
This dataset is part of the ResiPlus AI agentic system for nursing home management:
|
| 47 |
+
|
| 48 |
+
1. **Router Agent** - Intent classification
|
| 49 |
+
2. **SQL Agent** - Database query generation
|
| 50 |
+
3. **Vector Agent** - Semantic search optimization
|
| 51 |
+
4. **Synthesis Agent** - Response generation
|
| 52 |
+
|
| 53 |
+
## License
|
| 54 |
+
|
| 55 |
+
MIT License
|