File size: 3,372 Bytes
d4e7c9e
bf0e3a6
ae2ecf1
bf0e3a6
 
d4e7c9e
ae2ecf1
d4e7c9e
 
ae2ecf1
 
 
bf0e3a6
 
 
 
 
 
 
 
d4e7c9e
bf0e3a6
d4e7c9e
bf0e3a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ae2ecf1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
title: Stack X Ultimate
emoji: πŸ”₯
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 6.13.0
app_file: app.py
pinned: false
description: >-
  Open-source agentic model with tool calling. Deploy on your own GPU β€” no API
  costs.
tags:
- agentic
- tool-calling
- llm
- qwen
- open-source
- local-ai
license: apache-2.0
---
# Stack X Ultimate β€” Agentic Tool-Calling Model

<div align="center">

**Open-source agentic model that calls real tools. Deploy on your GPU β€” no API key required.**

[![Model](https://img.shields.io/badge/Model-Qwen2.5--Coder--3B--Instruct-blue)](https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct)
[![Quantization](https://img.shields.io/badge/Quantization-QLoRA%204--bit-purple)](https://github.com/QwenLM/Qwen2.5-Coder)
[![License](https://img.shields.io/badge/License-Apache%202.0-green)](LICENSE)

</div>

---

## What It Does

Stack X Ultimate is a fine-tuned Qwen2.5-Coder-3B-Instruct optimized for **agentic tool-calling workflows**:

- πŸ”’ **Calculator** β€” evaluates mathematical expressions
- πŸ• **Current Time** β€” returns live UTC timestamp
- πŸ“ **File Search** β€” glob-based file discovery in directory trees
- ⚑ **Command Execution** β€” runs shell commands and returns structured output

The model decides *when* to call tools and *how* to interpret results β€” mirroring how GPT-4 and Claude handle function calling, but running entirely on your infrastructure.

---

## Quick Start

### Try in Browser
Use the chat interface above β€” try the pre-loaded examples or type your own query.

### Run Locally

```bash
# Clone the model
git lfs install
git clone https://huggingface.co/my-ai-stack/Stack-X-Ultimate

# Run with llama.cpp
./llama.cpp -m ./Stack-X-Ultimate/unsloth.Q4_K_M.gguf \
  -n 8192 \
  --ctx-size 8192 \
  -p "You are a helpful AI assistant with tool calling."

# Or with transformers
python3 -c "
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained('my-ai-stack/Stack-X-Ultimate')
tok = AutoTokenizer.from_pretrained('my-ai-stack/Stack-X-Ultimate')
print('Model loaded!')
"
```

---

## Architecture

| Component | Detail |
|---|---|
| Base Model | Qwen/Qwen2.5-Coder-3B-Instruct |
| Fine-tune Method | QLoRA 4-bit (r=32, all 7 target modules) |
| Training Data | 27,000+ agentic tool-call examples |
| Sequence Length | 8,192 tokens |
| VRAM Required | ~6 GB (Q4_K_M GGUF) |
| Min. Hardware | Single V100 16GB or equivalent |

---

## Available Tools

| Tool | Description | Example |
|---|---|---|
| `calculator` | Evaluate math expressions | `1500 * 0.07 * 30` |
| `get_current_time` | Return current UTC time | β€” |
| `search_files` | Glob-based file search | `*.py` in `./src` |
| `run_command` | Execute shell commands | `git status` |

---

## Enterprise Deployment

Need tool integrations specific to your stack? Want to deploy inside your VPC?

πŸ“¬ **[Contact Stack AI β†’](https://www.stack-ai.me/contact)**

- Custom tool integrations (APIs, databases, internal systems)
- VPC-isolated deployment (AWS / GCP / Azure)
- Air-gapped / on-prem installation
- Custom LoRA fine-tuning on your data

---

## License

Apache 2.0 β€” free for commercial and personal use.

---

*Stack AI β€” Sovereign AI Infrastructure. [huggingface.co/my-ai-stack](https://huggingface.co/my-ai-stack) Β· [stack-ai.me](https://www.stack-ai.me)*