[generate] Run custom generation code from the Hub #36405
gante
force pushed
from
67dd3055
to
545e1d04
1 year ago
gante
marked this pull request as ready for review 1 year ago
gante
commented
on 2025-03-27
stevhliu
approved these changes
on 2025-03-28
gante
commented
on 2025-05-08
gante
commented
on 2025-05-08
gante
commented
on 2025-05-08
gante
commented
on 2025-05-08
gante
commented
on 2025-05-08
gante
commented
on 2025-05-08
mvp
060e19b5
remove trust_remote_code
691ff217
generate_from_hub
4b21bbf4
handle requirements; docs
23d1ed15
english
a740ba43
doc PR suggestions
93591c93
Apply suggestions from code review
898c81f2
changed remote code path to generate/generate.py
d1db5512
model repo has custom generate -> override base generate
fd5af476
check for proper inheritance
0b0828d5
some doc updates (missing: tag-related docs)
f524143e
update docs to model repo
3dafff8f
nit
99c45aa5
nit
245dd8fc
nits
961966f0
Update src/transformers/dynamic_module_utils.py
bdb314c4
Apply suggestions from code review
76faf901
Update docs/source/en/generation_strategies.md
9b062dcb
trust remote code is required
88d7b583
gante
force pushed
from
63372312
to
88d7b583
1 year ago
use new import utils for requirements version parsing
9b32946b
use org examples
63f75005
add tests
5422ea45
Apply suggestions from code review
c46bbd29
ascii file structure; tag instructions on readme.md
dd055156
gante
merged
0e0e5c10
into main 1 year ago
gante
deleted the generate_from_hub branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub