Safetensors
llama
dx2102 commited on
Commit
317e0de
·
verified ·
1 Parent(s): cbfb2e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -34,10 +34,10 @@ txt = pipe(
34
  Bach
35
  pitch duration wait velocity instrument
36
  '''.strip(),
37
- max_length=100,
38
  temperature=1.0,
39
  top_p=1.0,
40
- )
41
  print(txt)
42
  ```
43
 
 
34
  Bach
35
  pitch duration wait velocity instrument
36
  '''.strip(),
37
+ max_new_tokens=10,
38
  temperature=1.0,
39
  top_p=1.0,
40
+ )[0]['generated_text']
41
  print(txt)
42
  ```
43