Spaces:
Runtime error
Runtime error
metadata
title: Advanced Reasoning System 🧠
emoji: 🧠
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.16.0
app_file: app.py
pinned: false
license: mit
Advanced Reasoning System 🧠
A sophisticated reasoning system that combines multiple strategies with local LLM capabilities for improved performance.
Features
- Local LLM Integration: Uses Llama 3.2B Overthinker model for fast, local inference
- Multiple Reasoning Strategies:
- Chain of Thought
- Tree of Thoughts
- Meta Learning
- Recursive Reasoning
- Analogical Reasoning
- And more!
- Adaptive Strategy Selection: Dynamically chooses the best reasoning approach
- GPU/CPU Flexibility: Automatically uses GPU when available, falls back to CPU
- Efficient Resource Usage: Optimized for performance with configurable parameters
Technical Details
- Model: tensorblock/Llama-3.2-3B-Overthinker-GGUF
- Framework: Gradio 4.16.0
- Backend: Python with async support
- Inference: Local using llama-cpp-python
Usage
- The system will automatically download the model on first run
- GPU acceleration is used when available
- Ask questions and get detailed, step-by-step responses
- System adapts its reasoning strategy based on the query
Example Questions
- What are the implications of artificial intelligence on society?
- How does climate change affect global ecosystems?
- What are the philosophical implications of quantum mechanics?
Installation
pip install -r requirements.txt
python app.py
Environment Variables
Create a .env
file with:
HUGGINGFACE_TOKEN=your_token_here
DEBUG_MODE=False
LOG_LEVEL=INFO
License
MIT License
Files
app.py
: Main application with Gradio interface and API integrationrequirements.txt
: Project dependencies.env.example
: Example environment variables (for reference)
Dependencies
- gradio==4.16.0
- requests==2.31.0
Created with ❤️ using Gradio and Hugging Face