Run this model with HF Jobs

Run GalrionSoftworks/MagnusIntellectus-12B-v1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/GalrionSoftworks/MagnusIntellectus-12B-v1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/GalrionSoftworks/MagnusIntellectus-12B-v1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/GalrionSoftworks/MagnusIntellectus-12B-v1. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/GalrionSoftworks/MagnusIntellectus-12B-v1. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

MagnusIntellectus-12B-v1

image/png

How pleasant, the rocks appear to have made a decent conglomerate. A-.

MagnusIntellectus is a merge of the following models using LazyMergekit:

๐Ÿงฉ Configuration

models:
  - model: UsernameJustAnother/Nemo-12B-Marlin-v5
    parameters:
      density: 0.4
      weight: 0.70
  - model: anthracite-org/magnum-12b-v2
    parameters:
      density: 0.6
      weight: 0.30

merge_method: ties
base_model: UsernameJustAnother/Nemo-12B-Marlin-v5
parameters:
  normalize: true
dtype: bfloat16

๐Ÿ’ป Usage

!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "GalrionSoftworks/MagnusIntellectus-12B-v1"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 21.55
IFEval (0-Shot) 44.21
BBH (3-Shot) 33.26
MATH Lvl 5 (4-Shot) 5.14
GPQA (0-shot) 4.59
MuSR (0-shot) 15.18
MMLU-PRO (5-shot) 26.90
Downloads last month
55
Safetensors
Model size
12B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for GalrionSoftworks/MagnusIntellectus-12B-v1

Evaluation results