-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add argument documentation to functions
Add missing argument explanations to various functions across multiple files. * **`fusion_bench/compat/taskpool/clip_image_classification.py`**: - Add explanation for `clip_model` argument in `evaluate` function. - Add explanation for `model` argument in `evaluate` function. * **`fusion_bench/compat/taskpool/flan_t5_glue_text_generation.py`**: - Add explanation for `model` argument in `evaluate` function. * **`fusion_bench/dataset/gsm8k.py`**: - Add explanation for `dataset_name` argument in `load_gsm8k_question_label_data` function. * **`fusion_bench/dataset/nyuv2.py`**: - Add explanation for `index` argument in `__getitem__` function. * **`fusion_bench/method/adamerging/task_wise_adamerging.py`**: - Add explanation for `module`, `batch`, and `task` arguments in `compute_logits` function. * **`fusion_bench/method/dawe/dawe_for_clip.py`**: - Add explanation for `pretrained_model_name_or_path` argument in `load_resnet_processor` function. * **`fusion_bench/method/dummy.py`**: - Add explanation for `modelpool` argument in `run` function. * **`fusion_bench/method/ensemble.py`**: - Add explanation for `modelpool` argument in `run` function. * **`fusion_bench/method/linear/expo.py`**: - Add explanation for `modelpool` argument in `run` function. * **`fusion_bench/method/linear/linear_interpolation.py`**: - Add explanation for `modelpool` argument in `run` function. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/tanganke/fusion_bench?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
10 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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