mzbac/llama2-13b-grammar-corrector-v1.1

Hugging Face
TEXT GENERATIONConcurrent Unit Cost:1Model Size:13BQuant:FP8Context Size:4kLicense:mitArchitecture:Transformer Open Weights Featherless Exclusive Warm

The mzbac/llama2-13b-grammar-corrector-v1.1 is a Llama 2 13B model fine-tuned for grammar correction and rephrasing tasks. It was fine-tuned using Supervised Fine-Tuning (SFT) on the JFLEG dataset and a synthetic dataset generated by GPT-4. This model excels at identifying and correcting grammatical errors and rephrasing text into standard English, making it suitable for applications requiring high-quality text refinement.

Loading preview...

Model Overview

The mzbac/llama2-13b-grammar-corrector-v1.1 is a specialized language model built upon the Llama 2 13B architecture. Its primary function is to perform grammar correction and text rephrasing to standard English.

Key Capabilities

  • Grammar Correction: Identifies and rectifies grammatical errors within user-provided text.
  • Text Rephrasing: Rewrites sentences or passages to improve clarity, conciseness, or adherence to standard English conventions.
  • Fine-tuned Performance: Achieves enhanced performance in its specific domain through Supervised Fine-Tuning (SFT).

Training Details

The model was fine-tuned using a combination of established and advanced datasets:

  • JFLEG Dataset: A benchmark dataset commonly used for grammar error correction tasks.
  • Synthetic Dataset: Generated by GPT-4, providing a diverse and high-quality source of training examples for grammar and rephrasing.

Prompt Format

Users should format their input according to the following structure for optimal performance:

An AI tool that corrects and rephrase user text grammar errors delimited by triple backticks to standard English.
### Instruction: Correct following text=`{input text}`
### Response:

Ideal Use Cases

This model is particularly well-suited for applications requiring precise text refinement, such as:

  • Automated proofreading tools.
  • Content creation platforms needing grammar checks.
  • Educational software for language learning.
  • Improving the readability and professionalism of written communication.