Instructions to use ThoughtfulThings/phi-2-thermostat-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ThoughtfulThings/phi-2-thermostat-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ThoughtfulThings/phi-2-thermostat-gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ThoughtfulThings/phi-2-thermostat-gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
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 ThoughtfulThings/phi-2-thermostat-gguf:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
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 ThoughtfulThings/phi-2-thermostat-gguf:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
Use Docker
docker model run hf.co/ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
- LM Studio
- Jan
- Ollama
How to use ThoughtfulThings/phi-2-thermostat-gguf with Ollama:
ollama run hf.co/ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use ThoughtfulThings/phi-2-thermostat-gguf with Docker Model Runner:
docker model run hf.co/ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
- Lemonade
How to use ThoughtfulThings/phi-2-thermostat-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ThoughtfulThings/phi-2-thermostat-gguf:Q8_0
Run and chat with the model
lemonade run user.phi-2-thermostat-gguf-Q8_0
List all available models
lemonade list
- Atomic Chat
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Thoughtful Thermostat
These are the weights in gguf format for the "thoughtful thermostat" from our paper Teaching Things To Think: Bootstrapping Local Reasoning for Smart(er) Devices.
The base model has been fine-tuned to take "action" and "explanation" oriented commands that a user might give to a smart thermostat and generate either JSON actions or natural language explanations in response.
Please refer to the GitHub repo for more information.
Prompt Structure
The models are fine-tuned to accept prompts in this format:
Action
User: {command}
[SENSORS] {sensor json} [/SENSORS]
Output: [SETTINGS]
Introspection
User: {command}
[SENSORS] {sensor json} [/SENSORS]
[SETTINGS] {settings json} [/SETTINGS]
Output: [EXPLANATION]
Citation
If our work is helpful, please cite us:
@inproceedings{king2025teaching,
title={Teaching Things To Think: Bootstrapping Local Reasoning for Smart (er) Devices},
author={King, Evan and Yu, Haoxiang and Vartak, Sahil and Jacob, Jenna and Lee, Sangsu and Julien, Christine},
booktitle={2025 IEEE International Conference on Pervasive Computing and Communications (PerCom)},
pages={78--88},
year={2025},
organization={IEEE}
}
Contact
Contact Evan King with questions, or open an issue on the repository.
- Downloads last month
- 7
8-bit
16-bit