I'm sympathetic to dualism, being an idealist who thinks that there's just mental substances. I don't think there's any conflict between substance dualism and the belief that most of what we consider intelligence or understanding is actually the work of brains rather than mental substances. Minds have experiences, but that doesn't mean that those experiences aren't
heavily influenced by facts about the physical (and, more specifically, our brains).
Machine learning is modeled at least in small part in a way that it's thought the brain operates. I expect such things to be able to mimic human reasoning and intelligence, I just deny that there's any consciousness behind it -- there's no qualia, no phenomenology. In short, there's nothing that it's like to be ChatGPT. Even so, ChatGPT is able to mimic human intelligence, and I won't be surprised if (when?) it gets even better.