transformers
Generate: return `past_key_values`
#25086
Merged

Generate: return `past_key_values` #25086

gante merged 16 commits into huggingface:main from gante:return_past_kv
gante
HuggingFaceDocBuilderDev
huggingface huggingface deleted a comment from github-actions on 2023-08-25
huggingface huggingface deleted a comment from github-actions on 2023-09-20
ArthurZucker ArthurZucker changed the title Generate: return `past_key_values` [WIP] Generate: return `past_key_values` 2 years ago
freckletonj
kazzand
gante 1st commit, let's see what breaks
0ddfdfba
gante gante force pushed to 0ddfdfba 2 years ago
gante no need to accumulate
68bb3aed
gante fix docstrings, correct test
c408f62e
gante make fixup
17364b89
gante typo
e8aaa569
gante fix most cases
5b8fe64e
gante fix case for contrastive search
e27a1f92
gante some models always return past kv
e70f73f0
gante correct test for seq2seq
4b58cce7
gante now truly fix seq2seq
d5b34d38
gante fix final tests?
e89a1dda
gante now all working?
1088c585
gante add mixin test to test continuing generation
e9893d77
gante more versatile input code
b3cbbcd8
gante fix most models
668986cc
gante test works on nearly all models
70b5f8d2
gante gante marked this pull request as ready for review 2 years ago
gante gante requested a review from amyeroberts amyeroberts 2 years ago
gante gante changed the title [WIP] Generate: return `past_key_values` Generate: return `past_key_values` 2 years ago
amyeroberts
amyeroberts commented on 2023-11-02
amyeroberts
amyeroberts approved these changes on 2023-11-02
gante
gante gante merged a6c82d45 into main 2 years ago
gante gante deleted the return_past_kv branch 2 years ago
nevakrien
gante
amyeroberts

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone