-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docstring format of
GoogleScholar
(#138)
* fix docstrings * update pre-commit-hooks * chores --------- Co-authored-by: wangzy <[email protected]>
- Loading branch information
1 parent
990828c
commit 60244a2
Showing
12 changed files
with
51 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from .autogpt import * # noqa: F401, F403 | ||
from .base_agent import * # noqa: F401, F403 | ||
from .internlm2_agent import * # noqa: F401, F403 | ||
from .react import * # noqa: F401, F403 | ||
from .rewoo import * # noqa: F401, F403 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
from lagent.utils import is_module_exist | ||
from .base_api import BaseAPIModel | ||
from .base_llm import BaseModel | ||
from .huggingface import HFTransformer, HFTransformerCasualLM | ||
from .lmdepoly_wrapper import LMDeployClient, LMDeployPipeline, LMDeployServer | ||
from .meta_template import INTERNLM2_META | ||
from .openai import GPTAPI | ||
|
||
__all__ = ['BaseModel', 'BaseAPIModel', 'GPTAPI'] | ||
|
||
if is_module_exist('transformers'): | ||
from .huggingface import HFTransformer, HFTransformerCasualLM # noqa: F401 | ||
__all__.extend(['HFTransformer', 'HFTransformerCasualLM']) | ||
__all__ = [ | ||
'BaseModel', 'BaseAPIModel', 'GPTAPI', 'LMDeployClient', | ||
'LMDeployPipeline', 'LMDeployServer', 'HFTransformer', | ||
'HFTransformerCasualLM', 'INTERNLM2_META' | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
lmdeploy | ||
lmdeploy>=0.2.2 | ||
streamlit | ||
torch | ||
transformers | ||
transformers>=4.34 |
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