oliverguhr/spelling-correction-german-base

🤗 Hugging Face 来源apache-2.0248M 参数990 MBsafetensors✓ 7 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo oliverguhr/spelling-correction-german-base ./model-folder
需要做种者 →

Model description

This is a proof of concept spelling correction model for german. The model should fix your typos and punctuation. If you like to participate in the development or run your own experiments, have a look at the GitHub repo.

Model Input:

ein dransformer isd ein mthode mit der ein compuder eine volge von zeichn in eine andrere folge von zeichen übersetzn kann dies kan zb genutzt werdne um text von einer spracge in eine andrere zu übersetzen

Model Output:

Ein Transformer ist eine Methode, mit der ein Computer eine Folge von Zeichen in eine andere Folge von Zeichen übersetzen kann dies kann z.B. genutzt werden, um Texte von einer Sprache in eine andere zu übersetzen.

Intended uses & limitations

This is a work in progress, be aware that the model can produce artefacts. You can test the model using the pipeline-interface:

from transformers import pipeline

fix_spelling = pipeline("text2text-generation",model="oliverguhr/spelling-correction-german-base")

print(fix_spelling("correct: das idst ein neuZr test",max_length=256))