Skip to content
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

Hidden state / embeddings of encoder #1132

Closed
SinanAkkoyun opened this issue Nov 12, 2024 · 2 comments
Closed

Hidden state / embeddings of encoder #1132

SinanAkkoyun opened this issue Nov 12, 2024 · 2 comments

Comments

@SinanAkkoyun
Copy link

Hi! Is it possible to retrieve the encoders embeddings?

@MahmoudAshraf97
Copy link
Collaborator

It's, use model.encode function which takes in features with shape (batch_size, n_mels, seq_length)

@SinanAkkoyun
Copy link
Author

@MahmoudAshraf97
Hi, I made a PR enabling the retrieval of embeddings whilst still retaining old usage
#1136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants