Sentence Similarity
sentence-transformers
Safetensors
English
qwen3
feature-extraction
retrieval
rag
education
higher-education
text-embeddings-inference
Instructions to use joeltcook/riverguide-retriever-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use joeltcook/riverguide-retriever-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("joeltcook/riverguide-retriever-v2") sentences = [ "Instruct: Given a college student's search query, retrieve the College web page that answers it\nQuery: my son is in 11th grade and wants to take college classes how does that work", "Dual Enrollment > Overview\n\nHigh school students can take college courses and earn college credit while they finish high school.", "Admissions > Apply\n\nNew students apply online, then send their transcripts.", "Financial Aid > FAFSA\n\nComplete the FAFSA to apply for federal grants." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!