Views
No views yet
Qwen/Qwen2.5-7B-Instruct-1MQwen/Qwen2.5-7B-Instruct-1Mbunnycore/Qwen2.5-7B-RRP-1MTriangle104/Q2.5-Instruct-1M_HarmonySakalti/SJT-7B-1Mhuihui-ai/Qwen2.5-7B-Instruct-1M-abliteratedMODEL_STOCK (Optimized layer-wise weight averaging)<think> tags.| Specification | Value |
|---|---|
| Model Type | Causal Language Model |
| Parameters | 7.61B |
| Non-Embedding Parameters | 6.53B |
| Layers | 28 |
| Attention Heads (GQA) | 28 (Q), 4 (KV) |
| Max Context Length | 1,010,000 tokens |
| Max Generation Length | 8,192 tokens |
| Merge Method | Model Stock |
1base_model: Qwen/Qwen2.5-7B-Instruct-1M
2dtype: bfloat16
3merge_method: model_stock
4models:
5 - model: Qwen/Qwen2.5-7B-Instruct-1M
6 - model: Triangle104/Q2.5-Instruct-1M_Harmony
7 - model: Sakalti/SJT-7B-1M
8 - model: bunnycore/Qwen2.5-7B-RRP-1M
9 - model: huihui-ai/Qwen2.5-7B-Instruct-1M-abliterated
10tokenizer_source: Qwen/Qwen2.5-7B-Instruct-1Mtransformers library installed:pip install transformers torch accelerate1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "ZeroXClem/Qwen2.5-7B-CelestialHarmony-1M"
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 = "Tell me a short story about an ancient celestial warrior."
13messages = [
14 {"role": "system", "content": "You are a wise celestial storyteller."},
15 {"role": "user", "content": prompt}
16]
17text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
18model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
19
20generated_ids = model.generate(**model_inputs, max_new_tokens=512)
21response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
22
23print(response)1git clone -b dev/dual-chunk-attn git@github.com:QwenLM/vllm.git
2cd vllm
3pip install -e . -v1vllm serve ZeroXClem/Qwen2.5-7B-CelestialHarmony-1M \
2 --tensor-parallel-size 4 \
3 --max-model-len 1010000 \
4 --enable-chunked-prefill --max-num-batched-tokens 131072 \
5 --enforce-eager \
6 --max-num-seqs 1<think> tag to enhance thought structuring.Model Stock for superior generalization.| Metric | Value |
|---|---|
| Avg. | 31.75 |
| IFEval (0-Shot) | 59.44 |
| BBH (3-Shot) | 34.51 |
| MATH Lvl 5 (4-Shot) | 33.01 |
| GPQA (0-shot) | 9.17 |
| MuSR (0-shot) | 16.74 |
| MMLU-PRO (5-shot) | 37.63 |