Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +73 -0
- an4-7bv3.IQ4_NL.gguf +3 -0
- an4-7bv3.Q8_0.gguf +3 -0
- an4-7bv3.fp16.gguf +3 -0
- an4-7bv3.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 |
+
an4-7bv3.IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
an4-7bv3.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
an4-7bv3.fp16.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
an4-7bv3.fp16.gguf.Imatrix.dat filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- merge
|
4 |
+
- mergekit
|
5 |
+
- lazymergekit
|
6 |
+
- Nitral-AI/Kunocchini-7b-128k-test
|
7 |
+
- Smuggling1710/An4-7Bv2
|
8 |
+
- Endevor/InfinityRP-v1-7B
|
9 |
+
- not-for-all-audiences
|
10 |
+
base_model:
|
11 |
+
- Nitral-AI/Kunocchini-7b-128k-test
|
12 |
+
- Smuggling1710/An4-7Bv2
|
13 |
+
- Endevor/InfinityRP-v1-7B
|
14 |
+
---
|
15 |
+
|
16 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63b79573ca2f378e71027268/XMKBzLcJDU7904m1AXyio.png)
|
17 |
+
|
18 |
+
# An4-7Bv3
|
19 |
+
|
20 |
+
An4-7Bv3 is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
21 |
+
* [Nitral-AI/Kunocchini-7b-128k-test](https://huggingface.co/Nitral-AI/Kunocchini-7b-128k-test)
|
22 |
+
* [Smuggling1710/An4-7Bv2](https://huggingface.co/Smuggling1710/An4-7Bv2)
|
23 |
+
* [Endevor/InfinityRP-v1-7B](https://huggingface.co/Endevor/InfinityRP-v1-7B)
|
24 |
+
|
25 |
+
## 🧩 Configuration
|
26 |
+
|
27 |
+
```yaml
|
28 |
+
models:
|
29 |
+
- model: Smuggling1710/An4-7Bv2
|
30 |
+
# No parameters necessary for base model
|
31 |
+
- model: Nitral-AI/Kunocchini-7b-128k-test
|
32 |
+
parameters:
|
33 |
+
density: 0.53
|
34 |
+
weight: 0.4
|
35 |
+
- model: Smuggling1710/An4-7Bv2
|
36 |
+
parameters:
|
37 |
+
density: 0.53
|
38 |
+
weight: 0.3
|
39 |
+
- model: Endevor/InfinityRP-v1-7B
|
40 |
+
parameters:
|
41 |
+
density: 0.53
|
42 |
+
weight: 0.3
|
43 |
+
merge_method: dare_ties
|
44 |
+
base_model: Smuggling1710/An4-7Bv2
|
45 |
+
parameters:
|
46 |
+
int8_mask: true
|
47 |
+
dtype: bfloat16
|
48 |
+
```
|
49 |
+
|
50 |
+
## 💻 Usage
|
51 |
+
|
52 |
+
```python
|
53 |
+
!pip install -qU transformers accelerate
|
54 |
+
|
55 |
+
from transformers import AutoTokenizer
|
56 |
+
import transformers
|
57 |
+
import torch
|
58 |
+
|
59 |
+
model = "Smuggling1710/An4-7Bv3"
|
60 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
61 |
+
|
62 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
63 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
64 |
+
pipeline = transformers.pipeline(
|
65 |
+
"text-generation",
|
66 |
+
model=model,
|
67 |
+
torch_dtype=torch.float16,
|
68 |
+
device_map="auto",
|
69 |
+
)
|
70 |
+
|
71 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
72 |
+
print(outputs[0]["generated_text"])
|
73 |
+
```
|
an4-7bv3.IQ4_NL.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fadc95fad8201a86af63456cdcfdbc7e503ee00dd71c96f54596f3c238f4b29
|
3 |
+
size 4125693728
|
an4-7bv3.Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2761d16adcc1fb8fc678a790d9fa1b7760050079f021970e2b31e62b867c9706
|
3 |
+
size 7695857440
|
an4-7bv3.fp16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed4124600e0728cf55fb3bfb4dc54c3df2260ae323625c01aaa1afa98f722a5e
|
3 |
+
size 14484731616
|
an4-7bv3.fp16.gguf.Imatrix.dat
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9eee19351d555a2c1d6d8dd23c5ebd54928f358067eb2b1fb32bd60006402f09
|
3 |
+
size 4988126
|