How to get vocabulary embedding matrix from an LLM?

I want to access the entire vocabulary and its trained embedding of a large language model. How do I achieve that?

is there a vocab.txt file in the model files?