Format Finetuning Data for SapBERT
mainFinetuning data must be formatted as a text file where each line represents a synonym pair associated with a specific label ID. The format for each line is:
label_id || entity_name_1 || entity_name_2
entity_name_1 and entity_name_2 are synonym pairs sampled from a labeled dataset. If a single label is associated with multiple entity names, you should include all possible pairwise combinations for that label.
label_id || entity_name_1 || entity_name_2