Skip to content

Commit

Permalink
Merge branch 'huggingface:main' into add_FlaxDinov2
Browse files Browse the repository at this point in the history
  • Loading branch information
MHRDYN7 authored Jul 23, 2024
2 parents 5af9cb4 + c85510f commit fae5604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/conversations.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ inputs = {key: tensor.to(model.device) for key, tensor in inputs.items()}
print("Tokenized inputs:\n", inputs)

# 4: Generate text from the model
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.1)
print("Generated tokens:\n", outputs)

# 5: Decode the output back to a string
Expand Down

0 comments on commit fae5604

Please sign in to comment.