How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="macadeliccc/MonarchLake-7B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("macadeliccc/MonarchLake-7B")
model = AutoModelForCausalLM.from_pretrained("macadeliccc/MonarchLake-7B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

MonarchLake-7B

image/webp

This model equips AlphaMonarch-7B with a strong base of emotional intelligence.

Merge Method

This model was merged using the SLERP merge method.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

slices:
  - sources:
      - model: mlabonne/AlphaMonarch-7B
        layer_range: [0, 32]
      - model: macadeliccc/WestLake-7b-v2-laser-truthy-dpo
        layer_range: [0, 32]
merge_method: slerp
base_model: mlabonne/AlphaMonarch-7B
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 76.10
AI2 Reasoning Challenge (25-Shot) 74.15
HellaSwag (10-Shot) 89.29
MMLU (5-Shot) 64.44
TruthfulQA (0-shot) 74.97
Winogrande (5-shot) 85.48
GSM8k (5-shot) 68.31
Downloads last month
72
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with macadeliccc/MonarchLake-7B.

Model tree for macadeliccc/MonarchLake-7B

Finetuned
(7)
this model
Merges
2 models
Quantizations
4 models

Evaluation results