oliverguhr commited on
Commit
d6573ad
·
1 Parent(s): 8dcc7cf

updated mmodel card

Browse files
Files changed (1) hide show
  1. README.md +13 -4
README.md CHANGED
@@ -12,13 +12,22 @@ widget:
12
  example_title: "2"
13
  ---
14
 
15
- This is an experimental model that should fix your typos and punctuation.
16
- If you like to run your own experiments or train for a different language, have a look at [the code](https://github.com/oliverguhr/spelling).
17
 
18
 
19
  ## Model description
20
 
21
- This is a proof of concept spelling correction model for german.
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  ## Intended uses & limitations
24
 
@@ -30,5 +39,5 @@ from transformers import pipeline
30
 
31
  fix_spelling = pipeline("text2text-generation",model="oliverguhr/spelling-correction-german-base")
32
 
33
- print(fix_spelling("das idst ein neuZr test",max_length=2048))
34
  ```
 
12
  example_title: "2"
13
  ---
14
 
 
 
15
 
16
 
17
  ## Model description
18
 
19
+ This is a proof of concept spelling correction model for german. The model should fix your typos and punctuation.
20
+ If you like to run your own experiments or train for a different language, have a look at [the code](https://github.com/oliverguhr/spelling).
21
+
22
+
23
+ Model Input:
24
+
25
+ > 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
26
+
27
+ Model Output:
28
+
29
+ > 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.
30
+
31
 
32
  ## Intended uses & limitations
33
 
 
39
 
40
  fix_spelling = pipeline("text2text-generation",model="oliverguhr/spelling-correction-german-base")
41
 
42
+ print(fix_spelling("das idst ein neuZr test",max_length=256))
43
  ```