Views
No views yet
cross-encoder/ms-marco-MiniLM-L6-v2 for reranking retrieved SUTD modules in the SUTD Course Recommendation Chatbot (MLOps Group 9). This is the production reranker used in the final Hybrid pipeline.| Property | Value |
|---|---|
| Base model | cross-encoder/ms-marco-MiniLM-L6-v2 |
| Max sequence length | 512 |
| Output | Single relevance score |
| Loss | BinaryCrossEntropyLoss |
henreads/sutd-bge-large-aug98. For each of the 98 training jobs (67 hand-annotated + 31 augmented from MyCareersFuture), the top-30 retrieved modules (excluding ground-truth positives) were used as hard negatives. After expansion this produces 2685 training rows and 271 validation rows.henreads/sutd-reranker-ft67.sutd-bge-large-aug98, excluding positivessutd-mlops-reranker-finetune)sutd-bge-large-aug98). The reranker and embedding model must be co-designed around the same candidate distribution — swapping components changes results significantly.| Config | Chat Quality (Overall 1-5) |
|---|---|
| Hybrid, base reranker, k=25 | 3.865 |
| Hybrid, sutd-reranker-ft67, aug98 BGE, k=25 | 3.865 |
| Hybrid, sutd-reranker-aug98, aug98 BGE, k=25 | 4.06 |
1from sentence_transformers import CrossEncoder
2
3model = CrossEncoder("henreads/sutd-reranker-aug98")
4
5job_description = "Data Scientist at GovTech. Build ML models with Python..."
6module_passage = "50.007 Machine Learning — Topics: supervised learning, neural networks..."
7
8score = model.predict([[job_description, module_passage]])
9print(score)