FWIW - I would code as purchase, 1-4, not owner occupied also.
A multi-family building is a 5+ unit, the emphasis is on unit.
Examples-- (not to insult anyone's intelligence, but maybe to help a newbie who may be just now in the deep end of HMDA
)
single family home = 1-4 unit
duplex = 1-4 unit
3 duplexes on one loan = 1-4 unit
4-plex = 1-4 unit
2 4-plexes on one loan = 1-4 unit
6 unit apt bldg = multi-family
you get the idea!!!!!
And just for fun-----------
a single condo = 1-4 unit
a condo building with 5 or more units = multi-family
mobile homes for either sale or rent = HMDA and 1-4 unit
Mobile home dealer that buys MH for resale = not HMDA, just inventory!!!!
Gotta love HMDA (translation-job security)