Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
textmonkey_pytorch
Commits
88524526
"git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "4308fb4e0547f595cc0c1703226c2dbb7d3d1f8c"
Unverified
Commit
88524526
authored
Mar 29, 2024
by
echo840
Committed by
GitHub
Mar 29, 2024
Browse files
Update demo.py
parent
9a8886d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
demo.py
demo.py
+2
-2
No files found.
demo.py
View file @
88524526
...
@@ -152,7 +152,7 @@ def _launch_demo(args, model, tokenizer):
...
@@ -152,7 +152,7 @@ def _launch_demo(args, model, tokenizer):
num_beams
=
1
,
num_beams
=
1
,
max_new_tokens
=
512
,
max_new_tokens
=
512
,
min_new_tokens
=
1
,
min_new_tokens
=
1
,
length_penalty
=
3
,
length_penalty
=
1
,
num_return_sequences
=
1
,
num_return_sequences
=
1
,
output_hidden_states
=
True
,
output_hidden_states
=
True
,
use_cache
=
True
,
use_cache
=
True
,
...
@@ -204,7 +204,7 @@ def _launch_demo(args, model, tokenizer):
...
@@ -204,7 +204,7 @@ def _launch_demo(args, model, tokenizer):
temperature
=
0.7
,
temperature
=
0.7
,
max_new_tokens
=
250
,
max_new_tokens
=
250
,
min_new_tokens
=
1
,
min_new_tokens
=
1
,
length_penalty
=
3
,
length_penalty
=
1
,
num_return_sequences
=
1
,
num_return_sequences
=
1
,
output_hidden_states
=
True
,
output_hidden_states
=
True
,
use_cache
=
True
,
use_cache
=
True
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment