This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
[Task Submission] ICL consistency test (icl_consistency_test
)
#11
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nbench_cbt into ICL_consistency_test
Hello! We are getting quite close to the deadline (September 1, 11:59PM anywhere on earth), which is why I wanted to remind you of the fact that your PR still needs some attention. Please double-check the automated tests, Good luck finalising your PR and paper, feel free to tag us if you have questions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ICL consistency test
This task tests the consistency of prompt-based model predictions across a wide range of different prompt-setups, calculating accuracy- and consistency-scores.
Authors
[email protected]
[email protected]
[email protected]
Implementation
There is no data-preprocessing necessary.
We implemented a custom
evaluate_predictions()
-method to calculate accuracy and consistency scores for each setup separately.Usage
The custom
evaluate_predictions()
-method accepts inputs in the default format withpredictions
expecting aDict[str, Dict[str, Any]]
andgold
expecting adatasets.Dataset
. Forpredictions
, the keys of the outer dictionary should represent thesetup_IDs
and the keys of the inner dictionary should represent the respectivedata_IDs
. For a fully implemented example evaluation pipeline using huggingface, seeexample_evaluation.py
.Checklist:
genbench-cli test-task
tool.