How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
# Run inference directly in the terminal:
llama-cli -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
# Run inference directly in the terminal:
llama-cli -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
Use Docker
docker model run hf.co/premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF:
Quick Links

🏠 TinyLLaMA-1.1B Home Assistant Voice Model

This model is a fine-tuned version of TinyLlama/TinyLlama-1.1B-Chat-v1.0, trained with acon96/Home-Assistant-Requests.
It is designed to act as a voice-controlled smart home assistant that takes natural language instructions and outputs Home Assistant commands.


✨ Features

  • Converts natural language voice commands into Home Assistant automation calls.
  • Produces friendly confirmations and structured JSON service commands.
  • Lightweight (1.1B parameters) – runs efficiently on CPUs, GPUs, and via Ollama with quantization.

πŸ”§ Example Usage (Transformers)

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("premrajreddy/tinyllama-1.1b-home-llm")
model = AutoModelForCausalLM.from_pretrained("premrajreddy/tinyllama-1.1b-home-llm")

query = "turn on the kitchen lights"
inputs = tokenizer(query, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=80)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
47
Safetensors
Model size
1B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF

Finetuned
(557)
this model

Dataset used to train premrajreddy/Home-TinyLlama-1.1B-HomeAssist-GGUF