The developer utilized the deepvk/ru-HNP dataset, originally generated via ChatGPT, to facilitate contrastive learning. This dataset consists of 100,000 queries, each paired with five positive examples and five hard negative examples.
To prevent model overfitting, the implementation employs dynamic sampling. Instead of using fixed combinations, the system stores full lists of positives and negatives, allowing for random selection during each training epoch.
The processing script filters out empty queries and entries, resulting in a training file size of 250.6 MB. The final dataset structure includes splits for training, validation, and testing, formatted in jsonl.






