Run this model with HF Jobs

Run 10arjan/The-Merge-1 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/10arjan/The-Merge-1. 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/10arjan/The-Merge-1 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/10arjan/The-Merge-1. 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/10arjan/The-Merge-1. 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.
How to use from
Docker Model Runner
docker model run hf.co/10arjan/The-Merge-1
Quick Links

The-Merge-1

The-Merge-1 is an 8B model made by averaging the weights of two models that share the same architecture, 50/50:

No extra training was done. The tokenizer and config files come from Qwen3-8B (Model A), so the model uses the Qwen3 chat template, including its thinking mode.

Results: The-Merge-1 vs its two parents

Merge details

  • Merge tool: KinetixisMM
  • Method: 50/50 weight average
  • Models merged: Qwen3-8B (Model A) and DeepSeek-R1-0528-Qwen3-8B (Model B)
  • Files copied from: Qwen3-8B (tokenizer and config)
  • Training: none, this is a merge only

Results

All tests were run in a Kaggle notebook, against both parent models under the same conditions. Qwen3-8B is in thinking mode in all tables.

Maths: GSM8K (first 100 test questions)

Model Accuracy
The-Merge-1 98%
Qwen3-8B 91%
DeepSeek-R1-0528-Qwen3-8B 70%

Answers that finished before the 4,096-token limit: merge 98/100, Qwen3-8B 88/100, DeepSeek 70/100. DeepSeek's score was hurt by answers being cut off.

Coding: EvalPlus (pass@1)

Model HumanEval HumanEval+ MBPP MBPP+
The-Merge-1 95.1 90.9 90.5 78.0
Qwen3-8B (thinking) 93.9 87.8 91.3 77.0
DeepSeek-R1-0528-Qwen3-8B 90.9 87.2 82.8 71.2
Qwen3-8B (non-thinking) 84.1 78.7 74.6 66.1

Reasoning: BBH (leaderboard_bbh, 3-shot)

Model acc_norm
Qwen3-8B 58.4%
The-Merge-1 57.9%
DeepSeek-R1-0528-Qwen3-8B 35.8%

The merge and Qwen3-8B are about level here, and both are well ahead of DeepSeek.

How the tests were run

Maths (GSM8K)

  • First 100 questions of the openai/gsm8k ("main") test set, the same 100 for every model
  • Prompt: the question followed by "Solve step by step and put the final numeric answer in \boxed{}." (0-shot)
  • Each model's own chat template; thinking mode left on for the Qwen-style models
  • Greedy decoding, max 4,096 new tokens, float16, device_map="auto", batch size 4
  • Scored on the last \boxed{} answer; a backup score uses the last number in the text

Reasoning (BBH)

  • lm_eval with leaderboard_bbh: 24 multiple-choice tasks, 3-shot, --limit 50 per task (about 1,200 questions in total)
  • The model is scored on how likely it finds each answer option (acc_norm), with no thinking and no chat template
  • dtype=float16, parallelize=True, --batch_size 4

Coding (EvalPlus)

  • All 164 HumanEval+ tasks and 378 MBPP+ tasks with EvalPlus's extended tests, one answer per task (pass@1)
  • Generation with vLLM 0.9.2 in float16 on 2x T4 GPUs (tensor parallel 2), context length 16,384
  • Thinking models: temperature 0.6, top-p 0.95, top-k 20, up to 12,288 new tokens. Qwen3-8B non-thinking: greedy decoding
  • The reasoning part of the answer was removed and the last code block was used; an answer cut off before the reasoning finished counted as a fail
  • Prompt: "Please provide a self-contained Python script that solves the following problem in a markdown code block. Include any needed imports. Do not include test code or example usage." followed by the task's code
  • Code was checked with EvalPlus's own sanitizer and evaluator

Usage

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "10arjan/The-Merge-1"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")

messages = [{"role": "user",
             "content": "Solve step by step and put the final numeric answer in \\boxed{}. "
                        "A shop sells pens at 3 for $2. How much do 12 pens cost?"}]

text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True,
                               enable_thinking=True)   # set False for non-thinking mode
inputs = tok([text], return_tensors="pt").to(model.device)

out = model.generate(**inputs, max_new_tokens=4096,
                     do_sample=True, temperature=0.6, top_p=0.95, top_k=20)
print(tok.decode(out[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))

vLLM

from vllm import LLM, SamplingParams

llm = LLM("10arjan/The-Merge-1", dtype="float16", max_model_len=16384)
sp = SamplingParams(temperature=0.6, top_p=0.95, top_k=20, max_tokens=12288)
out = llm.chat([[{"role": "user", "content": "Write a Python function that checks if a number is prime."}]],
               sp, chat_template_kwargs={"enable_thinking": True})
print(out[0].outputs[0].text)

The model writes its reasoning first, then the final answer. If you only want the answer, split the text on </think> and keep the last part. Give it enough room (max_new_tokens) to finish thinking, because an answer that is cut off during reasoning has no final result.

Limitations

  • These are my own quick tests, not official leaderboard runs. The maths test uses only 100 questions and BBH about 50 per task, so small differences between models can change with larger runs.
  • BBH here scores answer likelihood without thinking, so it does not show how well a model reasons when it is allowed to think.
  • The coding scores for thinking models come from sampled generation in one run, so they can vary a little between runs.
  • DeepSeek-R1-0528-Qwen3-8B often did not finish within the 4,096-token limit in the maths test, which lowered its score there.
  • As with any LLM, it can produce wrong or made-up answers. Check important results, and test generated code before you run it.

Credits

Built from Qwen3-8B by the Qwen team and DeepSeek-R1-0528-Qwen3-8B by DeepSeek. Merged with KinetixisMM. Please check and follow the licenses of both parent models.

Downloads last month
345
Safetensors
Model size
8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for 10arjan/The-Merge-1