transformers
Fix generate with `inputs_embeds` as input
#32493
Merged

Fix generate with `inputs_embeds` as input #32493

molbap merged 7 commits into main from fix_generate_embeds
molbap
molbap I think inputs_embeds has ndim == 3
c204bdf1
molbap molbap requested a review from ArthurZucker ArthurZucker 1 year ago
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker commented on 2024-08-07
molbap
molbap fix sequence length catch
563d077e
molbap add generate test
d210204a
molbap [run-slow]olmo, persimmon, gemma, gemma2, qwen2, llama
090257fd
molbap molbap added run-slow
molbap molbap changed the title `inputs_embeds` has ndim 3? Fix generate with `inputs_embeds` as input 1 year ago
molbap skip whisper
9cdab5fa
molbap fix bart test
8c7b9e29
molbap more fixes
c1175ff4
ArthurZucker
ArthurZucker commented on 2024-08-08
ArthurZucker
ArthurZucker approved these changes on 2024-08-08
molbap molbap merged 04428160 into main 1 year ago
molbap molbap deleted the fix_generate_embeds branch 1 year ago
ydshieh ydshieh restored the head branch 1 year ago
SunMarc
molbap
molbap

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone