transformers
In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models)
#25242
Merged

In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models) #25242

sinking-point
gante
sinking-point
gante
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point changed the title WIP In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models) In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models) 2 years ago
sinking-point
sinking-point sinking-point force pushed 2 years ago
gante
gante commented on 2023-09-13
gante gante requested a review from LysandreJik LysandreJik 2 years ago
gante gante requested a review from ArthurZucker ArthurZucker 2 years ago
gante
sinking-point
Rocketknight1
sinking-point
HuggingFaceDocBuilderDev
Rocketknight1
sinking-point
sinking-point sinking-point force pushed 2 years ago
sinking-point sinking-point requested a review from Rocketknight1 Rocketknight1 2 years ago
sinking-point
Rocketknight1
sinking-point
sinking-point
Rocketknight1
sinking-point
sinking-point
Rocketknight1
sinking-point
sinking-point
gante
gante
gante approved these changes on 2023-10-10
gante
gante
sinking-point In assisted decoding, pass model_kwargs to model's forward call
d8dd9867
sinking-point Improve variable names in _extend_attention_mask
977dd727
sinking-point Refactor extending token_type_ids into a function
8ce58b46
sinking-point Replace deepcopy with copy to optimize performance
81a04c24
sinking-point Update new persimmon model with llama changes for assisted generation
2ee2e797
sinking-point Update new mistral model for assisted generation with prepare_inputs_…
008e7caa
sinking-point Update position_ids creation in falcon prepare_inputs_for_generation …
8ce040de
sinking-point sinking-point force pushed to 8ce040de 2 years ago
sinking-point
LysandreJik
patrickvonplaten
patrickvonplaten approved these changes on 2023-10-11
patrickvonplaten patrickvonplaten merged dcc49d8a into main 2 years ago
sinking-point sinking-point deleted the sinking-point/assisted-decoding-model-kwargs-fix-all-models-25020 branch 2 years ago
sinking-point
gante

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone