The num_embeddings is defines as the number of indices you would like to pass into it in the range [0, num_embeddings-1]. E.g. if you are dealing with 100 different indices in [0, 99], num_embeddings would be set to 100.
You can pick the value for embedding_dim and check, what would work the best for your use case.