File size: 783 Bytes
c0e9539
2c5539c
 
 
 
 
b511e5e
2c5539c
c0e9539
2c5539c
c0e9539
 
2c5539c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b511e5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: Grammar Correction API
emoji: 🔧
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: apache-2.0
---

# Grammar Correction API

A T5-based grammar correction model deployed as a Hugging Face Space.

## Usage

### Web Interface
Use the interactive web interface to correct grammar in real-time.

### API Endpoint
**POST** `/api/predict`

**Request Body:**
```json
{
    "data": ["Your text to correct"]
}
```

**Response:**
```json
{
    "data": ["Corrected text"]
}
```

## Model
- **Model:** T5-Base fine-tuned for grammar correction
- **Repository:** [MdSourav76046/t5-base-grammar-correction](https://huggingface.co/MdSourav76046/t5-base-grammar-correction)
- **Task:** Text-to-text generation for grammar correction