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="diffnamehard/Mistral-CatMacaroni-slerp-uncensored-7B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("diffnamehard/Mistral-CatMacaroni-slerp-uncensored-7B")
model = AutoModelForCausalLM.from_pretrained("diffnamehard/Mistral-CatMacaroni-slerp-uncensored-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

This is an experimental model.

Finetuned on dataset toxic-dpo-v0.1-NoWarning-alpaca using model Mistral-CatMacaroni-slerp-7B

Metric Value
Avg. 67.28
ARC (25-shot) 64.25
HellaSwag (10-shot) 84.09
MMLU (5-shot) 62.66
TruthfulQA (0-shot) 56.87
Winogrande (5-shot) 79.72
GSM8K (5-shot) 56.1
Downloads last month
84
Safetensors
Model size
7B params
Tensor type
F16
Β·
Inference Providers NEW
Input a message to start chatting with diffnamehard/Mistral-CatMacaroni-slerp-uncensored-7B.

Model tree for diffnamehard/Mistral-CatMacaroni-slerp-uncensored-7B

Finetunes
1 model
Merges
2 models
Quantizations
2 models

Spaces using diffnamehard/Mistral-CatMacaroni-slerp-uncensored-7B 36