KavinduHansaka commited on
Commit
17a9070
·
verified ·
1 Parent(s): dddd4a1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -10
README.md CHANGED
@@ -1,15 +1,27 @@
1
- # Grammar Fixer (Phi-4 Mini Edition)
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  A lightweight web app that corrects English grammar using Microsoft's `phi-4-mini-instruct` model.
4
 
5
- ## Features
6
- - Instruction-following prompt
7
- - Fast response
8
- - Fits Hugging Face Spaces Free Tier
9
 
10
- ## Model Info
11
- - [microsoft/phi-4-mini-instruct](https://huggingface.co/microsoft/phi-4-mini-instruct)
 
 
12
 
13
- ## Example Prompt
14
- Input: `he go to school yesterday`
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: