File size: 2,234 Bytes
1336ee9
 
 
 
 
 
 
 
 
 
 
 
 
 
6bf3059
 
ed0029c
6bf3059
 
1336ee9
 
 
 
6bf3059
1336ee9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ed0029c
 
 
 
 
1336ee9
6bf3059
1336ee9
 
 
 
 
 
 
 
6bf3059
 
1336ee9
 
 
 
 
 
 
 
 
 
6bf3059
1336ee9
6bf3059
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
88
89
90
91
92
93
---
base_model:
- anthracite-org/magnum-12b-v2
- Sao10K/MN-12B-Lyra-v1
- nothingiisreal/MN-12B-Celeste-V1.9
tags:
- merge
- mergekit
- lazymergekit
- anthracite-org/magnum-12b-v2
- Sao10K/MN-12B-Lyra-v1
- nothingiisreal/MN-12B-Celeste-V1.9
---

![image/png](https://cdn-uploads.huggingface.co/production/uploads/66b564058d9afb7a9d5607d5/1-LcsrW7AxytF-2GuouSG.png)
# Pleiades-12B-v1

Three rocks, one blender.
Pleiades-12B-v1 is a merge of the following models:
* [anthracite-org/magnum-12b-v2](https://huggingface.co/anthracite-org/magnum-12b-v2)
* [Sao10K/MN-12B-Lyra-v1](https://huggingface.co/Sao10K/MN-12B-Lyra-v1)
* [nothingiisreal/MN-12B-Celeste-V1.9](https://huggingface.co/nothingiisreal/MN-12B-Celeste-V1.9)

## Configuration

```yaml
models:
  - model: anthracite-org/magnum-12b-v2
    parameters:
      density: 0.4
      weight: 0.40
  - model: Sao10K/MN-12B-Lyra-v1
    parameters:
      density: 0.2
      weight: 0.30
  - model: nothingiisreal/MN-12B-Celeste-V1.9
    parameters:
      density: 0.2
      weight: 0.30

merge_method: ties
base_model: nothingiisreal/MN-12B-Celeste-V1.9
parameters:
  normalize: true
dtype: bfloat16
```
## Hosts
[Featherless](https://featherless.ai/models/GalrionSoftworks/Pleiades-12B-v1)

## Quants
[Q5_K_M](https://huggingface.co/NGalrion/Pleiades-12B-v1-Q5_K_M-GGUF)

## Usage

```python
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "GalrionSoftworks/Pleiades-12B-v1"
messages = [{"role": "user", "content": "Who is Alan Turing?"}]

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.8, top_k=0, top_p=0.90, min_p=0.05)
print(outputs[0]["generated_text"])
```

## Instruction Template

ChatML or... maybe mistral instruct?

ChatML
```md
"""<|im_start|>user
Hi there!<|im_end|>
<|im_start|>assistant
Nice to meet you!<|im_end|>
<|im_start|>user
Can I ask a question?<|im_end|>
<|im_start|>assistant
"""
```