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

Example-based Reweighting #1664

Closed
siddk opened this issue Dec 4, 2019 · 2 comments
Closed

Example-based Reweighting #1664

siddk opened this issue Dec 4, 2019 · 2 comments

Comments

@siddk
Copy link

siddk commented Dec 4, 2019

Is there a way to reweight individual examples (sentence pairs) by some value? E.g. scale the loss for a given example by 0.5 (arbitrary scalars).

@vince62s
Copy link
Member

vince62s commented Dec 5, 2019

the operation of reweighting is quite straight forward, the question is more what you want to reweight and based on what criterion.
maybe the best is to have a look at #1438 which was never merged but very interesting.

@francoishernandez
Copy link
Member

@siddk let us know if you have some interesting results with #1438!
There are some conflicts with current master because it was done a while ago but we might fix them and merge if it appears useful.

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

No branches or pull requests

3 participants