Studying history better would be a good start. The Nazis came to power because they were a far left party and the population in that era thought socialism was a great idea. Hitler himself remarked many times that his movement was left wing and socialist. I expect that if you asked the LLM trained on pre-1940s text, it would have no difficulty in explaining that.
By studying history better, people wouldn't draw the wrong conclusions about what caused it. Watch out for left wing radicals promoting socialism-with-genetic-characteristics.