-
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 docstrings to some classes and methods
Add detailed docstrings to the `TokenizedGLUE` class and its methods in `fusion_bench/dataset/gpt2_glue.py`. * **Class Docstring:** - Add a class-level docstring to `TokenizedGLUE` explaining its purpose, attributes, and functionality. * **Method Docstrings:** - Add detailed docstrings to the `__init__`, `load_dataset`, `load_mrpc_dataset`, `load_rte_dataset`, `load_wnli_dataset`, `load_qqp_dataset`, `load_mnli_dataset`, `load_cola_dataset`, `load_sst2_dataset`, and `load_qnli_dataset` methods. - Include descriptions of the methods' purposes, parameters, and return values. * **Additional Docstring:** - Add a `Returns` section to the `fuse` method's docstring in `fusion_bench/compat/method/base_algorithm.py`. --- 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
2 changed files
with
103 additions
and
0 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