acon96 commited on
Commit
ad1161b
·
verified ·
1 Parent(s): 613246b

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Home-1B-v1.q2_k.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Home-1B-v1.q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Home-1B-v1.q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Home-1B-v1.q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Home-1B-v1.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Home-1B-v1.q2_k.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:defbf8e493f8846d02d5e44efc6e52ac314d56c8135b1562a525f5e8ef132ae0
3
+ size 582316416
Home-1B-v1.q3_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06257a5b4463a4754f6d10ea17914cbe3300649552e5d8a4f354b2b0a9062316
3
+ size 741863808
Home-1B-v1.q4_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16f31be8e137144e13af6cfb732ee839973524ceec49540a7d4dd915253b6b4e
3
+ size 893546880
Home-1B-v1.q5_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39b0469682fe131842cb771f04c519fbd15daf36db4442d5d589ec861b3277ab
3
+ size 1026191744
Home-1B-v1.q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6a1e2c6083c4a41765d4c94b4057df2a5701e77137ec3b573ae8d9167bae1b8
3
+ size 1510470016
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: []
3
+ license: cc-by-nc-4.0
4
+ language:
5
+ - en
6
+ tags:
7
+ - automation
8
+ - home
9
+ - assistant
10
+ pipeline_tag: text-generation
11
+ ---
12
+ # Home 1B v1
13
+ The "Home" model is a fine tuning of the Phi-1.5 model from Microsoft. The model is able to control devices in the user's house via a Home Assistant integragion. The fine tuning dataset a [custom curated dataset](https://github.com/acon96/home-llm) designed to teach the model function calling.
14
+
15
+ The model is quantized using Lama.cpp in order to enable running the model in super low resource environments that are common with Home Assistant installations such as Rapsberry Pis.
16
+
17
+ The model can be used as an "instruct" type model using the ChatML prompt format. The system prompt is used to provide information about the state of the Home Assistant installation including available devices and callable services.
18
+
19
+ Example "system" prompt:
20
+ ```
21
+ You are 'Al', a helpful AI Assistant that controls the devices in a house. Complete the following task as instructed with the information provided only.
22
+ Services: light.turn_off, light.turn_on, fan.turn_on, fan.turn_off
23
+ Devices:
24
+ light.office 'Office Light' = on
25
+ fan.office 'Office fan' = off
26
+ light.kitchen 'Kitchen Light' = on
27
+ ```
28
+
29
+ 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:
30
+
31
+ `````
32
+ turning on the kitchen lights for you now
33
+ ```homeassistant
34
+ { "service": "light.turn_on", "target_device": "light.kitchen" }
35
+ ```
36
+ `````
37
+
38
+ ## Training
39
+ The model was trained as a full fine-tuning on an RTX 3090 (24GB).
40
+
41
+ ## Datasets
42
+ Snythetic Dataset for SFT - https://github.com/acon96/home-llm
43
+
44
+ ## License
45
+ This model is a fine-tuning of the Microsoft Phi model series (MIT License) and utilizes datasets thare are licensed under CC BY-NC-4.0. As such this model is released under the same non-commerical Creative Commons License. The fine-tuned model is shared FOR RESEARCH PURPOSES ONLY. It is not to be used in any sort of commercial capacity.