Factorization Machines

https://d2l.ai/chapter_recommender-systems/fm.html

image

where does the field_dim come from?