Views
No views yet

Messier-Opus-14B-Elite7 is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. This model is optimized for general-purpose reasoning and answering, excelling in contextual understanding, logical deduction, and multi-step problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.
apply_chat_template to show you how to load the tokenizer and model and generate content:1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "prithivMLmods/Messier-Opus-14B-Elite7"
4
5model = AutoModelForCausalLM.from_pretrained(
6 model_name,
7 torch_dtype="auto",
8 device_map="auto"
9)
10tokenizer = AutoTokenizer.from_pretrained(model_name)
11
12prompt = "What are the key principles of general-purpose AI?"
13messages = [
14 {"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},
15 {"role": "user", "content": prompt}
16]
17text = tokenizer.apply_chat_template(
18 messages,
19 tokenize=False,
20 add_generation_prompt=True
21)
22model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
23
24generated_ids = model.generate(
25 **model_inputs,
26 max_new_tokens=512
27)
28generated_ids = [
29 output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
30]
31
32response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]| Metric | Value (%) |
|---|---|
| Average | 41.66 |
| IFEval (0-Shot) | 71.13 |
| BBH (3-Shot) | 49.70 |
| MATH Lvl 5 (4-Shot) | 40.71 |
| GPQA (0-shot) | 18.79 |
| MuSR (0-shot) | 20.70 |
| MMLU-PRO (5-shot) | 48.93 |