😼 commited on
Commit
c16a562
·
verified ·
1 Parent(s): acb55f5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -11
README.md CHANGED
@@ -1,22 +1,42 @@
1
  ---
2
- base_model: unsloth/phi-3.5-mini-instruct-bnb-4bit
 
 
 
3
  language:
4
  - en
 
5
  license: apache-2.0
6
  tags:
7
  - text-generation-inference
8
- - transformers
9
- - unsloth
10
- - llama
11
- - trl
12
  ---
13
 
14
- # Uploaded model
15
 
16
- - **Developed by:** jc132
17
- - **License:** apache-2.0
18
- - **Finetuned from model :** unsloth/phi-3.5-mini-instruct-bnb-4bit
19
 
20
- This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
21
 
22
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ datasets:
3
+ - jc132/HA-Requests-Zh
4
+ base_model:
5
+ - microsoft/Phi-3.5-mini-instruct
6
  language:
7
  - en
8
+ - zh
9
  license: apache-2.0
10
  tags:
11
  - text-generation-inference
12
+ - home
13
+ - assistant
 
 
14
  ---
15
 
16
+ ⚠️ **This model is currently in preview and still under active training. It is not recommended for production use at this stage.**
17
 
18
+ This model is a fine-tuned version of the [Phi-3.5-mini-instruct](https://huggingface.co/microsoft/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](https://github.com/acon96/home-llm), focuses on function calling and includes support for Traditional Chinese (繁體中文) commands and instructions.
 
 
19
 
20
+ 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.
21
 
22
+
23
+ Example "system" prompt:
24
+ ```
25
+ 你是一個能控制智慧家居設備的AI助手,請依指示完成以下任務,或根據提供的資訊回答以下問題。
26
+ The current time and date is 08:12 AM on Thursday March 14, 2024
27
+ Services: light.turn_off(), light.turn_on(rgb_color,brightness), fan.turn_on(), fan.turn_off()
28
+ Devices:
29
+ light.office 'Office Light' = on;80%
30
+ fan.office 'Office fan' = off
31
+ light.kitchen 'Kitchen Light' = on;80%;red
32
+ light.bedroom 'Bedroom Light' = off
33
+ ```
34
+
35
+ 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:
36
+
37
+ `````
38
+ turning on the kitchen lights for you now
39
+ ```homeassistant
40
+ { "service": "light.turn_on", "target_device": "light.kitchen" }
41
+ ```
42
+ `````