dipenbhuva/dating-compatibility-pairs
Dating Compatibility Pairs A synthetic dataset of 7,469 text pairs designed for training and evaluating models that predict dating compatibility between two people based on their self-described preferences, values, and lifestyle choices. Dataset Purpose This dataset is built for: Embedding fine-tuning (e.g., Sentence Transformers, contrastive learning) — learn representations where compatible people are close in embedding space Text pair classification — train… See the full description on the dataset page: https://huggingface.co/datasets/dipenbhuva/dating-compatibility-pairs.
Dating Compatibility Pairs
A synthetic dataset of 7,469 text pairs designed for training and evaluating models that predict dating compatibility between two people based on their self-described preferences, values, and lifestyle choices.
Dataset Purpose
This dataset is built for:
- Embedding fine-tuning (e.g., Sentence Transformers, contrastive learning) — learn representations where compatible people are close in embedding space
- Text pair classification — train models to predict whether two dating profiles are compatible
- Matching systems — build recommendation/matching engines for dating applications
Dataset Structure
Each example is a pair of natural language statements from two people (labeled as "boy" or "girl"), with a binary compatibility label.
Splits
Categories
Pairs span several categories of dating preferences:
- lifestyle — health-conscious habits, daily routines, social preferences
- interests — hobbies, activities, entertainment preferences
- values — spirituality, career ambitions, family values, independence
- dealbreakers — non-negotiable preferences (e.g., smoking, kids, religion)
- Cross-category combos — e.g.,
interests_and_values,lifestyle_and_interests
Pair Types
The dataset includes diverse pair construction methods to improve model robustness:
Usage
Loading the Dataset
from datasets import load_dataset
dataset = load_dataset("dipenbhuva/dating-compatibility-pairs")
# Access splits
train = dataset["train"]
eval_set = dataset["eval"]
print(train[0])
# {'text_1': 'girl: I really enjoy sleeping in...', 'text_2': 'boy: I can't stand...', 'label': 0, ...}Embedding Fine-tuning (Sentence Transformers)
from sentence_transformers import SentenceTransformer, InputExample, losses
from torch.utils.data import DataLoader
model = SentenceTransformer("all-MiniLM-L6-v2")
train_examples = [
InputExample(texts=[row["text_1"], row["text_2"]], label=float(row["label"]))
for row in dataset["train"]
]
train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=32)
train_loss = losses.CosineSimilarityLoss(model)
model.fit(
train_objectives=[(train_dataloader, train_loss)],
epochs=3,
warmup_steps=100
)Text Pair Classification
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased", num_labels=2)
# Tokenize pairs
inputs = tokenizer(
[row["text_1"] for row in dataset["train"]],
[row["text_2"] for row in dataset["train"]],
padding=True, truncation=True, return_tensors="pt"
)Dataset Generation
The dataset was generated synthetically using generate_dating_pairs.py (included in this repository). The generation process includes:
- Template-based generation with diverse persona attributes and natural language variation
- LLM-judged pairs where a language model scores compatibility on a 0-10 scale
- Curated realistic examples modeled after real dating profile language
- Deliberate subtle mismatches to teach models that different interests don't always mean incompatibility
Limitations
- Synthetic data: All pairs are generated, not from real users. Real dating preferences are more nuanced.
- Binary labels: Compatibility is reduced to 0/1, while real compatibility is a spectrum.
- English only: All text is in English.
- Gender binary: Pairs use "boy"/"girl" labels only.
Citation
If you use this dataset, please cite:
@dataset{dating_compatibility_pairs,
title={Dating Compatibility Pairs},
author={dipenbhuva},
year={2025},
url={https://huggingface.co/datasets/dipenbhuva/dating-compatibility-pairs}
}