Add proper HF Space metadata configuration
Browse files
README.md
CHANGED
@@ -1,55 +1,12 @@
|
|
1 |
-
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.13.2
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
-
license: mit
|
11 |
-
short_description: Professional Clinical Report Generation using T5
|
12 |
---
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
This Hugging Face Space provides a clinical report generation service using a fine-tuned T5 model. The model has been trained on a dataset of clinical documents to generate professional, structured clinical reports from input notes.
|
17 |
-
|
18 |
-
## Features
|
19 |
-
|
20 |
-
- Generates professional clinical reports from input notes
|
21 |
-
- Maintains medical terminology and context
|
22 |
-
- Removes unwanted elements like URLs
|
23 |
-
- Provides a user-friendly interface
|
24 |
-
|
25 |
-
## How to Use
|
26 |
-
|
27 |
-
1. Enter your clinical notes in the input text box
|
28 |
-
2. Click "Submit" to generate the report
|
29 |
-
3. The generated report will appear in the output text box
|
30 |
-
|
31 |
-
## Model Details
|
32 |
-
|
33 |
-
- Base Model: T5-small
|
34 |
-
- Fine-tuned on: Clinical documents and structured templates
|
35 |
-
- Input Length: Up to 512 tokens
|
36 |
-
- Output Length: Up to 256 tokens
|
37 |
-
- Special Features:
|
38 |
-
- Beam search with 4 beams
|
39 |
-
- No repeat ngram size of 3
|
40 |
-
- Length penalty of 2.0
|
41 |
-
- Early stopping enabled
|
42 |
-
- URL filtering
|
43 |
-
|
44 |
-
## Examples
|
45 |
-
|
46 |
-
The interface includes example inputs to demonstrate the model's capabilities. These examples cover common clinical scenarios such as:
|
47 |
-
- Initial patient presentations
|
48 |
-
- Follow-up visits
|
49 |
-
- Treatment responses
|
50 |
-
|
51 |
-
## Notes
|
52 |
-
|
53 |
-
- The model is designed for generating clinical reports only
|
54 |
-
- Input should be clear and contain relevant clinical information
|
55 |
-
- Generated reports should be reviewed by healthcare professionals
|
|
|
1 |
+
---
|
2 |
+
title: T5
|
3 |
+
emoji: 🤖
|
4 |
+
colorFrom: "#003366" # IPLC primary color
|
5 |
+
colorTo: "#0073e6" # IPLC secondary color
|
6 |
sdk: gradio
|
7 |
+
sdk_version: "5.13.2" # Latest version
|
8 |
app_file: app.py
|
9 |
pinned: false
|
|
|
|
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|