Create readme.md
Browse files
readme.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Biomedical Fact-Checking App (Hugging Face Spaces)
|
2 |
+
|
3 |
+
This app:
|
4 |
+
- Extracts key scientific claims from a news article,
|
5 |
+
- Finds PubMed abstracts,
|
6 |
+
- Checks for support/contradiction/neutral stance using advanced NLI,
|
7 |
+
- Summarizes all evidence for each claim in plain English using an open-source LLM (Gemma-3B, fully local).
|
8 |
+
|
9 |
+
## How to use
|
10 |
+
|
11 |
+
1. **Add your `gemma-3b-it-Q4_K_M.gguf` (or smaller) to the repo root.**
|
12 |
+
- Download from https://huggingface.co/unsloth/gemma-3n-E4B-it-GGUF.
|
13 |
+
- Only Q4_K_M or Q4 quantizations will work on Spaces CPU.
|
14 |
+
|
15 |
+
2. **Deploy on Hugging Face Spaces** (SDK, CPU runtime).
|
16 |
+
|
17 |
+
3. **Enter a news URL, see the extracted claims, evidence, and summary verdicts!**
|
18 |
+
|
19 |
+
**No OpenAI or cloud dependencies. All runs on CPU.**
|
20 |
+
|
21 |
+
---
|
22 |
+
|
23 |
+
**Note:** First summarization may take 10–30s to load LLM, then faster.
|