Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,27 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
A lightweight web app that corrects English grammar using Microsoft's `phi-4-mini-instruct` model.
|
| 4 |
|
| 5 |
-
## Features
|
| 6 |
-
- Instruction-
|
| 7 |
-
- Fast
|
| 8 |
-
-
|
| 9 |
|
| 10 |
-
## Model Info
|
| 11 |
-
- [microsoft/phi-4-mini-instruct](https://huggingface.co/microsoft/phi-4-mini-instruct)
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
##
|
| 14 |
-
|
| 15 |
-
Output: `He went to school yesterday.`
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Grammar Fixer – Phi-4 Mini
|
| 3 |
+
emoji: ✍️
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.15.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# ✍️ Grammar Fixer – Phi-4 Mini
|
| 13 |
|
| 14 |
A lightweight web app that corrects English grammar using Microsoft's `phi-4-mini-instruct` model.
|
| 15 |
|
| 16 |
+
## 🚀 Features
|
| 17 |
+
- Instruction-tuned small LLM for grammar correction
|
| 18 |
+
- Fast and efficient – fits on Hugging Face Spaces Free Tier
|
| 19 |
+
- Simple Gradio interface for easy interaction
|
| 20 |
|
| 21 |
+
## 🧠 Model Info
|
| 22 |
+
- **Model:** [`microsoft/phi-4-mini-instruct`](https://huggingface.co/microsoft/phi-4-mini-instruct)
|
| 23 |
+
- Instruction-tuned causal language model
|
| 24 |
+
- Great for short-form English tasks like grammar correction
|
| 25 |
|
| 26 |
+
## 💡 How It Works
|
| 27 |
+
The model is prompted with a natural language instruction:
|
|
|