training was deemed fair use in that case but your output can not infringe on copyrighted material. In Anthropic the main case was on illegal access, it does not cover reproducing significant amount of the training material
It depends how you look at it. The act of downloading and keeping the pirated materials was penalized but the ability to train on such material was not. In this case copyright penalties are not an effective deterrent against piracy given the scale of reward for the action. Perhaps worse yet the court found use of pirated material for training to be fair use. The damage to the intellectual property owners due to derivative products, services or lost sales might turn out be far greater than the piracy.
(I think downloading was already infringement before, reading is allowed with all the usual consequences like possibly learning something new)