Files
HuggingFace_transformer/tests/models
Connor Henderson 2acedf4721 feat: Whisper prompting (#22496)
* initial working additions

* clean and rename, add cond stripping initial prompt to decode

* cleanup, edit create_initial_prompt_ids, add tests

* repo consistency, flip order of conditional

* fix error, move the processor fn to the tokenizer

* repo consistency, update test ids to corresponding tokenizer

* use convert_tokens_to_ids not get_vocab...

* use actual conditional in generate

* make sytle

* initial address comments

* initial working add new params to pipeline

* first draft of sequential generation for condition_on_previous_text

* add/update tests, make compatible with timestamps

* make compatible with diff. input kwargs and max length

* add None check

* add temperature check

* flip temp check operand

* refocusing to prev pr scope

* remove the params too

* make style

* edits, move max length incorporating prompt to whisper

* address comments

* remove asr pipeline prompt decoding, fix indexing

* address comments (more tests, validate prompt)

* un-comment out tests (from debug)

* remove old comment

* address comments

* fix typo

* remove timestamp token from test

* make style

* cleanup

* copy method to fast tokenizer, set max_new_tokens for test

* prompt_ids type just pt

* address Amy's comments

* make style
2023-05-19 09:33:11 +01:00
..
2023-04-06 13:50:15 +01:00
2023-04-12 17:46:41 +01:00
2022-05-03 14:42:02 +02:00
2023-03-01 11:11:04 +01:00
2023-04-06 13:50:15 +01:00
2022-05-03 14:42:02 +02:00
2023-04-20 15:50:31 +01:00
2023-04-06 17:56:06 +02:00
2023-05-02 09:25:46 -04:00
2023-04-06 17:56:06 +02:00
2023-03-07 04:20:14 +01:00
2023-04-06 17:56:06 +02:00
2023-04-06 17:56:06 +02:00
2023-04-06 17:56:06 +02:00
2023-04-07 17:13:04 +02:00
2023-04-06 17:56:06 +02:00
2022-05-12 16:25:55 -04:00
2023-04-06 13:50:15 +01:00
2023-04-04 14:53:06 +02:00
2023-02-09 14:46:15 +00:00
2023-04-04 12:41:12 -04:00
2023-04-06 13:50:15 +01:00
2023-05-17 14:27:43 +02:00
2023-04-06 13:50:15 +01:00
2023-04-06 17:56:06 +02:00
2023-05-19 09:33:11 +01:00
2023-04-21 15:16:45 +02:00
2022-05-03 14:42:02 +02:00