Hi,
In Lab1 I tried dim = 8, same result.
How to choose correct embedding layer dim?
Thanks
Hi,
In Lab1 I tried dim = 8, same result.
How to choose correct embedding layer dim?
Thanks
Hello @Taras_Buha
Thanks for reaching out.
There is no “right” answer to this question; there are many views on choosing the embedding_dimensiones.
For example, this google developer blog post says:
Well, the following “formula” provides a general rule of thumb about the number of embedding dimensions:
embedding_dimensions = number_of_categories**0.25
The embedding vector dimension should be the 4th root of the number of categories.
The most important thing is to take in mind the following guidelines:
There are some recommendations from Tolik; note that this is just a general guideline; you can set the number of embedding dimensions as you please.
Hopefully, help
With regards,
Hello @adonaivera
Thanks very much for so powerful information.
Very helpful answer.
Best regards, Taras