Predicting Related Hashtags For a Given Hashtag

Hey! I’m looking to build a model that predicts related hashtags based on an input (a hashtag as well).

The model would be trained on posts from text posts from Instagram.

Typically, people will use related hashtags in a single post. For instance, a post of a mother with their child could have the hashtags: #mom, #mother, #son, #family, and #married.

Here is an example:

This is probably a problem that is solvable by number of occurences of an hashtag with another hashtag. However, I am lost at which kind of model I can use to solve this.

What would be the best approach to this problem?

Thank you for taking the times, and let me know if you need further explaining.