Bonosa2 commited on
Commit
15efba0
·
verified ·
1 Parent(s): 8682d55

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -9
README.md CHANGED
@@ -1,17 +1,26 @@
1
- ---
2
- license: mit
3
- ---
4
  # Gemma‑3n SOAP Generator Space
5
 
6
  This Space uses the `google/gemma-3n-e2b-it` model to:
7
 
8
  1. Generate 100 synthetic doctor’s notes and corresponding SOAP “ground truths” on startup.
9
  2. Save `doc_notes.tsv` and `ground_truth_soap.tsv` to the workspace.
10
- 3. Expose a no‑op Gradio UI stub.
11
 
12
- ## Usage
13
 
14
- 1. **Set** your `HF_TOKEN` in the Space’s Settings Secrets.
15
- 2. **Deploy** this repository as a Gradio Space.
16
- 3. **View logs** to confirm the 100 note pairs generated successfully.
17
- 4. Download the TSV files via the Space files browser.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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` to manage authentication and snapshots
20
+
21
+ You can install them all via:
22
+
23
+ ```bash
24
+ pip install --no-deps \
25
+ git+https://github.com/huggingface/transformers.git \
26
+ bitsandbytes accelerate timm easyocr gradio huggingface_hub