pere commited on
Commit
fe6a973
1 Parent(s): 1a9d5bf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -31,6 +31,7 @@ print(tokenizer.decode(outputs[0]))
31
  ```
32
 
33
  Or if you like to use the pipeline instead
 
34
  ```python
35
  # Set up the pipeline
36
  from transformers import pipeline, T5ForConditionalGeneration, AutoTokenizer
@@ -42,4 +43,4 @@ translator = pipeline("translation", model=model, tokenizer=tokenizer)
42
  text = "Hun vil ikke gi bort sine personlige data."
43
  print(translator(text, max_length=255))
44
 
45
- ```python
 
31
  ```
32
 
33
  Or if you like to use the pipeline instead
34
+
35
  ```python
36
  # Set up the pipeline
37
  from transformers import pipeline, T5ForConditionalGeneration, AutoTokenizer
 
43
  text = "Hun vil ikke gi bort sine personlige data."
44
  print(translator(text, max_length=255))
45
 
46
+ ```