Downloads · 30 days
20
18% of all-time downloads
glogwa68/granite-4.0-h-tiny-DISTILL-OPUS-4.5-think
granite-4.0-h-tiny-DISTILL-OPUS-4.5-think is a text generation model from glogwa68. 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.
This model is a fine-tuned version of ibm-granite/granite-4.0-h-tiny trained on high-reasoning conversational data from Claude Opus 4.5.
Downloads · 30 days
20
18% of all-time downloads
All-time downloads
112
Public
Repo size
28.4 GB
Likes
2
Public
Click a slice to open those files.
.safetensors28.4 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of ibm-granite/granite-4.0-h-tiny trained on high-reasoning conversational data from Claude Opus 4.5.
<think> tags🔗 GGUF versions available here: granite-4.0-h-tiny-DISTILL-OPUS-4.5-think-GGUF
| Format | Size | Use Case |
|---|---|---|
| Q2_K | Smallest | Low memory, reduced quality |
| Q4_K_M | Recommended | Best balance |
| Q5_K_M | Good | Higher quality |
| Q8_0 | Large | Near lossless |
| F16 | Largest | Original precision |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("glogwa68/granite-4.0-h-tiny-DISTILL-OPUS-4.5-think")
tokenizer = AutoTokenizer.from_pretrained("glogwa68/granite-4.0-h-tiny-DISTILL-OPUS-4.5-think")
messages = [{"role": "user", "content": "Hello, how are you?"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
ollama run hf.co/glogwa68/granite-4.0-h-tiny-DISTILL-OPUS-4.5-think-GGUF:Q4_K_M
llama-cli --hf-repo glogwa68/granite-4.0-h-tiny-DISTILL-OPUS-4.5-think-GGUF --hf-file granite-4.0-h-tiny-distill-opus-4.5-think-q4_k_m.gguf -p "Hello"
Apache 2.0