Tanhim commited on
Commit
0f0e4b2
1 Parent(s): 65ac2b6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ You can use this model directly with a pipeline for text generation. Since the g
19
  set a seed for reproducibility:
20
  ```python
21
  >>> from transformers import pipeline, set_seed
22
- >>> generation= pipeline('text-generation', model='Tanhim/gpt2-model-de')
23
  >>> set_seed(42)
24
  >>> generation("Hallo, ich bin ein Sprachmodell,", max_length=30, num_return_sequences=5)
25
 
 
19
  set a seed for reproducibility:
20
  ```python
21
  >>> from transformers import pipeline, set_seed
22
+ >>> generation= pipeline('text-generation', model='Tanhim/gpt2-model-de', tokenizer='Tanhim/gpt2-model-de')
23
  >>> set_seed(42)
24
  >>> generation("Hallo, ich bin ein Sprachmodell,", max_length=30, num_return_sequences=5)
25