Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,29 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π SHEFAA - Arabic Medical AI Assistant
|
| 2 |
+
|
| 3 |
+
This is a **Hugging Face Space** that allows users to ask **medical questions in Arabic** and receive AI-generated responses. The model is based on **E-dd77/SHEFAA**, a fine-tuned version of **Jais-family-256m** using QLoRA.
|
| 4 |
+
|
| 5 |
+
### π§ How It Works
|
| 6 |
+
- Enter a medical question in **Arabic**.
|
| 7 |
+
- The model processes the input and generates an answer.
|
| 8 |
+
- The response is displayed on the interface.
|
| 9 |
+
|
| 10 |
+
### π Deployment
|
| 11 |
+
This app is hosted on **Hugging Face Spaces** using `gradio`.
|
| 12 |
+
|
| 13 |
+
### π Model Details
|
| 14 |
+
- **Base Model:** `inceptionai/Jais-family-256m`
|
| 15 |
+
- **Fine-tuned Model (LoRA):** `E-dd77/SHEFAA`
|
| 16 |
+
- **Quantization:** 4-bit using `bitsandbytes`
|
| 17 |
+
- **Inference:** Using `transformers` and `peft`
|
| 18 |
+
|
| 19 |
+
### π Requirements
|
| 20 |
+
- `gradio`
|
| 21 |
+
- `torch`
|
| 22 |
+
- `transformers`
|
| 23 |
+
- `accelerate`
|
| 24 |
+
- `bitsandbytes`
|
| 25 |
+
- `peft`
|
| 26 |
+
- `tqdm`
|
| 27 |
+
|
| 28 |
+
### π₯ Try It Now!
|
| 29 |
+
Click **"Open in Spaces"** to start using the model.
|