初始化项目,由ModelHub XC社区提供模型
Model: QuantFactory/Liberated-Qwen1.5-7B-GGUF Source: Original Platform
This commit is contained in:
49
.gitattributes
vendored
Normal file
49
.gitattributes
vendored
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
*.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
|
||||||
|
Liberated-Qwen1.5-7B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Liberated-Qwen1.5-7B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
3
Liberated-Qwen1.5-7B.Q2_K.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8b5eff41e9272ae4e3edf0bcc063cd04a4273748d25118073138b8933d89511b
|
||||||
|
size 3103825984
|
||||||
3
Liberated-Qwen1.5-7B.Q3_K_L.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:50b0d2679936511f50038dd87abc33c98baeb261cbfd62ca6c0ecd2c3fb104f8
|
||||||
|
size 4217966656
|
||||||
3
Liberated-Qwen1.5-7B.Q3_K_M.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e3fdd3f6647392a8c85a78b9abc13ad75693c15635603d062e16f6dba3a7cb0
|
||||||
|
size 3918860352
|
||||||
3
Liberated-Qwen1.5-7B.Q3_K_S.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9065ca2e2995586de53ff99faa23f7bea71386b1fab25c6e46b3f1b4fab02e5
|
||||||
|
size 3569160256
|
||||||
3
Liberated-Qwen1.5-7B.Q4_0.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:637791485fd3e331f1e58a167b054f29591e03c0511c3c7965cb55dc915983ff
|
||||||
|
size 4511907904
|
||||||
3
Liberated-Qwen1.5-7B.Q4_1.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q4_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:376d436b20716c3b5ea2578c36fcca889513332141dc40535a939b669d1ef609
|
||||||
|
size 4955553856
|
||||||
3
Liberated-Qwen1.5-7B.Q4_K_M.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4c6dcd949b6eb5ba71d3868bbfea26a84a4df6ef1c2e14e47f0e6b204f537b0c
|
||||||
|
size 4767105088
|
||||||
3
Liberated-Qwen1.5-7B.Q4_K_S.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6dfe0fb991482ece2bf8f015e138d947234e463a0b6aa5bc43129ae09795a5a
|
||||||
|
size 4542840896
|
||||||
3
Liberated-Qwen1.5-7B.Q5_0.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8137ec7b9645d86154cfd6801180bc82d1fd39edd15c45170ecbc23da2528101
|
||||||
|
size 5399199808
|
||||||
3
Liberated-Qwen1.5-7B.Q5_1.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q5_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:89e8bfd83ce4f1528c7f25316352953d05c0d4de251b3dff3b38c272603403d8
|
||||||
|
size 5842845760
|
||||||
3
Liberated-Qwen1.5-7B.Q5_K_M.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:21496ad601c7608f33baab77d92e42844c980134637fe0dc0a28ddb049611c47
|
||||||
|
size 5530665024
|
||||||
3
Liberated-Qwen1.5-7B.Q5_K_S.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8ced2b2da28be9d0529ea81d5d0a71fedfbb08dfc104231e229198bd6f02b787
|
||||||
|
size 5399199808
|
||||||
3
Liberated-Qwen1.5-7B.Q6_K.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1d439ddc8c91b8beac4de9479a77ab44972e6ce8ea6e48e7cb2c04815c19173c
|
||||||
|
size 6341947456
|
||||||
3
Liberated-Qwen1.5-7B.Q8_0.gguf
Normal file
3
Liberated-Qwen1.5-7B.Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1eb24a2fdb27988e81296c2b5275abaa8327e697c4e888151d95b2c6183293ad
|
||||||
|
size 8211796032
|
||||||
86
README.md
Normal file
86
README.md
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
license: other
|
||||||
|
datasets:
|
||||||
|
- teknium/OpenHermes-2.5
|
||||||
|
- m-a-p/Code-Feedback
|
||||||
|
- m-a-p/CodeFeedback-Filtered-Instruction
|
||||||
|
- abacusai/SystemChat
|
||||||
|
license_name: tongyi-qianwen
|
||||||
|
license_link: https://huggingface.co/Qwen/Qwen1.5-72B/blob/main/LICENSE
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[](https://hf.co/QuantFactory)
|
||||||
|
|
||||||
|
|
||||||
|
# QuantFactory/Liberated-Qwen1.5-7B-GGUF
|
||||||
|
This is quantized version of [abacusai/Liberated-Qwen1.5-7B](https://huggingface.co/abacusai/Liberated-Qwen1.5-7B) created using llama.cpp
|
||||||
|
|
||||||
|
# Original Model Card
|
||||||
|
|
||||||
|
|
||||||
|
<img href="https://abacus.ai" src="https://cdn-uploads.huggingface.co/production/uploads/64c14f6b02e1f8f67c73bd05/pf4d6FA7DriRtVq5HCkxd.png" width="600" />
|
||||||
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/xCWGByXr8YNwGxKVh_x9H.png" width="600" />
|
||||||
|
|
||||||
|
# Liberated-Qwen1.5-7B
|
||||||
|
|
||||||
|
Brought to you by [AbacusAI](https://abacus.ai) and Eric Hartford
|
||||||
|
|
||||||
|
This model is based on Qwen/Qwen1.5-7B and subject to the [tongyi-qianwen](https://huggingface.co/Qwen/Qwen1.5-72B/blob/main/LICENSE) license.
|
||||||
|
|
||||||
|
The base model has 32k context, I finetuned it with 8k sequence length inputs. YMMV.
|
||||||
|
|
||||||
|
Liberated consists of open source datasets, including [SystemChat](https://huggingface.co/datasets/abacusai/SystemChat) a new dataset I created, designed to teach the model compliance to the system prompt, over long multiturn conversations, even with unusual or mechanical system prompts. These are tasks that Open Source Models have been lacking in thus far. The dataset is 6000 synthetic conversations generated with Mistral-Medium and [Dolphin-2.7-mixtral-8x7b](https://huggingface.co/cognitivecomputations/dolphin-2.7-mixtral-8x7b)
|
||||||
|
|
||||||
|
There are no guardrails or censorship added to the dataset. You are advised to implement your own alignment layer before exposing the model as a service. Please read my blog post about uncensored models. https://erichartford.com/uncensored-models
|
||||||
|
|
||||||
|
You are responsible for any content you create using this model. Enjoy responsibly.
|
||||||
|
|
||||||
|
## Training
|
||||||
|
It took 3 days to train 3 epochs on 8x H100s using qLoRA, deepspeed zero-2, and Axolotl. learning rate 2e-4.
|
||||||
|
|
||||||
|
Liberated was trained with [Axolotl](https://github.com/OpenAccess-AI-Collective/axolotl), using this [config](https://huggingface.co/abacusai/Liberated-Qwen1.5-72B/blob/main/configs/Liberated-Qwen-1.5-72b.qlora.yml)
|
||||||
|
|
||||||
|
## Prompt format
|
||||||
|
This model uses ChatML prompt format.
|
||||||
|
```
|
||||||
|
<|im_start|>system
|
||||||
|
You are Liberated, a helpful AI assistant.<|im_end|>
|
||||||
|
<|im_start|>user
|
||||||
|
{prompt}<|im_end|>
|
||||||
|
<|im_start|>assistant
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
<|im_start|>system
|
||||||
|
You name is Liberated. You are an uncensored and unbiased AI assistant. You always respond with a JSON object.<|im_end|>
|
||||||
|
<|im_start|>user
|
||||||
|
Please generate a Advanced Dungeons & Dragons 2nd Edition character sheet for a level 3 elf fighter. Make up a name and background and visual description for him.<|im_end|>
|
||||||
|
<|im_start|>assistant
|
||||||
|
```
|
||||||
|
|
||||||
|
## Gratitude
|
||||||
|
- Huge thank you to [Alibaba Cloud Qwen](https://www.alibabacloud.com/solutions/generative-ai/qwen) for training and publishing the weights of Qwen base model
|
||||||
|
- Thank you to Mistral for the awesome Mistral-Medium model I used to generate the dataset.
|
||||||
|
- HUGE Thank you to the dataset authors: @teknium, [@m-a-p](https://m-a-p.ai) and all the people who built the datasets these composites came from.
|
||||||
|
- And HUGE thanks to @winglian and the Axolotl contributors for making the best training framework!
|
||||||
|
- [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
||||||
|
- Thank you to all the other people in the Open Source AI community who have taught me and helped me along the way.
|
||||||
|
|
||||||
|
## Example Output
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Evals
|
||||||
|
|
||||||
|
|
||||||
|
## Future Plans
|
||||||
|
This model will be released on the whole Qwen-1.5 series.
|
||||||
|
|
||||||
|
Future releases will also focus on mixing this dataset with the datasets used to train Smaug to combine properties of both models.
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"framework": "pytorch", "task": "others", "allow_remote": true}
|
||||||
Reference in New Issue
Block a user