🧩 Configuration

slices:
  - sources:
      - model: liminerity/M7-7b
        layer_range: [0, 32]
      - model: AurelPx/Percival_01-7b-slerp
        layer_range: [0, 32]
merge_method: slerp
base_model: liminerity/M7-7b
parameters:
  t:
    - filter: self_attn
      value: [0.698652053184304, 0.5666419592708605, 0.8285581299224429, 0.2573039882007465, 0.3487534533893577]
    - filter: mlp
      value: [0.301347946815696, 0.4333580407291395, 0.7426960117992535, 0.7426960117992535, 0.6512465466106423]
    - value: 0.5811865511130739
dtype: bfloat16
random_seed: 0
    ```
## 💻 Usage
```python
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "Ksgk-fy/M7Percival_010.7-0.57-0.83-0.26-0.35-0.58-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"])
Downloads last month
2
Safetensors
Model size
7.24B params
Tensor type
BF16
·
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.

Model tree for Ksgk-fy/M7Percival_010.7-0.57-0.83-0.26-0.35-0.58-7B