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

tokenizer = AutoTokenizer.from_pretrained("marcuscedricridia/Cheng-2")
model = AutoModelForCausalLM.from_pretrained("marcuscedricridia/Cheng-2")
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 Model Stock merge method using YOYO-AI/Qwen2.5-14B-it-restore as a base.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

merge_method: model_stock  
base_model: YOYO-AI/Qwen2.5-14B-it-restore  
models:  
  - model: marcuscedricridia/Cheng-2-Ingredient1
  - model: marcuscedricridia/Cheng-2-Ingredient2
  - model: marcuscedricridia/Cheng-2-Ingredient3
  - model: marcuscedricridia/Cheng-2-Ingredient4
  - model: arcee-ai/Virtuoso-Small-v2
dtype: bfloat16  
tokenizer_source: base  
int8_mask: true  
normalize: true  
name: Cheng-2

Open LLM Leaderboard Evaluation Results

Detailed results can be found here! Summarized results can be found here!

Metric Value (%)
Average 42.85
IFEval (0-Shot) 83.37
BBH (3-Shot) 49.98
MATH Lvl 5 (4-Shot) 54.38
GPQA (0-shot) 12.75
MuSR (0-shot) 12.02
MMLU-PRO (5-shot) 44.59
Downloads last month
19
Safetensors
Model size
15B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for marcuscedricridia/Cheng-2

Paper for marcuscedricridia/Cheng-2

Evaluation results