How to hide certain tags from the_tags()?

The best way is not to do this. Use a custom taxonomy instead.