Downloads · 30 days
8
11% of all-time downloads
luepow/thau
thau is a machine learning model from luepow. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
THAU (Thinking, Helpful, Autonomous, Understanding) is a self-learning language model fine-tuned from TinyLlama-1.1B with specialized training in tool calling, reasoning, and Spanish.
Downloads · 30 days
8
11% of all-time downloads
All-time downloads
73
Public
Parameters
1.1B
4.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
THAU (Thinking, Helpful, Autonomous, Understanding) is a self-learning language model fine-tuned from TinyLlama-1.1B with specialized training in tool calling, reasoning, and Spanish.
| Attribute | Value |
|---|---|
| Base Model | TinyLlama-1.1B-Chat-v1.0 |
| Parameters | ~1.1B |
| Training Method | LoRA Fine-tuning |
| Final Loss | 0.43 |
| Languages | Spanish (primary), English |
| License | Apache 2.0 |
| Category | Examples |
|---|---|
| Tool Calling | 112 |
| Spanish Natural/Technical | 52 |
| Image Generation | 30 |
| Conversational Spanish | 20 |
| Chain of Thought Reasoning | 20 |
| Programming | 30+ |
| Total | 297 specialized examples |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("luepow/thau")
tokenizer = AutoTokenizer.from_pretrained("luepow/thau")
# Chat format
prompt = """<|system|>
Eres THAU, un asistente AI inteligente y servicial.</s>
<|user|>
Hola, quien eres?</s>
<|assistant|>
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=200, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
ollama pull luepow/thau
ollama run luepow/thau
THAU uses a JSON-based tool calling format:
<tool_call>{"name": "tool_name", "arguments": {"param": "value"}}</tool_call>
| Tool | Description |
|---|---|
get_current_time | Get current date/time |
web_search | Search the internet |
execute_python | Run Python code |
generate_image | Generate image from prompt |
read_file | Read file contents |
list_directory | List directory contents |
User: What time is it?
THAU:
<tool_call>{"name": "get_current_time", "arguments": {}}</tool_call>
@misc{thau2024,
title={THAU v2.0: A Self-Learning Language Model},
author={Luis Perez (luepow)},
year={2024},
url={https://huggingface.co/luepow/thau}
}
THAU v2.0 - Built with incremental learning and specialized training
Dedicated to Thomas & Aurora