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="solidrust/MistarlingMaid-2x7B-base-AWQ")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("solidrust/MistarlingMaid-2x7B-base-AWQ")
model = AutoModelForCausalLM.from_pretrained("solidrust/MistarlingMaid-2x7B-base-AWQ")
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

dawn17/MistarlingMaid-2x7B-base AWQ

Model Summary

    base_model: dawn17/MistarlingMaid-2x7B-base
    gate_mode: hidden # one of "hidden", "cheap_embed", or "random"
    dtype: bfloat16 # output dtype (float32, float16, or bfloat16)
    experts:
      - source_model: /Users/dawn/git/models/Silicon-Maid-7B
        positive_prompts:
            - "roleplay"
      - source_model: /Users/dawn/git/models/Starling-LM-7B-beta
        positive_prompts:
            - "chat"
    
Metric Value
Avg. 68.01
AI2 Reasoning Challenge (25-Shot) 67.49
HellaSwag (10-Shot) 84.76
MMLU (5-Shot) 62.62
TruthfulQA (0-shot) 58.93
Winogrande (5-shot) 78.22
GSM8k (5-shot) 56.03
Downloads last month
4
Safetensors
Model size
13B params
Tensor type
I32
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for solidrust/MistarlingMaid-2x7B-base-AWQ

Quantized
(2)
this model

Collection including solidrust/MistarlingMaid-2x7B-base-AWQ