Update README.md
Browse files
README.md
CHANGED
|
@@ -24,6 +24,15 @@ tags:
|
|
| 24 |
- synthetic-data
|
| 25 |
size_categories:
|
| 26 |
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
---
|
| 28 |
|
| 29 |
# Streaming PHI De-Identification Benchmark
|
|
@@ -41,6 +50,7 @@ It supports:
|
|
| 41 |
|
| 42 |
## Quick Start
|
| 43 |
|
|
|
|
| 44 |
```python
|
| 45 |
# Install dependencies
|
| 46 |
# pip install phi-exposure-guard datasets pandas
|
|
@@ -63,14 +73,18 @@ adaptive = [e for e in events if e["policy_run"] == "adaptive"]
|
|
| 63 |
text_events = [e for e in events if e["modality"] == "text"]
|
| 64 |
```
|
| 65 |
|
| 66 |
-
Or load via Hugging Face datasets library:
|
| 67 |
-
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
|
|
|
|
| 71 |
ds = load_dataset("vkatg/streaming-phi-deidentification-benchmark")
|
|
|
|
|
|
|
|
|
|
| 72 |
```
|
| 73 |
|
|
|
|
| 74 |
## Motivation
|
| 75 |
|
| 76 |
Automatic de-identification of healthcare data is critical for safe secondary use in AI research and clinical analytics. Existing PHI datasets have significant limitations for streaming and multimodal evaluation:
|
|
|
|
| 24 |
- synthetic-data
|
| 25 |
size_categories:
|
| 26 |
- 1K<n<10K
|
| 27 |
+
configs:
|
| 28 |
+
- config_name: default
|
| 29 |
+
data_files:
|
| 30 |
+
- split: train
|
| 31 |
+
path: audit_log.jsonl
|
| 32 |
+
- config_name: signed
|
| 33 |
+
data_files:
|
| 34 |
+
- split: train
|
| 35 |
+
path: audit_log_signed_adaptive.jsonl
|
| 36 |
---
|
| 37 |
|
| 38 |
# Streaming PHI De-Identification Benchmark
|
|
|
|
| 50 |
|
| 51 |
## Quick Start
|
| 52 |
|
| 53 |
+
|
| 54 |
```python
|
| 55 |
# Install dependencies
|
| 56 |
# pip install phi-exposure-guard datasets pandas
|
|
|
|
| 73 |
text_events = [e for e in events if e["modality"] == "text"]
|
| 74 |
```
|
| 75 |
|
| 76 |
+
Or load via the Hugging Face datasets library:
|
|
|
|
| 77 |
```python
|
| 78 |
from datasets import load_dataset
|
| 79 |
|
| 80 |
+
# Base audit log (default config)
|
| 81 |
ds = load_dataset("vkatg/streaming-phi-deidentification-benchmark")
|
| 82 |
+
|
| 83 |
+
# Signed adaptive audit trail (includes _signature, _record_hash, _chain_ts)
|
| 84 |
+
ds_signed = load_dataset("vkatg/streaming-phi-deidentification-benchmark", "signed")
|
| 85 |
```
|
| 86 |
|
| 87 |
+
|
| 88 |
## Motivation
|
| 89 |
|
| 90 |
Automatic de-identification of healthcare data is critical for safe secondary use in AI research and clinical analytics. Existing PHI datasets have significant limitations for streaming and multimodal evaluation:
|