Then that would no longer be an Open source license.
Which means, you cannot limit the purposes for which your software is used.
If you wanted to prohibit it being used to train ML models, you could add this restriction to your license, but it would no longer be Open Source(TM).
I think this would likely fall foul of clause 6, in that using the software for training ML models would likely be considered a "field of endeavor". It's not the classic application of this clause (ie. "you can't use this software for military purposes", etc), but I think it'd still be covered.
Of course, IANAL, and your lawyer's opinion might differ.