transformers
Add early stopping for Bark generation via logits processor
#26675
Merged

Add early stopping for Bark generation via logits processor #26675

isaac-chung
isaac-chung add early stopping logits processor
c621e667
isaac-chung isaac-chung changed the title add early stopping logits processor Add early stopping logits processor 2 years ago
isaac-chung isaac-chung changed the title Add early stopping logits processor Add early stopping for Bark generation 2 years ago
isaac-chung isaac-chung changed the title Add early stopping for Bark generation Add early stopping for Bark generation via logits processor 2 years ago
isaac-chung black formmated
9027782f
isaac-chung indent
a93b03cb
isaac-chung follow method signature
1de69b83
isaac-chung actual logic
0937f063
isaac-chung check for None
05d16476
isaac-chung isaac-chung marked this pull request as ready for review 2 years ago
isaac-chung
ylacombe
ylacombe commented on 2023-10-09
isaac-chung address comments on docstrings and method signature
88571d1e
isaac-chung add unit test under `LogitsProcessorTest` wip
528b9676
isaac-chung unit test passing
dc33e369
isaac-chung black formatted
ce21bc5a
isaac-chung
ylacombe
isaac-chung condition per sample
45b3065e
isaac-chung add to BarkModelIntegrationTests
fa5d2516
isaac-chung wip BarkSemanticModelTest
b08346dc
isaac-chung
ylacombe
ylacombe commented on 2023-10-11
isaac-chung rename and add to kwargs handling
81f90ce5
isaac-chung
isaac-chung not add to BarkSemanticModelTest
f9c1c847
ylacombe
isaac-chung
ylacombe
isaac-chung
ylacombe
isaac-chung correct logic and assert last outputs tokens different in test
a9645bbf
isaac-chung
isaac-chung doc-builder style
4c81b7dc
isaac-chung isaac-chung requested a review from ylacombe ylacombe 2 years ago
HuggingFaceDocBuilderDev
isaac-chung
ylacombe
ylacombe approved these changes on 2023-10-18
ylacombe ylacombe requested a review from ArthurZucker ArthurZucker 2 years ago
isaac-chung read from kwargs as well
ff7343b6
ArthurZucker
ArthurZucker commented on 2023-10-19
ylacombe
isaac-chung assert len of with less than that of without
9e902320
isaac-chung ruff
a37aac3b
isaac-chung add back seed and test case
b0200b8c
ArthurZucker
ylacombe
ArthurZucker
isaac-chung add original impl default suggestion
7c743c64
isaac-chung doc-builder
28c12e92
ylacombe
isaac-chung
gante
gante commented on 2023-10-24
isaac-chung rename and use softmax
542f41e2
isaac-chung switch back to LogitsProcessor and update docs wording
e16309d8
gante
gante approved these changes on 2023-10-25
ylacombe
ylacombe commented on 2023-10-25
gante
ArthurZucker
ArthurZucker approved these changes on 2023-10-25
isaac-chung camelCase and spelling and saving compute
0c75c1c8
isaac-chung assert strictly less than
d88acd82
isaac-chung assert less than
eb9b2f0a
isaac-chung
ylacombe
ylacombe commented on 2023-10-26
isaac-chung expand test_generate_semantic_early_stop instead
9e835472
ylacombe
isaac-chung
gante gante merged e2bffcfa into main 2 years ago
isaac-chung isaac-chung deleted the improve-bark-generation branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone