Custom NER with ~54 entities


I want to fine tune a LLM for my 54 entities. Could anyone guide how to pass these entities with their keywords and synonyms to a llm and fine tune it with training data? I can generate training queries for these entities but I can’t get around how to map word by word tokens with their embeddings and fine tune it.
Please help. Thanks