Dictionary for BERT?

i got embedding from using BERT using pytorch but for every word and it can be repeated … so does there any way to make like a dictionary that in GLOVE to store the embedding for each word and not repeated it ?