https://github.com/google-research/cascades
Python library which enables complex compositions of language models such as scratchpads, chain of thought, tool use, selection-inference, and more.
https://github.com/google-research/cascades
Last synced: 8 days ago
JSON representation
Python library which enables complex compositions of language models such as scratchpads, chain of thought, tool use, selection-inference, and more.
- Host: GitHub
- URL: https://github.com/google-research/cascades
- Owner: google-research
- License: apache-2.0
- Created: 2022-07-13T05:45:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-11T17:25:43.000Z (3 months ago)
- Last Synced: 2025-04-01T14:13:45.288Z (15 days ago)
- Language: Python
- Homepage:
- Size: 526 KB
- Stars: 206
- Watchers: 11
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-LLM-Reasoning - google/Cascades - inference, and more. (Other Useful Resources / 2022)
- StarryDivineSky - google-research/cascades - research/cascades是一个Python库,旨在简化复杂语言模型组合的构建,支持scratchpads、思维链(chain of thought)、工具使用、选择-推理等高级技术。它允许开发者将多个语言模型以灵活的方式组合在一起,形成更强大的推理和问题解决能力。该库的核心在于提供一种模块化的方式来定义和执行语言模型序列,每个模块可以执行特定的任务,例如生成文本、调用外部工具或进行逻辑推理。通过Cascades,用户可以轻松地创建定制化的语言模型管道,以应对各种复杂的自然语言处理任务,例如问答、对话生成和代码生成。项目目标是提高语言模型的可组合性和可扩展性,使开发者能够更有效地利用大型语言模型的潜力。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
README
# Cascades
*This is not an officially supported Google product*
Python library which enables complex compositions of language models such as
scratchpads, chain of thought, tool use, selection-inference, and more.Implemented as a universal trace-based probabilistic programming library
embedded in Python.Code to complement paper: https://arxiv.org/abs/2207.10342.