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="Kaoeiri/MS_a-coolyte-2409-22B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Kaoeiri/MS_a-coolyte-2409-22B")
model = AutoModelForCausalLM.from_pretrained("Kaoeiri/MS_a-coolyte-2409-22B", device_map="auto")
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

merge

This is a merge of pre-trained language models created using mergekit.

Merge Details

Merge Method

This model was merged using the task arithmetic merge method using unsloth/Mistral-Small-Instruct-2409 + rAIfle/Acolyte-LORA as a base.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

models:
  - model: unsloth/Mistral-Small-Instruct-2409+rAIfle/Acolyte-LORA
    parameters:
      weight: 1
      density: 1  # Adjusted density to target a training loss of 0.3

base_model: unsloth/Mistral-Small-Instruct-2409+rAIfle/Acolyte-LORA
merge_method: task_arithmetic
parameters:
  normalize: false

dtype: bfloat16
tokenizer_source: union
Downloads last month
6
Safetensors
Model size
22B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Kaoeiri/MS_a-coolyte-2409-22B

Merge model
this model
Merges
12 models
Quantizations
1 model

Paper for Kaoeiri/MS_a-coolyte-2409-22B