初始化项目,由ModelHub XC社区提供模型
Model: GalrionSoftworks/MN-LooseCannon-12B-v1 Source: Original Platform
This commit is contained in:
35
.gitattributes
vendored
Normal file
35
.gitattributes
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
176
README.md
Normal file
176
README.md
Normal file
@@ -0,0 +1,176 @@
|
||||
---
|
||||
tags:
|
||||
- merge
|
||||
- mergekit
|
||||
- lazymergekit
|
||||
- aetherwiing/MN-12B-Starcannon-v3
|
||||
- Sao10K/MN-12B-Lyra-v1
|
||||
base_model:
|
||||
- aetherwiing/MN-12B-Starcannon-v3
|
||||
- Sao10K/MN-12B-Lyra-v1
|
||||
model-index:
|
||||
- name: MN-LooseCannon-12B-v1
|
||||
results:
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: IFEval (0-Shot)
|
||||
type: HuggingFaceH4/ifeval
|
||||
args:
|
||||
num_few_shot: 0
|
||||
metrics:
|
||||
- type: inst_level_strict_acc and prompt_level_strict_acc
|
||||
value: 54.18
|
||||
name: strict accuracy
|
||||
source:
|
||||
url: >-
|
||||
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=GalrionSoftworks/MN-LooseCannon-12B-v1
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: BBH (3-Shot)
|
||||
type: BBH
|
||||
args:
|
||||
num_few_shot: 3
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 29.98
|
||||
name: normalized accuracy
|
||||
source:
|
||||
url: >-
|
||||
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=GalrionSoftworks/MN-LooseCannon-12B-v1
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: MATH Lvl 5 (4-Shot)
|
||||
type: hendrycks/competition_math
|
||||
args:
|
||||
num_few_shot: 4
|
||||
metrics:
|
||||
- type: exact_match
|
||||
value: 6.5
|
||||
name: exact match
|
||||
source:
|
||||
url: >-
|
||||
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=GalrionSoftworks/MN-LooseCannon-12B-v1
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: GPQA (0-shot)
|
||||
type: Idavidrein/gpqa
|
||||
args:
|
||||
num_few_shot: 0
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 4.7
|
||||
name: acc_norm
|
||||
source:
|
||||
url: >-
|
||||
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=GalrionSoftworks/MN-LooseCannon-12B-v1
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: MuSR (0-shot)
|
||||
type: TAUR-Lab/MuSR
|
||||
args:
|
||||
num_few_shot: 0
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 10.96
|
||||
name: acc_norm
|
||||
source:
|
||||
url: >-
|
||||
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=GalrionSoftworks/MN-LooseCannon-12B-v1
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: MMLU-PRO (5-shot)
|
||||
type: TIGER-Lab/MMLU-Pro
|
||||
config: main
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 24.4
|
||||
name: accuracy
|
||||
source:
|
||||
url: >-
|
||||
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=GalrionSoftworks/MN-LooseCannon-12B-v1
|
||||
name: Open LLM Leaderboard
|
||||
pipeline_tag: text-generation
|
||||
---
|
||||
|
||||
# MN-LooseCannon-12B-v1
|
||||
|
||||
MN-LooseCannon-12B-v1 is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
||||
* [aetherwiing/MN-12B-Starcannon-v3](https://huggingface.co/aetherwiing/MN-12B-Starcannon-v3)
|
||||
* [Sao10K/MN-12B-Lyra-v1](https://huggingface.co/Sao10K/MN-12B-Lyra-v1)
|
||||
|
||||
## 🧩 Configuration
|
||||
|
||||
```yaml
|
||||
models:
|
||||
- model: aetherwiing/MN-12B-Starcannon-v3
|
||||
parameters:
|
||||
density: 0.3
|
||||
weight: 0.75
|
||||
- model: Sao10K/MN-12B-Lyra-v1
|
||||
parameters:
|
||||
density: 0.7
|
||||
weight: 0.25
|
||||
|
||||
merge_method: ties
|
||||
base_model: aetherwiing/MN-12B-Starcannon-v3
|
||||
parameters:
|
||||
normalize: true
|
||||
dtype: bfloat16
|
||||
```
|
||||
|
||||
## 💻 Usage
|
||||
|
||||
```python
|
||||
!pip install -qU transformers accelerate
|
||||
|
||||
from transformers import AutoTokenizer
|
||||
import transformers
|
||||
import torch
|
||||
|
||||
model = "GalrionSoftworks/MN-LooseCannon-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](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
||||
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_GalrionSoftworks__MN-LooseCannon-12B-v1)
|
||||
|
||||
| Metric |Value|
|
||||
|-------------------|----:|
|
||||
|Avg. |21.78|
|
||||
|IFEval (0-Shot) |54.18|
|
||||
|BBH (3-Shot) |29.98|
|
||||
|MATH Lvl 5 (4-Shot)| 6.50|
|
||||
|GPQA (0-shot) | 4.70|
|
||||
|MuSR (0-shot) |10.96|
|
||||
|MMLU-PRO (5-shot) |24.40|
|
||||
27
config.json
Normal file
27
config.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"_name_or_path": "aetherwiing/MN-12B-Starcannon-v3",
|
||||
"architectures": [
|
||||
"MistralForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": 2,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 5120,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 14336,
|
||||
"max_position_embeddings": 1024000,
|
||||
"model_type": "mistral",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 40,
|
||||
"num_key_value_heads": 8,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_theta": 1000000.0,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.44.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 131072
|
||||
}
|
||||
16
mergekit_config.yml
Normal file
16
mergekit_config.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
models:
|
||||
- model: aetherwiing/MN-12B-Starcannon-v3
|
||||
parameters:
|
||||
density: 0.3
|
||||
weight: 0.75
|
||||
- model: Sao10K/MN-12B-Lyra-v1
|
||||
parameters:
|
||||
density: 0.7
|
||||
weight: 0.25
|
||||
|
||||
merge_method: ties
|
||||
base_model: aetherwiing/MN-12B-Starcannon-v3
|
||||
parameters:
|
||||
normalize: true
|
||||
dtype: bfloat16
|
||||
269444
merges.txt
Normal file
269444
merges.txt
Normal file
File diff suppressed because it is too large
Load Diff
3
model-00001-of-00025.safetensors
Normal file
3
model-00001-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de661552ba7d50f9ea978218fd2acfd130eec117c969ad94608dd87782df6e13
|
||||
size 1342177408
|
||||
3
model-00002-of-00025.safetensors
Normal file
3
model-00002-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:26558fe6c817ba5380327bd504676986bf4cd832f85b63e5e8b181b6fd9b955d
|
||||
size 1342177424
|
||||
3
model-00003-of-00025.safetensors
Normal file
3
model-00003-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8bf9daf2a0b76ad70987251eb250c37dcca2366b93bfe485cefb2c900e453536
|
||||
size 996189888
|
||||
3
model-00004-of-00025.safetensors
Normal file
3
model-00004-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c564c6882b5582325ec3587a384505904742fc80d46b82fcafce38ee7da3f3b3
|
||||
size 933265104
|
||||
3
model-00005-of-00025.safetensors
Normal file
3
model-00005-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1739c1c0217fad027e767dbf3445dfa04c7a9625f12a4afcd9ce4d89ed0f0f07
|
||||
size 943761344
|
||||
3
model-00006-of-00025.safetensors
Normal file
3
model-00006-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae5ac2722aa8118704b398a44ea84cd3da092f58234867955ff4d533108b4ad2
|
||||
size 943761344
|
||||
3
model-00007-of-00025.safetensors
Normal file
3
model-00007-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23d7722c23698c6eb92ba1bbb10d627933eef472f963b84b7e3dbfccb5c111e2
|
||||
size 996179560
|
||||
3
model-00008-of-00025.safetensors
Normal file
3
model-00008-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f15f8e305790f44df373820d4b651a940180a5a4c23d0aa60191f34a6cc01f8d
|
||||
size 933265104
|
||||
3
model-00009-of-00025.safetensors
Normal file
3
model-00009-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d6b64f8454b704139afb42127d107ea9ecc1a15c431c5781c181dde3ec3064b
|
||||
size 943761344
|
||||
3
model-00010-of-00025.safetensors
Normal file
3
model-00010-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:301800e06b4f4a8ab316d479262a83d59cdae2589641025ab8319b92b35e4682
|
||||
size 943761344
|
||||
3
model-00011-of-00025.safetensors
Normal file
3
model-00011-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7dd7d6747dd2cd3dcdc078b9a8a17fbb9399ad050017bffe32c8fde88c42bee3
|
||||
size 996179560
|
||||
3
model-00012-of-00025.safetensors
Normal file
3
model-00012-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8312023cc90ecbe8351d97b63d81ba72ef5f83d81754cb23f25226428c7a9973
|
||||
size 933265104
|
||||
3
model-00013-of-00025.safetensors
Normal file
3
model-00013-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37275b53ae9ceed5e51d189929de9d4084267380ea40b77f6082ad4ed3f10d61
|
||||
size 943761344
|
||||
3
model-00014-of-00025.safetensors
Normal file
3
model-00014-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:892b0c31039a99e046bae4590961fd7fa5c8e7f217a7de64706910f3562bdf3c
|
||||
size 943761344
|
||||
3
model-00015-of-00025.safetensors
Normal file
3
model-00015-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c2e8655a859107752f61ac9874e38dd628874c3269627e3e906ada1043193b0
|
||||
size 996179560
|
||||
3
model-00016-of-00025.safetensors
Normal file
3
model-00016-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:acc0330328ce4b58faacca40158264cacb0f8f763bfc01e31bdac6e4220b7450
|
||||
size 933265096
|
||||
3
model-00017-of-00025.safetensors
Normal file
3
model-00017-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b6c76eee4e35d6442db086f2c3c1b13f79ded07deae472f9d882908e9c65cba
|
||||
size 943761344
|
||||
3
model-00018-of-00025.safetensors
Normal file
3
model-00018-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec7384f3ab18f80601d4903d6c1cc7964516633f587ece6dc5b6f53bcb87e12a
|
||||
size 943761344
|
||||
3
model-00019-of-00025.safetensors
Normal file
3
model-00019-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c48230e2cd61165b2ef0fe626a47251148de2e3c68c6b6764fa57c7add5dd85
|
||||
size 996179560
|
||||
3
model-00020-of-00025.safetensors
Normal file
3
model-00020-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b0b6aeb1fc5380b8bb6103a8ac65db5455e98eaa624ecb65566ef40e00355ff
|
||||
size 933265104
|
||||
3
model-00021-of-00025.safetensors
Normal file
3
model-00021-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4bdff381b94abb3433b16281686c03be0f2005fea51ec5bb72df5f6ce27a079b
|
||||
size 943761344
|
||||
3
model-00022-of-00025.safetensors
Normal file
3
model-00022-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8f9697dac7ac43884a5a6ac5c11c648c5a7bb08e1eb52dee9014e7120460949
|
||||
size 943761336
|
||||
3
model-00023-of-00025.safetensors
Normal file
3
model-00023-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c65a0f3991b7f3a7b9d6e572643f1bd5621803f6fa56f279c5a9fc215306e31d
|
||||
size 996179552
|
||||
3
model-00024-of-00025.safetensors
Normal file
3
model-00024-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37379a82141c9fbd1a11685c9d1c0d31fbfdcc4ef95a833d29723c4c532f024c
|
||||
size 933265088
|
||||
3
model-00025-of-00025.safetensors
Normal file
3
model-00025-of-00025.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f35caa20618e254c999f8456875e3d25e2b91724fd50b16c4e0d4ead05915f00
|
||||
size 796960560
|
||||
1
model.safetensors.index.json
Normal file
1
model.safetensors.index.json
Normal file
File diff suppressed because one or more lines are too long
30
special_tokens_map.json
Normal file
30
special_tokens_map.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"content": "<s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "</s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<pad>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
409625
tokenizer.json
Normal file
409625
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
8015
tokenizer_config.json
Normal file
8015
tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
1
vocab.json
Normal file
1
vocab.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user