初始化项目,由ModelHub XC社区提供模型
Model: acon96/Home-1B-v2-GGUF Source: Original Platform
This commit is contained in:
41
.gitattributes
vendored
Normal file
41
.gitattributes
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
Home-1B-v2.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Home-1B-v2.q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Home-1B-v2.q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Home-1B-v2.q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Home-1B-v2.q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Home-1B-v2.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
3
Home-1B-v2.f16.gguf
Normal file
3
Home-1B-v2.f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2c527217f9a426239b3a83966446c6ea9be2f3ba2ee6cbbdc74c6cc2df008790
|
||||
size 2839540160
|
||||
3
Home-1B-v2.q2_k.gguf
Normal file
3
Home-1B-v2.q2_k.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61d555b6498518c8350a66575503e4c53ea7f0767b8e594a36ad97027fd72fb1
|
||||
size 582316512
|
||||
3
Home-1B-v2.q3_k_m.gguf
Normal file
3
Home-1B-v2.q3_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab59bd88dbe29907f7771cd78953882d0df3b811aff5da2bf8707169b1095e70
|
||||
size 741863904
|
||||
3
Home-1B-v2.q4_k_m.gguf
Normal file
3
Home-1B-v2.q4_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a71c0c1d4423892c897bcf8b3492b28b0d50f8504e09f4d26da708adec80bf0b
|
||||
size 893546976
|
||||
3
Home-1B-v2.q5_k_m.gguf
Normal file
3
Home-1B-v2.q5_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e5daeb8abc392853265f536b6ad9b9a9d8341af428344b1b42c849efbb55813
|
||||
size 1026191840
|
||||
3
Home-1B-v2.q8_0.gguf
Normal file
3
Home-1B-v2.q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9c5659f1e3a291c8c27cb2be9fce8b90d5aaf918dc8d80f08b3f512ceb72693
|
||||
size 1510470112
|
||||
50
README.md
Normal file
50
README.md
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
datasets: []
|
||||
license: cc-by-nc-4.0
|
||||
language:
|
||||
- en
|
||||
tags:
|
||||
- automation
|
||||
- home
|
||||
- assistant
|
||||
pipeline_tag: text-generation
|
||||
---
|
||||
# Home 1B v2
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
Example "system" prompt:
|
||||
```
|
||||
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.
|
||||
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" }
|
||||
```
|
||||
`````
|
||||
|
||||
## Training
|
||||
The model was trained as a full fine-tuning on an RTX 3090 (24GB). It was trained for ~2x as many tokens as the v1 version of the model.
|
||||
|
||||
## Evaluation
|
||||
This model acheives a 88.52% score for JSON function calling accuracy on the test dataset.
|
||||
The v1 model acheives a 76.78% score on the same test.
|
||||
|
||||
## Datasets
|
||||
Snythetic Dataset for SFT - https://github.com/acon96/home-llm
|
||||
|
||||
## License
|
||||
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.
|
||||
Reference in New Issue
Block a user