Spaces:
Runtime error
Runtime error
initial commit: research summarizer with FLAN-T5
Browse files- README.md +18 -1
- app.py +0 -0
- requirements.txt +5 -0
README.md
CHANGED
|
@@ -11,4 +11,21 @@ license: mit
|
|
| 11 |
short_description: Research Paper Summarizer
|
| 12 |
---
|
| 13 |
|
| 14 |
-
Check out the configuration reference at https://huggingface.co/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
short_description: Research Paper Summarizer
|
| 12 |
---
|
| 13 |
|
| 14 |
+
Check out the configuration reference at https://huggingface.co/spaces/vikpande/research-paper-summarizer
|
| 15 |
+
|
| 16 |
+
This Hugging Face Space summarizes abstracts from arXiv papers using the lightweight `google/flan-t5-base` model.
|
| 17 |
+
|
| 18 |
+
## π Features
|
| 19 |
+
- Paste an arXiv.org URL (e.g., https://arxiv.org/abs/2306.10001)
|
| 20 |
+
- Extracts the abstract
|
| 21 |
+
- Summarizes it using FLAN-T5 (text2text-generation model)
|
| 22 |
+
- Runs entirely on CPU, even in free Spaces
|
| 23 |
+
|
| 24 |
+
## π How to Run Locally
|
| 25 |
+
```bash
|
| 26 |
+
pip install -r requirements.txt
|
| 27 |
+
python app.py
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
## β¨ Model Used
|
| 31 |
+
- [google/flan-t5-base](https://huggingface.co/google/flan-t5-base): An instruction-tuned model that supports summarization, question answering, translation, and more.
|
app.py
ADDED
|
File without changes
|
requirements.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers
|
| 2 |
+
torch
|
| 3 |
+
beautifulsoup4
|
| 4 |
+
requests
|
| 5 |
+
gradio
|