Text2Text Generation
Transformers
Safetensors
9 languages
mt5
Inference Endpoints
chameleon-lizard commited on
Commit
052aeac
1 Parent(s): 8b70b11

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -50,7 +50,7 @@ pipe = transformers.pipeline(
50
 
51
  language = 'English'
52
  text = "You are a major fucking disappointment."
53
- print(pipe('Rewrite the following text in {language} the most toxic and obscene version possible: {text}')[0]['generated_text'])
54
  # Resulting text: "You are a major disappointment.""
55
  ```
56
 
 
50
 
51
  language = 'English'
52
  text = "You are a major fucking disappointment."
53
+ print(pipe('Write a non-toxic version of the following text in {language}: {text}')[0]['generated_text'])
54
  # Resulting text: "You are a major disappointment.""
55
  ```
56