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

multilabel ner training #79

Merged
merged 35 commits into from
Dec 6, 2024
Merged

multilabel ner training #79

merged 35 commits into from
Dec 6, 2024

Conversation

RichJackson
Copy link
Contributor

No description provided.

@RichJackson RichJackson force-pushed the multilabel-llm-ner-distil branch from 5c76f2a to ed750c3 Compare October 24, 2024 10:31
@paluchasz paluchasz changed the title REBASE multilabel ner training Oct 24, 2024
@RichJackson RichJackson marked this pull request as ready for review October 24, 2024 14:17

loss = loss_fct(flat_outputs, flat_labels)
if not return_dict:
output = (logits,) + outputs[2:]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you doing outputs[:2] instead of outputs[:1] like in the models you are sub-classing?

@paluchasz paluchasz merged commit 068511c into main Dec 6, 2024
3 checks passed
@paluchasz paluchasz deleted the multilabel-llm-ner-distil branch December 6, 2024 10:53
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