"What would it take to teach a machine to behave ethically?" A recent paper
[https://arxiv.org/abs/2110.07574] approached this question by collecting a
dataset that they called "Commonsense Norm Bank", from sources like advice
columns and internet forums, and then training a machine
