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
Metadata
Release files for superllm 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| superllm-0.1.0.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| superllm-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / superllm-0.1.0.tar.gz
| Download URL | superllm-0.1.0.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4aa325d0c6c3d3ca22bfd1b6c5b54be1968db4ff204232287577fa82f5f2aa3
|
|
BLAKE2b-256 checksum How to use checksums |
e7e7b9df12373e6304b29842083d6c4208c223ad85466ed0a3721ec8e10540d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / superllm-0.1.0-py3-none-any.whl
| Download URL | superllm-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c37c4c73889e5ee4b417bd811ea123e46a14715ad4020335da3b299a84a47008
|
|
BLAKE2b-256 checksum How to use checksums |
0d97d19f82f2c25b0cf2fdb2cebec14a429467318975c5300046061183217b8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|