DeathReaper0965
commited on
Commit
·
223d8fa
1
Parent(s):
4147583
Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,6 @@ widget:
|
|
16 |
inference:
|
17 |
parameters:
|
18 |
max_new_tokens: 30
|
19 |
-
temperature: 0.5
|
20 |
num_return_sequences: 1
|
21 |
---
|
22 |
|
@@ -49,7 +48,6 @@ inputs = tokenizer("def hello_world():", return_tensors="pt").to("cuda" if torch
|
|
49 |
|
50 |
outputs = model.generate(**inputs,
|
51 |
max_new_tokens= 30,
|
52 |
-
temperature= 0.5,
|
53 |
num_return_sequences= 1)
|
54 |
|
55 |
print(tokenizer.batch_decode(outputs)[0])
|
|
|
16 |
inference:
|
17 |
parameters:
|
18 |
max_new_tokens: 30
|
|
|
19 |
num_return_sequences: 1
|
20 |
---
|
21 |
|
|
|
48 |
|
49 |
outputs = model.generate(**inputs,
|
50 |
max_new_tokens= 30,
|
|
|
51 |
num_return_sequences= 1)
|
52 |
|
53 |
print(tokenizer.batch_decode(outputs)[0])
|