I do find info on how to setup basic firebase (like @react-native-firebase/app) for react native, and there is info of how to install ML, but that is old info. The new ones, after 2020, would be ML Kit, or Firebase Machine Learning. For these new ones, I have not found any info on how to use them with react-native.
There are some links speaking about npm modules like www.npmjs.com/org/react-native-mlkit but that brings nothing but a blank page.
If we are talking about On Device ML (https://developers.google.com/ml-kit) you can use this React Native wrapper for ML Kit https://github.com/a7medev/react-native-ml-kit
To install it you need to install a particular package @react-native-ml-kit/translate-text
or @react-native-ml-kit/image-labeling
. Full list you can find in the root of repository.