Enhanced LLM capabilities through test-time compute and search algorithms
Project description
SuperLLM
A powerful Python library for enhancing LLM capabilities through advanced test-time compute and search algorithms, focusing on expert human-AI co-construction. This project is under consturction. Don't come with any expectations!
🌟 Features
-
Test-Time Compute Algorithms
- Tree of Thoughts implementation
- Self-consistency sampling
- Dynamic prompt optimization
- Multi-perspective reasoning
-
Search Algorithms
- Beam search with adaptive width
- Best-first symbolic search
- Guided exploration with expert feedback
- Knowledge graph-based reasoning
-
Expert Human-AI Co-Construction
- Interactive reasoning frameworks
- Expert feedback integration
- Knowledge distillation from expert interactions
- Adaptive learning from human guidance
🚀 Installation
pip install superllm
🔧 Quick Start
from superllm import ThoughtTree, ExpertFeedback
from superllm.search import AdaptiveBeamSearch
# Initialize a thought tree for complex reasoning
thought_tree = ThoughtTree()
# Create an expert feedback system
expert_system = ExpertFeedback()
# Configure adaptive beam search
search = AdaptiveBeamSearch(
beam_width=5,
max_steps=10
)
# Run enhanced inference
result = thought_tree.solve(
prompt="Your complex question here",
search_algorithm=search,
expert_system=expert_system
)
📚 Documentation
For detailed documentation, visit docs.superllm.ai
🛠️ Core Components
- Thought Trees: Implement tree-based reasoning strategies for complex problem-solving
- Search Algorithms: Advanced search techniques for exploring solution spaces
- Expert Systems: Tools for integrating human expert knowledge and feedback
- Evaluation Metrics: Comprehensive metrics for assessing solution quality
🤝 Contributing
We welcome contributions! Please check our Contributing Guidelines for details.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Citation
If you use SuperLLM in your research, please cite:
@software{superllm2024,
title = {SuperLLM: Enhanced LLM Capabilities through Test-Time Compute},
author = {SuperLLM Contributors},
year = {2024},
url = {https://github.com/to314as/superllm}
}
🌟 Star History
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file superllm-0.1.0.tar.gz.
File metadata
- Download URL: superllm-0.1.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4aa325d0c6c3d3ca22bfd1b6c5b54be1968db4ff204232287577fa82f5f2aa3
|
|
| MD5 |
f207efb490c6d42fb3a9268547f09d86
|
|
| BLAKE2b-256 |
e7e7b9df12373e6304b29842083d6c4208c223ad85466ed0a3721ec8e10540d3
|
File details
Details for the file superllm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: superllm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c37c4c73889e5ee4b417bd811ea123e46a14715ad4020335da3b299a84a47008
|
|
| MD5 |
d27d14eebd52da7ecf0f905c8b687123
|
|
| BLAKE2b-256 |
0d97d19f82f2c25b0cf2fdb2cebec14a429467318975c5300046061183217b8d
|