The noun, that ends on "и" i or "у" and is singular, can be male, female or neutral. And such nouns are always borrowed words.
беби - m., гризли - m., колибри - f., гуппи - f., кенгуру - f. or m., тори - m. (political party in England), хаки (n.), сиртаки (m. or n.), макИ - m. (French partisan), буги-вуги - m. or pl. I don't think that there is a rule. You need look dictionary. But perhaps колибри and гуппи are female because птица и рыба are female.