It is probably not a good idea to publicly declare that you intend to be less racist, or that you are trying to be less racist. Doing so may make you less likely to change, which would result in you continuing with your racist behaviours.
In a post titled, Shut up! Announcing your plans makes you less motivated to accomplish them., Derek Sivers writes:
Tests done since 1933 show that people who talk about their intentions are less likely to make them happen.
Announcing your plans to others satisfies your self-identity just enough that you’re less motivated to do the hard work needed.
In 1933, W. Mahler found that if a person announced the solution to a problem, and was acknowledged by others, it was now in the brain as a “social reality”, even if the solution hadn’t actually been achieved.
NYU psychology professor Peter Gollwitzer has been studying this since his 1982 book “Symbolic Self-Completion” (pdf article here) – and recently published results of new tests in a research article, “When Intentions Go Public: Does Social Reality Widen the Intention-Behavior Gap?”