abideen / MonarchCoder-7B

huggingface.co
Total runs: 64
24-hour runs: 1
7-day runs: -5
30-day runs: 2
Model's Last Updated: March 11 2024
text-generation

Introduction of MonarchCoder-7B

Model Details of MonarchCoder-7B

MonarchCoder-7B

image/jpeg

MonarchCoder-7B is a slerp merge of the following models using LazyMergekit :

The main aim behind creating this model is to create a model that performs well in reasoning, conversation, and coding. AlphaMonarch pperforms amazing on reasoning and conversation tasks. Merging AlphaMonarch with a coding model yielded MonarchCoder-7B which performs better on OpenLLM, Nous, and HumanEval benchmark. Although MonarchCoder-2x7B performs better than MonarchCoder-7B.

🏆 Evaluation results
|             Metric              |MonarchCoder-Moe-2x7B||MonarchCoder-7B||AlphaMonarch|
|---------------------------------|---------------------|-----------------|------------|
|Avg.                             |       74.23         |      71.17      |   75.99    |
|HumanEval                        |       41.15         |      39.02      |   34.14    |
|HumanEval+                       |       29.87         |      31.70      |   29.26    |
|MBPP                             |       40.60         |       *         |     *      |
|AI2 Reasoning Challenge (25-Shot)|       70.99         |      68.52      |   73.04    |
|HellaSwag (10-Shot)              |       87.99         |      87.30      |   89.18    |
|MMLU (5-Shot)                    |       65.11         |      64.65      |   64.40    |
|TruthfulQA (0-shot)              |       71.25         |      61.21      |   77.91    |
|Winogrande (5-shot)              |       80.66         |      80.19     .|   84.69    |
|GSM8k (5-shot)           .       |       69.37         |      65.13      |   66.72    | 
🧩 Configuration
slices:
  - sources:
      - model: Syed-Hasan-8503/Tess-Coder-7B-Mistral-v1.0
        layer_range: [0, 32]
      - model: mlabonne/AlphaMonarch-7B
        layer_range: [0, 32]
merge_method: slerp
base_model: mlabonne/AlphaMonarch-7B
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16
💻 Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "abideen/MonarchCoder-7B"
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"])

Runs of abideen MonarchCoder-7B on huggingface.co

64
Total runs
1
24-hour runs
3
3-day runs
-5
7-day runs
2
30-day runs

More Information About MonarchCoder-7B huggingface.co Model

More MonarchCoder-7B license Visit here:

https://choosealicense.com/licenses/apache-2.0

MonarchCoder-7B huggingface.co

MonarchCoder-7B huggingface.co is an AI model on huggingface.co that provides MonarchCoder-7B's model effect (), which can be used instantly with this abideen MonarchCoder-7B model. huggingface.co supports a free trial of the MonarchCoder-7B model, and also provides paid use of the MonarchCoder-7B. Support call MonarchCoder-7B model through api, including Node.js, Python, http.

MonarchCoder-7B huggingface.co Url

https://huggingface.co/abideen/MonarchCoder-7B

abideen MonarchCoder-7B online free

MonarchCoder-7B huggingface.co is an online trial and call api platform, which integrates MonarchCoder-7B's modeling effects, including api services, and provides a free online trial of MonarchCoder-7B, you can try MonarchCoder-7B online for free by clicking the link below.

abideen MonarchCoder-7B online free url in huggingface.co:

https://huggingface.co/abideen/MonarchCoder-7B

MonarchCoder-7B install

MonarchCoder-7B is an open source model from GitHub that offers a free installation service, and any user can find MonarchCoder-7B on GitHub to install. At the same time, huggingface.co provides the effect of MonarchCoder-7B install, users can directly use MonarchCoder-7B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MonarchCoder-7B install url in huggingface.co:

https://huggingface.co/abideen/MonarchCoder-7B

Url of MonarchCoder-7B

MonarchCoder-7B huggingface.co Url

Provider of MonarchCoder-7B huggingface.co

abideen
ORGANIZATIONS

Other API from abideen

huggingface.co

Total runs: 76
Run Growth: 3
Growth Rate: 3.95%
Updated:March 17 2024
huggingface.co

Total runs: 23
Run Growth: 16
Growth Rate: 69.57%
Updated:April 15 2024
huggingface.co

Total runs: 22
Run Growth: 4
Growth Rate: 18.18%
Updated:January 11 2024
huggingface.co

Total runs: 17
Run Growth: 10
Growth Rate: 58.82%
Updated:February 22 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:January 07 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 21 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 13 2025