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
wangsen
MinerU
Commits
a3e2e7bd
Commit
a3e2e7bd
authored
Jun 12, 2025
by
myhloli
Browse files
fix: adjust default top_p and top_k parameters for improved model performance
parent
e6c543ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mineru/backend/vlm/base_predictor.py
mineru/backend/vlm/base_predictor.py
+2
-2
No files found.
mineru/backend/vlm/base_predictor.py
View file @
a3e2e7bd
...
...
@@ -7,8 +7,8 @@ DEFAULT_SYSTEM_PROMPT = (
)
DEFAULT_USER_PROMPT
=
"Document Parsing:"
DEFAULT_TEMPERATURE
=
0.0
DEFAULT_TOP_P
=
0.
01
DEFAULT_TOP_K
=
1
DEFAULT_TOP_P
=
0.
8
DEFAULT_TOP_K
=
20
DEFAULT_REPETITION_PENALTY
=
1.0
DEFAULT_PRESENCE_PENALTY
=
0.0
DEFAULT_NO_REPEAT_NGRAM_SIZE
=
100
...
...
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