Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,6 @@ def respond(
|
|
38 |
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
|
39 |
inputs = inputs.to("cuda")
|
40 |
|
41 |
-
print("eos_token_id: ", tokenizer.eos_token_id)
|
42 |
-
|
43 |
# Generate response
|
44 |
generate_ids = model.generate(
|
45 |
inputs,
|
|
|
38 |
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
|
39 |
inputs = inputs.to("cuda")
|
40 |
|
|
|
|
|
41 |
# Generate response
|
42 |
generate_ids = model.generate(
|
43 |
inputs,
|