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

[Fix] label_list not being set for NLP token classification training if distillation teacher and student labels do not match (#1414) #1416

Merged
merged 1 commit into from
Mar 4, 2023

Commits on Mar 4, 2023

  1. [Fix] label_list not being set for NLP token classification training …

    …if distillation teacher and student labels do not match (#1414)
    
    * [Fix] Fix label_list not being set for NLP token classification training if distillation teacher and student labels do not match
    
    * Added two fixes: omitting the labels/indices matching for student/teacher if teacher is a string; prioritizing teacher labels to student labels if teacher labels are string and student's int
    
    * revert previous int label patch - allow int labels to let given dataset be the source of truth
    
    * only override label_list when teacher and student labels sets are equal
    
    ---------
    
    Co-authored-by: Damian <damian@neuralmagic.com>
    Co-authored-by: Benjamin <ben@neuralmagic.com>
    3 people committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    5370031 View commit details
    Browse the repository at this point in the history