CoolFace
Modelpublic

ichigoberry/pandafish-dt-7b

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
3likes69downloads
Model Card

<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

๐Ÿ† Evals

Evals from the Nous Benchmark suite:

ModelAverageAGIEvalGPT4AllTruthfulQABigbench
AlphaMonarch-7B ๐Ÿ“„62.7445.3777.0178.3950.2
Monarch-7B ๐Ÿ“„62.6845.4877.0778.0450.14
๐Ÿก **pandafish-dt-7b** ๐Ÿ“„62.6545.2477.1978.4149.76
MonarchPipe-7B-slerp ๐Ÿ“„58.7746.1274.8966.5947.49
NeuralHermes-2.5-Mistral-7B ๐Ÿ“„53.5143.6773.2455.3741.76
Mistral-7B-Instruct-v0.2 ๐Ÿ“„54.8138.571.6466.8242.29
OpenHermes-2.5-Mistral-7B ๐Ÿ“„52.4242.7572.9952.9940.94
pandafish-7b ๐Ÿ“„51.994074.2353.2240.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"])