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

Specifying ones own samples or sentence pairs #576

Open
philmas opened this issue Dec 16, 2024 · 0 comments
Open

Specifying ones own samples or sentence pairs #576

philmas opened this issue Dec 16, 2024 · 0 comments

Comments

@philmas
Copy link

philmas commented Dec 16, 2024

I have been looking into SetFit for a while and its a very nice tool. Currently, it seems that there are a lot of options for training and using the classification head, but there is no way to train the 'body' on a specified set of label pairs. Would it be possible or appreciated if such capacity was added?

One of the key reasons is that currently all samples/classes are treated the same when doing contrastive learning (correct me if wrong). It would be nice to specify the pairs myself as to enhance the contrastive capacity (hard negatives / positives).

If there are already options for this let me know.

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

1 participant