ichigoberry/pandafish-dt-7b
369
<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
๐ฌ Try it
Playground on Huggingface Space
โก Quantized models
- GGUF: ichigoberry/pandafish-dt-7b-GGUF
- GGUF (w/ IQ): mradermacher/pandafish-dt-7b-GGUF
- MLX: 4bit 8bit
๐ Evals
Evals from the Nous Benchmark suite:
๐งฉ Configuration
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
!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"])