# Get last embedding layer from wav2vec

**URL:** <https://discuss.huggingface.co/t/get-last-embedding-layer-from-wav2vec/74292>\
**Category:** Beginners\
**Created:** [February 22, 2024, 8:21am UTC](https://discuss.huggingface.co/t/get-last-embedding-layer-from-wav2vec/74292 "2024-02-22T08:21:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DolanTheMFWizard](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@DolanTheMFWizard](https://discuss.huggingface.co/u/DolanTheMFWizard)\
**Post date:** [February 22, 2024, 8:21am UTC](https://discuss.huggingface.co/t/get-last-embedding-layer-from-wav2vec/74292/1 "2024-02-22T08:21:43Z")

</div>

I see there’s something called `last_hidden_state` how do I pull the embedding of the entire audio sequence from the Wav2Vec model ([Wav2Vec2](https://huggingface.co/docs/transformers/en/model_doc/wav2vec2#transformers.Wav2Vec2Model))?
