Downloads · 30 days
231
0% of all-time downloads
aiassociates/t5-small-grammar-correction-german
t5-small-grammar-correction-german is a machine learning model from aiassociates. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
This model restores upper and lower case as well as punctuation. It was trained with Happy Transformer on the German Wikipedia dump.
Downloads · 30 days
231
0% of all-time downloads
All-time downloads
76.3K
Public
Parameters
60.5M
1.7 GB on disk
Likes
7
Public
Click a slice to open those files.
.pt484 MB · 50%
From the Hugging Face model README
This model restores upper and lower case as well as punctuation. It was trained with Happy Transformer on the German Wikipedia dump.
pip install happytransformer
from happytransformer import HappyTextToText, TTSettings
happy_tt = HappyTextToText("T5", "aiassociates/t5-small-grammar-correction-german")
args = TTSettings(num_beams=5, min_length=1)
# Add the prefix "grammar: " before each input
result = happy_tt.generate_text("grammar: hier ein kleines beispiel was haltet ihr von der korrektur", args=args)
print(result.text) # Hier ein kleines Beispiel: Was haltet ihr von der Korrektur?
David Hustadt: [email protected]
We're always looking for developers to join us. Feel free to contact us [email protected]