ONNX Model Zoo

Vinctilus/onnx-oliverguhr-spelling-correction-german-base

By Vinctilus · ↓ 0 · ♥ 0 · Updated 2024-12-18

What's in this repo

This page lists the files in Vinctilus/onnx-oliverguhr-spelling-correction-german-base, including decoder_model.onnx, encoder_model.onnx, model.onnx.

  • 3 ONNX models (.onnx files)
  • 20 files, including 9 .json, 3 .onnx, 2 .py, 2 .bin, 1 .md, 1 .safetensors
  • Last updated 2024-12-18

ONNX files

File Size Download
decoder_model.onnx — Download
encoder_model.onnx — Download
model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README


license: apache-2.0 tags:

  • generated_from_trainer model-index:
  • name: bart-base-spelling-de results: [] widget:
  • text: "correct: ein dransformer isd ein mthode mit der ein compuder eine volge von zeichn übersetz" example_title: "1"
  • text: "correct: Dresten ist di Landeshaubtstadt des Freistaats Saksens und die zweid größte stadt des landel" example_title: "2"

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))

Model info

pytorch onnx safetensors t5 generated_from_trainer license:apache-2.0 region:us
↓ 0 ♥ 0

Created: 2024-12-17

Updated: 2024-12-18

View on Hugging Face

Files (20)

.gitattributes
Convert-to-ONNX-format.py
README.md
all_results.json
config.json
decoder_model.onnx ONNX
encoder_model.onnx ONNX
eval_results.json
generation_config.json
model.onnx ONNX
model.safetensors
pruefe-OnnX-Model.py
pytorch_model.bin
special_tokens_map.json
spiece.model
tokenizer.json
tokenizer_config.json
train_results.json
trainer_state.json
training_args.bin

Related models