An unofficial and simple (by no means optimal) implementation of the method from paper CoS: Enhancing Personalization and Mitigating Bias with Context Steering. All credits go to the original authors. Please refer to demo.ipynb
for how to use and reproduce the results from the original paper.