Lagent

Latest version: v0.2.2

Safety actively analyzes 623827 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.2

What's Changed
* Fix bug of LMDeployClient by liujiangning30 in https://github.com/InternLM/lagent/pull/140
* fix bug of TritonClient by liujiangning30 in https://github.com/InternLM/lagent/pull/141
* update readme demo by Harold-lkk in https://github.com/InternLM/lagent/pull/143
* Fix type annotation by braisedpork1964 in https://github.com/InternLM/lagent/pull/144
* [Enchance] lazy import for actions by Harold-lkk in https://github.com/InternLM/lagent/pull/146
* Fix: skip start_token by liujiangning30 in https://github.com/InternLM/lagent/pull/145
* Fix: filter_suffix in TritonClient by liujiangning30 in https://github.com/InternLM/lagent/pull/150
* Fix: gen_config in lmdeploypipeline updated by input gen_params by liujiangning30 in https://github.com/InternLM/lagent/pull/151
* max_tokens to max_new_tokens by liujiangning30 in https://github.com/InternLM/lagent/pull/149
* support inference for pad_token & chatglm chat by zehuichen123 in https://github.com/InternLM/lagent/pull/157
* Feat: no_skip_speicial_token by liujiangning30 in https://github.com/InternLM/lagent/pull/148
* fix batch generate by Harold-lkk in https://github.com/InternLM/lagent/pull/158
* fix bug caused by static model_name by liujiangning30 in https://github.com/InternLM/lagent/pull/156
* update version by liujiangning30 in https://github.com/InternLM/lagent/pull/161


**Full Changelog**: https://github.com/InternLM/lagent/compare/v0.2.1...v0.2.2

0.2.1

What's Changed
* Fix docstring format of `GoogleScholar` by braisedpork1964 in https://github.com/InternLM/lagent/pull/138
* [Version] Bump v0.2.1 by braisedpork1964 in https://github.com/InternLM/lagent/pull/139


**Full Changelog**: https://github.com/InternLM/lagent/compare/v0.2.0...v0.2.1

0.2.0

What's Changed
- Stream Output: Provides the stream_chat interface for streaming output, allowing cool streaming demos right at your local setup.
- Interfacing is unified, with a comprehensive design upgrade for enhanced extensibility, including:
- Model: Whether it's the OpenAI API, Transformers, or LMDeploy inference acceleration framework, you can seamlessly switch between models.
- Action: Simple inheritance and decoration allow you to create your own personal toolkit, adaptable to both InternLM and GPT.
- Agent: Consistent with the Model's input interface, the transformation from model to intelligent agent only takes one step, facilitating the exploration and implementation of various agents.

- Documentation has been thoroughly upgraded with full API documentation coverage.

Welcome to watch our demo at https://www.youtube.com/watch?v=YAelRLi0Zak

0.1.3

0.1.2

0.1.1

Main Features

- Support multiple kinds of agents out of the box. Lagent now supports [ReAct](https://arxiv.org/abs/2210.03629), [AutoGPT](https://github.com/Significant-Gravitas/Auto-GPT), and [ReWOO](https://arxiv.org/abs/2305.18323), which can drive the large language models(LLMs) for multiple trials of reasoning and function calling.
- Extremely simple and easy to extend. The framework is quite simple with a clear structure. With only 20 lines of code, you are able to construct your own agent. It also supports three typical tools: Python interpreter, API call, and Google search.
- Support various large language models. We support different LLMs, including API-based (GPT-3.5/4) and open-source (LLaMA 2, InternLM) models.

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.