transformers
Move max_new_tokens recommendation into GenerationConfig docstring
#42384
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
10
Changes
View On
GitHub
Move max_new_tokens recommendation into GenerationConfig docstring
#42384
ydshieh
merged 10 commits into
huggingface:main
from
hawon223:fix/max_new_tokens_docstring
stevhliu
commented on 2025-11-25
stevhliu
approved these changes on 2025-11-26
stevhliu
force pushed
from
26848a25
to
5c6373c0
49 days ago
stevhliu
force pushed
from
5b3f0b12
to
11a35f38
46 days ago
docs: clarify recommended usage of max_new_tokens in generate()
fe117990
Move max_new_tokens recommendation into GenerationConfig docstring
e4faf7bb
Remove Note about max_new_tokens and max_length
bcbcdfbc
Update src/transformers/generation/configuration_utils.py
e1388688
Update src/transformers/generation/configuration_utils.py
cd653ae3
Remove Note about max_new_tokens and max_length
47182c93
Docs: clean up empty line in text_generation.md
4fdb8767
Docs: simplify max_length explanation in generation config
59e1ec08
style: fix trailing whitespace in configuration_utils.py
0cf3ebf0
stevhliu
force pushed
from
11a35f38
to
0cf3ebf0
46 days ago
stevhliu
enabled auto-merge (squash)
46 days ago
disabled auto-merge
46 days ago
Manually disabled by user
Merge branch 'main' into fix/max_new_tokens_docstring
a5e6f18f
ydshieh
merged
f8e69286
into main
45 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
stevhliu
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub