Commit
•
518b218
1
Parent(s):
f075176
Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +63 -0
- sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.IQ4_NL.gguf +3 -0
- sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.Q8_0.gguf +3 -0
- sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.fp16.gguf +3 -0
- sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.fp16.gguf.Imatrix.dat +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,7 @@ 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 |
+
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.fp16.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.fp16.gguf.Imatrix.dat filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- merge
|
4 |
+
- mergekit
|
5 |
+
- lazymergekit
|
6 |
+
- Smuggling1710/KAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp
|
7 |
+
- SanjiWatsuki/Sonya-7B
|
8 |
+
base_model:
|
9 |
+
- Smuggling1710/KAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp
|
10 |
+
- SanjiWatsuki/Sonya-7B
|
11 |
+
---
|
12 |
+
|
13 |
+
# SonyaKAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp
|
14 |
+
|
15 |
+
SonyaKAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
16 |
+
* [Smuggling1710/KAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp](https://huggingface.co/Smuggling1710/KAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp)
|
17 |
+
* [SanjiWatsuki/Sonya-7B](https://huggingface.co/SanjiWatsuki/Sonya-7B)
|
18 |
+
|
19 |
+
## 🧩 Configuration
|
20 |
+
|
21 |
+
```yaml
|
22 |
+
slices:
|
23 |
+
- sources:
|
24 |
+
- model: Smuggling1710/KAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp
|
25 |
+
layer_range: [0, 32]
|
26 |
+
- model: SanjiWatsuki/Sonya-7B
|
27 |
+
layer_range: [0, 32]
|
28 |
+
merge_method: slerp
|
29 |
+
base_model: Smuggling1710/KAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp
|
30 |
+
parameters:
|
31 |
+
t:
|
32 |
+
- filter: self_attn
|
33 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
34 |
+
- filter: mlp
|
35 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
36 |
+
- value: 0.5
|
37 |
+
dtype: bfloat16
|
38 |
+
```
|
39 |
+
|
40 |
+
## 💻 Usage
|
41 |
+
|
42 |
+
```python
|
43 |
+
!pip install -qU transformers accelerate
|
44 |
+
|
45 |
+
from transformers import AutoTokenizer
|
46 |
+
import transformers
|
47 |
+
import torch
|
48 |
+
|
49 |
+
model = "Smuggling1710/SonyaKAErisepBeagleNuBuRPInfinWestLakev2-ENDLESSIreneRP-Neural-7B-slerp"
|
50 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
51 |
+
|
52 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
53 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
54 |
+
pipeline = transformers.pipeline(
|
55 |
+
"text-generation",
|
56 |
+
model=model,
|
57 |
+
torch_dtype=torch.float16,
|
58 |
+
device_map="auto",
|
59 |
+
)
|
60 |
+
|
61 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
62 |
+
print(outputs[0]["generated_text"])
|
63 |
+
```
|
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.IQ4_NL.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91c65c656199348c6b8088d077df992fc55395f7c80e18692bcf87f300d72e27
|
3 |
+
size 4125693664
|
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de0eae002f195fdf290fd60baf9ef873a9ea0ee73eaa6b0c6a3dbf265c845e5b
|
3 |
+
size 7695857376
|
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.fp16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30615bb861efe0d073db0b8bd57a0fc9e51a02cbc29c0f8ee3b799855979be2d
|
3 |
+
size 14484731584
|
sonyakaerisepbeaglenuburpinfinwestlakev2-endlessirenerp-neural-7b-slerp.fp16.gguf.Imatrix.dat
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ff4b0d07198fb55522c0a09043fe1a25b31d4db4698c2bd0b68502d757dd43d
|
3 |
+
size 4988126
|