InternLM/agent
BIGWangYuDong 3bda9f73ad [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
..
README.md [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
README_zh-CN.md [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
lagent.md [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
lagent_zh-CN.md [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
pal_inference.md [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
pal_inference.py [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00
pal_inference_zh-CN.md [Docs] Update Agent docs 2024-01-17 10:18:47 +08:00

README.md

InternLM-Chat Agent

English | 简体中文

Introduction

On August 22, 2023, the Shanghai Artificial Intelligence Laboratory open-sourced InternLM-Chat-7B v1.1, the first open-dialogue model with code interpretation capabilities. It supports external tools such as the Python interpreter and can fetch real-time information through search engines.

InternLM2-Chat, open-sourced on January 17, 2024, further enhances its capabilities in code interpretation and general tool invocation. With improved and more generalized instruction understanding, tool selection, and result reflection, the new model can more reliably support the construction of complex intelligent agents. It facilitates effective multi-round invocation of tools and accomplishes more intricate tasks. The model exhibits decent computational and reasoning abilities even without external tools, surpassing ChatGPT in mathematical performance. When combined with a code interpreter, InternLM2-Chat-20B achieves a level comparable to GPT-4 on GSM8K and MATH. Leveraging strong foundational capabilities in mathematics and tools, InternLM2-Chat provides practical data analysis capabilities.

Experience

We offer examples using Lagent to build intelligent agents based on InternLM2-Chat, calling code interpreters or searching tools. Additionally, we provide a sample using PAL to evaluate GSM8K math problems with InternLM-Chat-7B.