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

Add ce_loss metric and TriviaQA/NaturalQuestions tasks #520

Merged
merged 9 commits into from
Apr 25, 2024

Conversation

OyvindTafjord
Copy link
Contributor

With @yulinggu-cs we have added a new ce_loss metric which just scores the cross-entropy loss of the gold answer to tasks, which should have positive correlation with actual task performance.

As examples of using this metric, we added these new tasks:

  • trivia_qa_wiki_ppl: TrivaQA 8k validation set (Wiki subset, used in Llama-2 paper)
  • natural_qs_open_ppl: NaturalQuestions (nq_open validation subset, 3.6k questions, used in Llama papers)
  • arc_easy_ppl: Sample example of adding a CE-loss version of existing task (this is somewhat inefficient, redoing part of the earlier evaluation, so should be optimized if we end up doing this for existing tasks)

We log tasks with this metric to a different tab in wandb.

@OyvindTafjord OyvindTafjord merged commit 829f1d6 into main Apr 25, 2024
10 of 11 checks passed
@OyvindTafjord OyvindTafjord deleted the add-ce-loss-metric branch April 25, 2024 22:24
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