Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fintuning model router #257

Open
Teera21 opened this issue Apr 26, 2024 · 1 comment
Open

fintuning model router #257

Teera21 opened this issue Apr 26, 2024 · 1 comment

Comments

@Teera21
Copy link

Teera21 commented Apr 26, 2024

how can i fintunig this model in semantic-router to improve my performance and accuracy in decusion rout.

@andreped
Copy link
Contributor

andreped commented Apr 29, 2024

Hello, @Teera21! :]

What do you mean finetune? Finetune the embedding model? Or do you just want to enhance accuracy in the routing? I would try using HybridRouteLayer and tuning the alpha, as well as defining more clear routes by refining the utterances. There is also some gain to tune the aggregation method and top_k. At least in my experiments.


EDIT: Note that there is a PR on fine-tuning an embedding model here: #258

So there will likely be a notebook you could follow very soon if you want to fine-tune your own model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants