Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed May 1, 2023
1 parent aa20dd7 commit 7464f7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ model = TranslatorCT2fromHfHub(
outputs = model.generate(
text=["How do you call a fast Flan-ingo?", "Translate to german: How are you doing?"],
# use arguments specifically to ctranslate2.Translator below:
min_decoding_length=24,
max_decoding_length=32,
min_decoding_length=8,
max_decoding_length=16,
max_input_length=512,
beam_size=5
beam_size=3
)
print(outputs)
```
Expand Down

0 comments on commit 7464f7b

Please sign in to comment.