Language generation algorithms are known to incorporate racist and sexist ideas. They are trained in the language of the internet,…