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

support decoder only ia3 for ranked classification #70

Merged
merged 1 commit into from
Jul 28, 2022
Merged

Conversation

IanMagnusson
Copy link
Contributor

Adds support for inference with IA3 adaptors loaded from a file on decoder only ranked classification models.

reproduction

Successfully reproduces benchmark metric from @cherry979988's research code. Evaluating on the non_class_to_class setting of MetaICL using a raw gpt2-large with specific IA3 weights tuned for each of 20 tasks and 5 seeds on each task:

  • @cherry979988's code gets 51.4425 average macro F1
  • our code gets 51.5594482421875 average macro F1

Copy link
Member

@epwalsh epwalsh left a comment

Choose a reason for hiding this comment

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

I didn't look too deeply at this, but considering the results were reproduced I'm happy :)

@IanMagnusson IanMagnusson merged commit 98d3aad into main Jul 28, 2022
@IanMagnusson IanMagnusson deleted the add-ia3 branch August 23, 2022 00:30
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