BraisedPork
83437b081f
Fix requirements ( #129 )
...
fix requirements
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
2024-01-31 17:51:07 +08:00
BraisedPork
3d9992182e
Fix action results ( #127 )
...
fix action results
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
2024-01-31 17:50:47 +08:00
BraisedPork
ca1ab4b5ec
Fix conf_py_path for zh_CN docs ( #126 )
...
fix conf_py_path
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
2024-01-31 16:20:49 +08:00
liujiangning30
f974a7bd39
Feat: support response from FinishAction ( #122 )
2024-01-31 16:09:14 +08:00
BraisedPork
d943becaec
Modify levels of readthedocs configuration ( #125 )
...
fix readthedocs config
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
2024-01-31 15:51:04 +08:00
BraisedPork
f90010c867
Add readthedocs configuration for zh_CN ( #123 )
...
* configure readthedocs
* remove unmaintained docs
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
2024-01-31 14:58:00 +08:00
liujiangning30
ae3c7c37a6
Fix bug ( #121 )
...
* rename parameter 'max_out_len' of base_api to 'max_tokens'
* fix bug of hf
2024-01-31 13:36:01 +08:00
BraisedPork
559275daf4
Fix Annotated import error ( #120 )
...
fix typing
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
2024-01-31 13:35:15 +08:00
liujiangning30
c7c46785bb
Feat: strip ModelStatus from AgentState ( #115 )
...
* Feat: strip ModelStatus from AgentState
* update schema
* fix bug of modelStatus
2024-01-30 22:53:37 +08:00
liujiangning30
c9973b9558
fix bug of HFTransformer.generate ( #118 )
2024-01-30 22:52:43 +08:00
liujiangning30
94ba3a1a75
add docstring ( #116 )
...
* BaseLLm generate docstring
2024-01-30 19:30:40 +08:00
Sean
76a46c9a8c
Update internlm2_agent.py ( #114 )
...
fix typo
2024-01-30 16:36:29 +08:00
liujiangning30
d4a71f40b5
Fix: outputs with same format ( #112 )
...
model outputs with the same format
2024-01-30 16:36:08 +08:00
BraisedPork
5581fad8ce
Validate actions implement run XOR other tool APIs ( #111 )
...
Validate actions implement `run` XOR other tool APIs
2024-01-30 15:12:25 +08:00
liukuikun
95b68c821a
[Refactor] Refactor Lagent ( #97 )
...
* Feature: redesign BaseModel (#80 )
* redesign BaseModel
* update docstring
* update baseModel
* [Refactor] improve `Action` and `ActionExecutor` (#83 )
* [Fix]: fix turbomind (#81 )
fix turbomind
* add parsers
* skip ActionReturn in postprocessing
* check existence of API name
* add exception catch in action executing
* validate input arguments
* modify returned structure of `get_actions_info`
* adapt tools to the new protocol
* remove `LLMQA` action
---------
Co-authored-by: RangiLyu <lyuchqi@gmail.com >
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* [Feature] add tools (#89 )
* add new tools
* update PPT
* chores
* update action module init
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* rename func 'completion' to 'generate' (#90 )
* [Feature] support batch inference in API models (#91 )
* implement `chat`
* update agent interfaces
* redundancy reduction
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Feature: lmdeploy_wrapper implemented BaseMode (#86 )
* [Fix]: fix turbomind (#81 )
fix turbomind
* Feature: lmdeploy_wrapper implemented BaseMode
* remove comments of 'llms.__init__'
* update of 'llms.__init__'
* update lmdepoly_wrapper with 'gen_params'
* add property 'state_map' in __init_ and use APIClient to stream infer_
* func 'generate' in LMDeployClient with 'APIClient'
* fix bug of TritonClient
* add docstr for LMDeployPipeline & LMDeployServer
* class LMDeployClient inherits class LMDeployServer
* LMDeployClient with BaseModel.__init__ and use field 'max_tokens' control model output
* add TODO
* move 'import mmengine' to func '_update_gen_params'
---------
Co-authored-by: RangiLyu <lyuchqi@gmail.com >
* Fix APITemplateParser object is not callable (#95 )
fix APITemplateParser object is not callable
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* [Feat] support StreamAgent (#82 )
* [Feat] support StreamAgent
* update `StreamAgent`
* truncate inner history
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* [Feat] hf llm implemented BaseMode (#92 )
* Feature: huggingface implemented BaseMode
* hf llm implemented BaseMode
* fix bug of hf llm
* inject attention_mask during inference
* remove unnecessary
* [Feature] support building tool descriptions automatically (#96 )
* redundancy reduction
* add `tool_api` to annotate a tool method
* improve json parsing
* enhance parsers
* update README.md
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Enhance tool annotation (#98 )
improve `tool_api`
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* [Docs] initialize the documentation (#99 )
init the docs
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Modify the structure of `ActionReturn`'s result (#102 )
* modify the struction of action results
* fix docstrings
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Fix .readthedocs.yml (#104 )
fix rtd config
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* [Feature] support IPython interpreter action (#103 )
* add ipython interpreter
* update requirements
* remove `return_list` argument
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Fix BINGMap key (#105 )
fix the fallback value
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* StreamAgent infer demo (#106 )
* update cfg & fix bug of StreamAgent
* fix bug of func 'stream_chat'
* streamlit demo with full response
* enchance stream chat
* fix bug of stream chat
* fix and file rename
* add exception catch for func 'chat'
---------
Co-authored-by: liujiangning <liujiangning@pjlab.org.cn >
* [Docs] Add action tutorials (#107 )
* add `get_started` chapter
* fix docstrings
* add action.md
* add zh docs
---------
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Fix returns of OpenAI interface (#108 )
fix `BaseAPIModel` chat returns
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
* Feat: add warn for func 'generate_from_template' (#109 )
* add warn for func 'generate_from_template'
* clearer alerts for deprecation
* clearer alerts for deprecation
---------
Co-authored-by: liujiangning30 <147385819+liujiangning30@users.noreply.github.com >
Co-authored-by: BraisedPork <46232992+braisedpork1964@users.noreply.github.com >
Co-authored-by: RangiLyu <lyuchqi@gmail.com >
Co-authored-by: wangzy <wangziyi@pjlab.org.cn >
Co-authored-by: liujiangning <liujiangning@pjlab.org.cn >
2024-01-30 12:48:21 +08:00
liukuikun
85b91cc652
[Version] v0.1.3 ( #110 )
...
update version
v0.1.3
2024-01-30 11:32:56 +08:00
liujiangning30
c89729620f
update ReAct example for internlm2 ( #85 )
...
* update ReAct example for internlm2
* update ReAct example for internlm2
* update base_llm
* rename file
* update readme
* update meta_template
2024-01-23 10:57:58 +08:00
RangiLyu
6b287605bb
[Fix]: fix turbomind ( #81 )
...
fix turbomind
2024-01-16 16:48:59 +08:00
liukuikun
987618c978
【Bug】Fix templateparser ( #77 )
...
[Fix] fix template parser
2024-01-03 11:41:09 +08:00
liukuikun
8ddde9ba5e
[Fix] lmdeploy bc ( #74 )
2023-11-29 19:35:03 +08:00
Kalyani Mhala
026eff8704
Fixed: Added contributors section to readme.md . ( #63 )
...
* Update README.md
Successfully added contributors section to Readme.md file.
* Update README.md
Fixed Changes
* Update README.md
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com >
---------
Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com >
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com >
2023-11-29 01:05:47 +08:00
liujiangning30
511b038890
update header-logo ( #72 )
...
* update: add citation
* update README.md and header-logo
* update header-logo
2023-11-13 13:55:58 +08:00
liujiangning30
830b9609c3
update README.md and header-logo ( #70 )
...
* update: add citation
* update README.md and header-logo
2023-11-13 12:51:42 +08:00
VinayKokate22
50641c27c2
[Doc]: Update README.md ( #68 )
...
Removed Grammatical errors.
2023-11-01 10:28:16 +08:00
Aryan4884
b7ca22adcd
[Doc]: Update README.md ( #58 )
...
Added comments that provide an explanation of what each section of the code does, making it easier to understand the code's purpose and functionality.
2023-11-01 10:25:56 +08:00
Arpan Chowdhury
2ecfb9838b
[Doc]: update README.md ( #62 )
2023-11-01 10:25:14 +08:00
HardikBandhiya
060bc2c67a
[Doc]: changed "Twitter" to "𝕏 (Twitter)" in README.md ( #67 )
...
Update README.md
changed "Twitter" to "𝕏 (Twitter)" in README.md
2023-11-01 10:20:15 +08:00
Pratham Mahajan
1cfe5ac099
[ADDED]: Back-to-Top Button in README ( #65 )
2023-10-30 11:14:55 +08:00
Pratham Mahajan
14b549fa6e
[Doc]: Update README.md ( #59 )
2023-10-29 12:15:51 +08:00
Bhargav Shirin Nalamati
e08ad02dce
added korean readme since most of the koreans dont at all speakkorean ( #57 )
...
Signed-off-by: bhargavshirin <bnalamat@gitam.in >
2023-10-26 14:19:02 +08:00
liujiangning30
4a6f92a77f
update: add citation ( #56 )
2023-10-25 17:32:13 +08:00
liujiangning30
506164521b
Bump version v0.1.2 ( #55 )
v0.1.2
2023-10-24 22:07:37 +08:00
liukuikun
5a7a51e38b
[Feat] support lmdeploy turbomind ( #41 )
...
* [Feat] support lmdeploy turbomind
* check if turbomind is ok
* add comments & import TurboMind in __init__.py
---------
Co-authored-by: liujiangning <liujiangning@pjlab.org.cn >
2023-10-24 22:04:35 +08:00
Shruti Sen
98c83f620e
Added README in bengali ( #52 )
...
* Create README_in_beng.md
* Update README_in_beng.md
* added README_in_beng.md
* added README_in_beng.md
* added README_in_beng.md
* added README_in_beng.md
* Added bengali readme
* added bengali readme
* added bengali docs
* added bengali readme
* added overview in bengali
* Updated file
* Update Overview.md
* Update Overview.md
* Update Overview.md
* Update Overview.md
* Update Overview.md
* Update Overview.md
* Update Overview.md
* Update Overview.md
2023-10-24 21:06:02 +08:00
Shuvadipta Das
f8383c9938
Added Hindi Documents ( #45 )
...
* Create README_in_HIN.md
* Update README_in_HIN.md
* Update README.md
* Update README_ja_JP.md
* Update README_zh-CN.md
* Update README_in_HIN.md
* Add files via upload
* Update overview.md
2023-10-23 15:03:22 +08:00
vansin
540db86c91
Update trust_remote_code in huggingface.py ( #50 )
...
Update huggingface.py
set trust_remote_code
2023-10-19 14:49:55 +08:00
Ikko Eltociear Ashimine
a41186b9e0
Add Japanese Documents ( #42 )
...
* [Doc] Add Japanese README
* [Doc] Add Japanese overview
2023-10-16 09:35:42 +08:00
Zhihao Lin
d908d1b47a
[Fix] Fix generate kwargs mismatch for PEFT model & Set import * for agents ( #44 )
...
* set `import *` for agents
* adapt to the peft model
* fix pre-commit
2023-10-13 17:11:14 +08:00
Zaida Zhou
276154c212
Fix readme format ( #39 )
...
* Fix readme format
* fix typo
2023-09-25 10:49:34 +08:00
liukuikun
c082f6e705
[Feat] support lmdeploy trition client ( #36 )
...
* [Feat] support lmdeploy trition client
* update requirement
* Update lmdeploy.py to fix comments
---------
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com >
2023-09-21 19:11:15 +08:00
Wenwei Zhang
f20ddf3f54
[Feat]: Add streamlit UI that supports multimodal inputs ( #35 )
...
* [Feat]: Add streamlit UI that supports multimodal inputs
update docs
fix keys
* clear history botton, and fix meta template
* update demo image
* fix comment
---------
Co-authored-by: liukuikun <641417025@qq.com >
2023-09-20 17:08:42 +08:00
liukuikun
f05069226e
[Fix] search type ( #34 )
2023-09-16 13:25:47 +08:00
Ma Zerun
d9ec1908b5
[Fix] Fix ReAct ( #32 )
...
Fix ReAct
2023-09-15 17:08:34 +08:00
Ma Zerun
ce0081ccb7
Update react EN prompt ( #31 )
2023-09-13 19:03:35 +08:00
Ma Zerun
e5e74fe4cf
Update package and agents prompt ( #30 )
2023-09-13 17:40:42 +08:00
Wenwei Zhang
4d3d894226
[Fix]: fix importlib issue and hf internlm ( #25 )
...
fix importlib issue and hf internlm
2023-08-24 11:14:21 +08:00
loveSnowBest
0f13661bd3
[Doc] Fix InternLM-chat-7b-v1.1 hf link ( #24 )
...
fix hf link
2023-08-22 22:21:38 +08:00
LZHgrla
aa504769b3
[Fix] add version information for __init__ ( #22 )
...
add __version__ for __init__
2023-08-22 12:41:58 +08:00
liukuikun
3ba9abf859
[CI] auto pushlish2pypi ( #21 )
v0.1.1
2023-08-22 11:41:15 +08:00
liukuikun
4ba6166544
[Fix] update version ( #20 )
2023-08-22 11:30:51 +08:00