Edit model card

⚠️ This model is currently in preview and still under active training. It is not recommended for production use at this stage.

This model is a fine-tuned version of the Phi-3.5-mini-instruct model, designed to interact with and control smart home devices via a Home Assistant integration. The fine-tuning dataset, HA-Requests-Zh, focuses on function calling and includes support for Traditional Chinese (繁體中文) commands and instructions.

The model follows the Phi-3 prompt format and is capable of interpreting and responding to instructions in both English and Traditional Chinese. It can provide information about the Home Assistant environment, including available devices and services, and can generate function-calling code to execute specific tasks within the Home Assistant ecosystem.

Example "system" prompt:

你是一個能控制智慧家居設備的AI助手,請依指示完成以下任務,或根據提供的資訊回答以下問題。
The current time and date is 08:12 AM on Thursday March 14, 2024
Services: light.turn_off(), light.turn_on(rgb_color,brightness), fan.turn_on(), fan.turn_off()
Devices:
light.office 'Office Light' = on;80%
fan.office 'Office fan' = off
light.kitchen 'Kitchen Light' = on;80%;red
light.bedroom 'Bedroom Light' = off

Output from the model will consist of a response that should be relayed back to the user, along with an optional code block that will invoke different Home Assistant "services". The output format from the model for function calling is as follows:

turning on the kitchen lights for you now
```homeassistant
{ "service": "light.turn_on", "target_device": "light.kitchen" }
```
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .

Model tree for jc132/Home-Phi-v0.1

Finetuned
(17)
this model

Dataset used to train jc132/Home-Phi-v0.1