SQL499/emparejamiento-finetuned - a model for evaluating semantic similarity between resumes and job descriptions
2 min readupdated
This compact model, based on the BERT architecture, converts sentences and paragraphs into dense numeric vectors of 384 dimensions, enabling accurate evaluation of their semantic similarity. It was trained on a dataset of 800 examples containing information about education, work experience, and professional competencies in Spanish. The model outputs the cosine similarity (a measure of semantic closeness) between text pairs, which is useful for search and matching tasks. This model is useful for developers and HR specialists to automate recruitment and resume analysis.
Key features
- Compactness: A model with about 0.12 billion parameters runs quickly on standard hardware.
- Vector representation: Transforms text into a 384-dimensional vector space (dense vector space).
- Similarity function: Uses cosine distance (Cosine Similarity) to compare meanings.
- Context limit: Supports a maximum sequence length of up to 256 tokens.
What you can do
- Resume search: Find suitable candidates by job description or a set of professional skills.
- Profile comparison: Evaluate the degree of match between an applicant's work experience and employer requirements.
- Text clustering: Group similar resumes or educational programs by semantic categories.
Example
Code example for loading the model and computing the semantic similarity of texts:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("SQL499/emparejamiento-finetuned")
sentences = [
"Formacion: PROYECTOS DE INVERSION...",
"Especialista de Pre-Inversión - Lima...",
"INGENIERO DE PLANEAMIENTO...",
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities)
Read more
DetailsBenchmarks: trained using CosineSimilarityLoss and the MSELoss loss function
Requirements: output dimension 384, max. length 256 tokens
Training: 800 examples, batch 16, 2 epochs, learning rate 2e-05










Comments