File size: 3,784 Bytes
0c96aed b5901d0 0c96aed a98d247 0c96aed 0f3d6c4 835cd5e a89ae63 8c830bc 10bf0c4 a89ae63 0f3d6c4 0c96aed 05fad2b 0c96aed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
---
tags:
- merge
- mergekit
- lazymergekit
- CultriX/MergeCeption-7B-v3
base_model:
- CultriX/MergeCeption-7B-v3
license: apache-2.0
---
<img src="https://cdn-uploads.huggingface.co/production/uploads/6389d3c61e8755d777902366/-_AiKUEsY3x-N7oY52fdE.jpeg" style="border-radius:2%; width: 66%">
# pandafish-dt-7b
pandafish-dt-7b is a `dare_ties` merge of `Experiment26-7B` and `MergeCeption-7B-v3` using `LazyMergekit` by [mlabonne](https://huggingface.co/mlabonne)
## π¬ Try it
[Playground on Huggingface Space](https://huggingface.co/spaces/ichigoberry/pandafish-dt-7b)
## β‘ Quantized models
- **GGUF**: [ichigoberry/pandafish-dt-7b-GGUF](https://huggingface.co/ichigoberry/pandafish-dt-7b-GGUF)
- **GGUF (w/ IQ)**: [mradermacher/pandafish-dt-7b-GGUF](https://huggingface.co/mradermacher/pandafish-dt-7b-GGUF)
- **MLX**: [4bit](https://huggingface.co/mlx-community/pandafish-dt-7b) [8bit](https://huggingface.co/mlx-community/pandafish-dt-7b-8bit)
## π Evals
Evals from the Nous Benchmark suite:
| Model |Average|AGIEval|GPT4All|TruthfulQA|Bigbench|
|---------------------------------------------------------------|------:|------:|---------:|-------:|------:|
|[AlphaMonarch-7B](https://huggingface.co/mlabonne/AlphaMonarch-7B) [π](https://gist.github.com/mlabonne/1d33c86824b3a11d2308e36db1ba41c1) | **62.74** | 45.37 | 77.01 | 78.39 | **50.2** |
|[Monarch-7B](https://huggingface.co/mlabonne/Monarch-7B) [π](https://gist.github.com/mlabonne/0b8d057c5ece41e0290580a108c7a093) | 62.68 | 45.48 | 77.07 | 78.04 | 50.14 |
|π‘ [**pandafish-dt-7b**](https://huggingface.co/ichigoberry/pandafish-dt-7b) [π](https://gist.github.com/tosh/190e51bbd0048363e160f7031f8cb003)| 62.65| 45.24| **77.19**| **78.41**| 49.76|
|[MonarchPipe-7B-slerp](https://huggingface.co/ichigoberry/MonarchPipe-7B-slerp) [π](https://gist.github.com/tosh/3d93f4e3d2c65935bf2f4f9a46791352)| 58.77| **46.12**| 74.89| 66.59| 47.49|
|[NeuralHermes-2.5-Mistral-7B](https://huggingface.co/mlabonne/NeuralHermes-2.5-Mistral-7B) [π](https://gist.github.com/mlabonne/14687f1eb3425b166db511f31f8e66f6) | 53.51 | 43.67 | 73.24 | 55.37 | 41.76 |
|[Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) [π](https://gist.github.com/mlabonne/05d358e17dffdf9eee7c2322380c9da6) | 54.81 | 38.5 | 71.64 | 66.82 | 42.29 |
|[OpenHermes-2.5-Mistral-7B](https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B) [π](https://gist.github.com/mlabonne/88b21dd9698ffed75d6163ebdc2f6cc8) | 52.42 | 42.75 | 72.99 | 52.99 | 40.94 |
|[pandafish-7b](https://huggingface.co/ichigoberry/pandafish-7b) [π](https://gist.github.com/tosh/dda6a21e568d17a410ca618265f64a28)| 51.99 | 40 | 74.23 | 53.22 | 40.51 |
## 𧩠Configuration
```yaml
models:
- model: yam-peleg/Experiment26-7B
# No parameters necessary for base model
- model: CultriX/MergeCeption-7B-v3
parameters:
density: 0.53
weight: 0.4
merge_method: dare_ties
base_model: yam-peleg/Experiment26-7B
parameters:
int8_mask: true
dtype: bfloat16
```
## π» Usage
```python
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "ichigoberry/pandafish-dt-7b"
messages = [{"role": "user", "content": "What is a large language model?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
``` |