# Wav2vec2 feature timestamps? (not words)

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwav2vec2-feature-timestamps-not-words%2F9589%3E%5C
**Category:** Models\
**Created:** [August 30, 2021, 10:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwav2vec2-feature-timestamps-not-words%2F9589 "2021-08-30T10:03:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![turian](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/turian/32/2603_2.png) [@turian](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fturian)%5C
**Post date:** [August 30, 2021, 10:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwav2vec2-feature-timestamps-not-words%2F9589%2F1 "2021-08-30T10:03:32Z")

</div>

When extracting features using wav2vec2, what are the timestamps? I know the hop-size is 20ms, but is the first embedding centered at 10ms? Some experiments I have done indicate that for “base”, it may start at 5ms:

- 31439 samples =\> 97 embeddings
- 31440 samples =\> 98 embeddings

Suggest that the embeddings aren’t centered. 320 samples is 20ms, and 31440/320 = 98.25, so the embeddings seem to be shifted 5 ms.

However, 31680 sample =\> 98 embeddings, and 31680 samples = 99 20 ms hops, which suggests the timestamps start at 20ms.

It would be useful to document this, even if there is no code for it.

---

<div class="post-metadata">

**Author:** ![kbtruthriver](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kbtruthriver](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkbtruthriver)%5C
**Post date:** [February 16, 2022, 2:12pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwav2vec2-feature-timestamps-not-words%2F9589%2F2 "2022-02-16T14:12:45Z")

</div>

Were you able to find a solution for this?
