Update README.md
Browse files
README.md
CHANGED
@@ -1,24 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Gemma‑3n SOAP Generator Space
|
2 |
|
3 |
This Space uses the `google/gemma-3n-e2b-it` model to:
|
4 |
|
5 |
-
1. Generate 100 synthetic doctor’s notes and corresponding SOAP “ground truths” on startup.
|
6 |
-
2. Save `doc_notes.tsv` and `ground_truth_soap.tsv` to the workspace.
|
7 |
3. Expose a no‑op Gradio UI stub for demonstration.
|
8 |
|
9 |
## SDK & Dependencies
|
10 |
|
11 |
Make sure you have the following installed (see `requirements.txt`):
|
12 |
|
13 |
-
- **Transformers** (from source): `git+https://github.com/huggingface/transformers.git`
|
14 |
-
- **BitsAndBytes** for 8‑bit quantization
|
15 |
-
- **Accelerate** for device mapping
|
16 |
-
- **Timm** (model helpers)
|
17 |
-
- **EasyOCR** (if using OCR features)
|
18 |
-
- **Gradio** for the UI
|
19 |
-
- **Hugging Face Hub SDK**: `huggingface_hub`
|
20 |
|
21 |
-
|
22 |
|
23 |
```bash
|
24 |
pip install --no-deps \
|
|
|
1 |
+
---
|
2 |
+
title: Gemma‑3n SOAP Generator
|
3 |
+
emoji: "🩺"
|
4 |
+
colorFrom: "blue"
|
5 |
+
colorTo: "green"
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: "3.44.0"
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
+
|
12 |
# Gemma‑3n SOAP Generator Space
|
13 |
|
14 |
This Space uses the `google/gemma-3n-e2b-it` model to:
|
15 |
|
16 |
+
1. Generate 100 synthetic doctor’s notes and corresponding SOAP “ground truths” on startup.
|
17 |
+
2. Save `doc_notes.tsv` and `ground_truth_soap.tsv` to the workspace.
|
18 |
3. Expose a no‑op Gradio UI stub for demonstration.
|
19 |
|
20 |
## SDK & Dependencies
|
21 |
|
22 |
Make sure you have the following installed (see `requirements.txt`):
|
23 |
|
24 |
+
- **Transformers** (from source): `git+https://github.com/huggingface/transformers.git`
|
25 |
+
- **BitsAndBytes** for 8‑bit quantization
|
26 |
+
- **Accelerate** for device mapping
|
27 |
+
- **Timm** (model helpers)
|
28 |
+
- **EasyOCR** (if using OCR features)
|
29 |
+
- **Gradio** for the UI
|
30 |
+
- **Hugging Face Hub SDK**: `huggingface_hub`
|
31 |
|
32 |
+
Install them all via:
|
33 |
|
34 |
```bash
|
35 |
pip install --no-deps \
|