Downloads · 30 days
30
23% of all-time downloads
luepow/thau-7b
thau-7b is a text generation model from luepow. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" <strongThinking Human-like Artificial Understanding</strong </p
Downloads · 30 days
30
23% of all-time downloads
All-time downloads
132
Public
Parameters
7.6B
15.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
THAU 7B is a fine-tuned version of Qwen2.5-7B-Instruct, specialized in cognitive reasoning, code generation, and autonomous agent capabilities.
| Feature | Status |
|---|---|
| Code Generation | Full |
| Chain of Thought | Full |
| Tool Calling (MCP) | Full |
| SVG Generation | Full |
| Accounting/Finance | Full |
| Multi-language | Spanish/English |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"luepow/thau-7b",
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("luepow/thau-7b")
messages = [
{"role": "system", "content": "You are THAU, a cognitive AI assistant."},
{"role": "user", "content": "Explain Python decorators with examples."}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
ollama run luepow/thau-7b
THAU supports JSON-based tool invocation:
<tool_call>{"name": "execute_python", "arguments": {"code": "print(2+2)"}}</tool_call>
Apache 2.0
@misc{thau-7b,
author = {Luis Perez},
title = {THAU 7B: Cognitive AI Assistant},
year = {2024},
publisher = {HuggingFace},
url = {https://huggingface.co/luepow/thau-7b}
}