# Brello Thinking

<p align="center">
 <img src="https://via.placeholder.com/400x200/4A90E2/FFFFFF?text=BRELLO+THINKING" width="400"/> <br>
</p>

<p align="center">
    🤖&nbsp;<a href="#"><b>Epic Systems</b></a>&nbsp;|&nbsp;
    👨‍💻&nbsp;<a href="#"><b>Rehan Temkar</b></a>&nbsp;|&nbsp;
    🧠&nbsp;<a href="#"><b>Advanced Reasoning</b></a>
</p>

## Model Introduction

**Brello Thinking** is an advanced language model created by **Epic Systems** and engineered by **Rehan Temkar**. Built on the robust Tencent Hunyuan base model, Brello Thinking specializes in deep reasoning, mathematical problem-solving, coding, and creative thinking with enhanced chain-of-thought capabilities.

### Key Features and Advantages

- **🧠 Advanced Reasoning**: Enhanced chain-of-thought capabilities with both fast and slow thinking modes
- **🔢 Mathematical Excellence**: Superior performance in mathematical problem-solving and computation
- **💻 Programming Prowess**: Strong coding capabilities across multiple programming languages
- **📚 Long Context Understanding**: Supports extended conversations and document analysis
- **🎯 Creative Problem Solving**: Innovative approaches to complex problems
- **🌐 Multi-language Support**: Fluent in multiple languages with cultural understanding

## Model Architecture

- **Base Model**: Tencent Hunyuan
- **Parameters**: 1.8B (optimized for efficiency)
- **Context Window**: 256K tokens
- **Architecture**: HunYuanDenseV1ForCausalLM
- **Specialization**: Reasoning, Mathematics, Programming, Creative Thinking

## Usage

### Basic Usage

```python
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load Brello Thinking
model_name = "path/to/brello-thinking"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")

# Example conversation
messages = [
    {"role": "user", "content": "What is 2+2?"}
]

tokenized_chat = tokenizer.apply_chat_template(
    messages, 
    tokenize=True, 
    add_generation_prompt=True,
    return_tensors="pt",
    enable_thinking=True
)

outputs = model.generate(
    tokenized_chat.to(model.device), 
    max_new_tokens=2048,
    do_sample=True,
    top_k=20,
    top_p=0.8,
    repetition_penalty=1.05,
    temperature=0.7
)

response = tokenizer.decode(outputs[0])
print(response)
```

### Thinking Mode

Brello Thinking supports enhanced reasoning with thinking mode:

```python
# Enable thinking mode (default)
tokenized_chat = tokenizer.apply_chat_template(
    messages, 
    enable_thinking=True  # Shows reasoning process
)

# Disable thinking mode
tokenized_chat = tokenizer.apply_chat_template(
    messages, 
    enable_thinking=False  # Direct answers
)
```

## Model Capabilities

### Mathematical Reasoning
- Complex mathematical problem-solving
- Step-by-step mathematical proofs
- Statistical analysis and computation

### Programming
- Code generation in multiple languages
- Debugging and code optimization
- Algorithm design and implementation

### Creative Writing
- Story generation and creative content
- Technical writing and documentation
- Poetry and artistic expression

### Problem Solving
- Logical reasoning and analysis
- Critical thinking and evaluation
- Strategic planning and decision-making

## Technical Specifications

| Specification | Value |
|---------------|-------|
| Model Size | 1.8B Parameters |
| Context Window | 256K Tokens |
| Architecture | HunYuanDenseV1ForCausalLM |
| Base Model | Tencent Hunyuan |
| Creator | Epic Systems |
| Engineer | Rehan Temkar |
| License | Proprietary - Epic Systems |

## Performance

Brello Thinking demonstrates superior performance in:
- Mathematical reasoning and computation
- Programming and code generation
- Creative problem-solving
- Long-context understanding
- Multi-language tasks

## License

This model is proprietary software created by Epic Systems and engineered by Rehan Temkar. All rights reserved.

## Contact

- **Creator**: Epic Systems
- **Engineer**: Rehan Temkar
- **Model**: Brello Thinking v1.0.0

---

*Brello Thinking - Advanced AI Reasoning by Epic Systems*
