Downloads · 30 days
0
Aminrhmni/GrammarCorrectionTransformer
GrammarCorrectionTransformer is a text generation model from Aminrhmni. Use it when you need the model to write or continue text. It is set up for adapter-transformers. The card lists the license as mit.
This is an English grammar correction model.
Downloads · 30 days
0
Access
Public
Updated Sep 7, 2025
Parameters
223M
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin892 MB · 50%
From the Hugging Face model README
This is an English grammar correction model.
from happytransformer import HappyTextToText
happy_tt = HappyTextToText("T5", ".\PATH TO MODEL")
from happytransformer import TTSettings
beam_settings = TTSettings(num_beams=8, min_length=1, max_length=100)
input_text_1 = "grammar: hi dear"
output_text_1 = happy_tt.generate_text(input_text_1, args=beam_settings) print(output_text_1.text)
[More Information Needed]
validation loss: 0.04 learning rate: epochs: 3
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).