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

Update CoSENTLoss.py documentation #3230

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Conversation

johneckberg
Copy link
Contributor

Context

Resolves the documentation issue Dawnik17 noted in the CoSENTLoss.py class.

Details

Fixes variable ordering in documentation for the CoSENTLoss.py class; the docs should read loss = logsum(1+exp(s(i,j)-s(k,l))+exp...) not loss = logsum(1+exp(s(k,l)-s(i,j))+exp...).

Fixed variable ordering error in method documentation
@tomaarsen
Copy link
Collaborator

Hello @johneckberg!

I'm glad to hear it's simply a documentation issue, and not an issue with the loss itself! I've restarted the test - it can be a bit flaky.

  • Tom Aarsen

@tomaarsen tomaarsen merged commit 8562d6f into UKPLab:master Feb 14, 2025
9 checks passed
@tomaarsen tomaarsen changed the title Update CoSENTLoss.py Update CoSENTLoss.py documentation Feb 14, 2025
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

Successfully merging this pull request may close these issues.

2 participants