DeathReaper0965 commited on
Commit
c1d04e2
1 Parent(s): ef1d8ae

add correct pipeline

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -55,7 +55,7 @@ You can use this model directly with a pipeline for Text to Text Generation:
55
  from transformers import pipeline
56
 
57
 
58
- ctx_corr = pipeline("text-generation", model='DeathReaper0965/t5-context-corrector')
59
  ctx_corr("Do you even know why I always need changed our checking account number")
60
 
61
  ###########OUTPUT###########
 
55
  from transformers import pipeline
56
 
57
 
58
+ ctx_corr = pipeline("text2text-generation", model='DeathReaper0965/t5-context-corrector')
59
  ctx_corr("Do you even know why I always need changed our checking account number")
60
 
61
  ###########OUTPUT###########