Sentence embeddings and topic models are two different approaches to represent text data in a numerical form that can be used by machine learning algorithms.
Sentence embeddings are dense vectors of real numbers, typically of size 100-300, that represent each sentence in a way that captures its meaning. These embeddings are learned from large amounts of text data using neural networks, and they can be used to compare the similarity between sentences, as well as to perform tasks such as text classification and information retrieval.
Topic models, on the other hand, are a way of uncovering the hidden topics or themes in a corpus of text data. They work by identifying patterns in the co-occurrence of words and phrases, and grouping similar text into topics. Topic models can be used to discover latent topics in a corpus of text, and can also be used to reduce the dimensionality of the text data by representing each document as a weighted sum of the topics it belongs to.
In the context of searching through resumes, sentence embeddings could be used to represent each resume as a dense vector, which could then be compared to the job requirements to identify the most relevant candidates. Topic models could be used to identify the topics that are most relevant to the job, such as specific skills or work experiences, and then the resumes could be clustered based on their similarity to these topics.
In summary, sentence embeddings are a way of representing text data as dense vectors, while topic models are a way of discovering the underlying topics or themes in a corpus of text data. Both approaches can be useful in the task of searching through resumes and finding relevant skills and experiences, but they are used in slightly different ways.