Is the index of the vocabulary in Tokenizer the same as the index of WordEmbedding?
I have a word vector A, which has dimension `[1, 768]`. I compute the similarity between vector A and all words in `bert.embeddings.word_embeddings.weight` and get the most similar index is `idx`. I use the following code to see what token the `idx` is

```python
token = tokenizer.decode([idx])
```

But when I look at the index of the token in Tokenizer using the following code, I find that it is not equal to the `idx`

```python
new_idx = tokenizer(token)['input_ids'][1]
# new_idx != idx
```