-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Add tensor flow whisper model for audio classification #22109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
adit299
wants to merge
34
commits into
huggingface:main
from
adit299:Add_TensorFlow_Whisper_model_for_audio_classification
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
246f2d2
commenced work on supporting audio classification task for whisper mo…
adit299 f80abc7
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 9c4c724
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 6f1524a
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 6c4d269
initial implementation of Whisper Audio Classification in tf finished
adit299 7033afa
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 5e61c4c
registering whisper audio classification in tf
adit299 ab91074
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 f4bb390
Merge branch 'huggingface:main' into Add_TensorFlow_Whisper_model_for…
adit299 d204aea
commencing work on writing tests
adit299 7fe04e6
modified tests
adit299 7943e6a
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 6afd3a4
attempting to fix issues with tests
adit299 874af91
adding dummy_tf_object for whisper model
adit299 469e1ef
attempting to fix circleci tests
adit299 9e7415f
correcting mistake in previous commit
adit299 67eaf01
correcting mistakes
adit299 d545856
correcting more mistakes
adit299 c0e9320
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 4907a9a
renamed call function to forward to resolve test error
adit299 94cdcd5
attempting to resolve more test errors
adit299 24a42fe
addressing review comments
adit299 d4360d8
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 8304422
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 6f4101d
Addressing review comments and fixing code quality
adit299 896d71d
Merge branch 'main' into Add_TensorFlow_Whisper_model_for_audio_class…
adit299 54b6edd
solving onnx test error
adit299 2dfcc46
Merge branch 'Add_TensorFlow_Whisper_model_for_audio_classification' …
adit299 d0f7e22
attempting to fix failing quality tests
adit299 05920b0
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 f190cb1
Merge branch 'main' of https://github.com/adit299/transformers into A…
adit299 4f02f9e
resolving test_resize_token_embeddings
adit299 468a9bf
override dummy_inputs and input_signature methods
adit299 66fb2b5
removing uneeded file
adit299 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM from a functionality point of view! Will leave it to one of the TF maintainers to assist you with the TF-specific semantics, but what you've got here looks complete to me (no need for the freeze encoder method since this is only for fine-tuning, which we don't have in TF)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, great! I still see that there are some tests failing from within
TFModelTesterMixin, so I can try to resolve those.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!