That is not a technological problem, as what is one persons "hate speech" is another persons political speech, and no one can agree on where the line is
For me the line is no line... All Speech should be allowed, the problem with moderation is attempting to do it in the first place at the platform level
Give people their own personal controls to see or not see, to block, mute, or otherwise disassociate.
Anything beyond personal tools to control your own overton window will be a problem. Reddit is a prime example of this where by countless issues with power tripping mods who over censor communities exist.