初始化项目,由ModelHub XC社区提供模型
Model: Undi95/MLewd-ReMM-L2-Chat-20B-Inverted 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
|
||||
130
README.md
Normal file
130
README.md
Normal file
@@ -0,0 +1,130 @@
|
||||
---
|
||||
license: cc-by-nc-4.0
|
||||
tags:
|
||||
- not-for-all-audiences
|
||||
- nsfw
|
||||
---
|
||||
|
||||
First :
|
||||
```shell
|
||||
layer_slices:
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 0
|
||||
end: 16
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 8
|
||||
end: 20
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 17
|
||||
end: 32
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 21
|
||||
end: 40
|
||||
```
|
||||
|
||||
Inverted:
|
||||
```shell
|
||||
layer_slices:
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 0
|
||||
end: 16
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 8
|
||||
end: 20
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 17
|
||||
end: 32
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 21
|
||||
end: 40
|
||||
```
|
||||
|
||||
Precise:
|
||||
```shell
|
||||
layer_slices:
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 0
|
||||
end: 8
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 4
|
||||
end: 12
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 9
|
||||
end: 16
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 13
|
||||
end: 22
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 17
|
||||
end: 24
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 23
|
||||
end: 32
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 25
|
||||
end: 32
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 33
|
||||
end: 40
|
||||
```
|
||||
|
||||
PreciseInverted:
|
||||
```shell
|
||||
layer_slices:
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 0
|
||||
end: 8
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 4
|
||||
end: 12
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 9
|
||||
end: 16
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 13
|
||||
end: 22
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 17
|
||||
end: 24
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 23
|
||||
end: 32
|
||||
- model: Undi95/MLewd-ReMM-L2-Chat-20B-Part1
|
||||
start: 25
|
||||
end: 32
|
||||
- model: Undi95/MLewd-L2-Chat-13B
|
||||
start: 33
|
||||
end: 40
|
||||
```
|
||||
|
||||
Part1 = ReMM v2.1 merged /w MLewd low weight to keep consistency. I call this "dilution" and result show consistency and coherency without repeat/loop beside the small amount of duplicated datas.
|
||||
|
||||
The goal is to find the best way to interlace layers the best way possible to have a sweetspot between 13B and +30B.
|
||||
|
||||
Normal/Inverted is by chunk of 16 layers and Precise/PreciseInverted is by chunk of 8 layers.
|
||||
|
||||
All the models are made of 64(+1) layers. Need testing.
|
||||
|
||||
## Prompt template: Alpaca
|
||||
|
||||
```
|
||||
Below is an instruction that describes a task. Write a response that completes the request.
|
||||
|
||||
### Instruction:
|
||||
{prompt}
|
||||
|
||||
### Response:
|
||||
```
|
||||
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
||||
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Undi95__MLewd-ReMM-L2-Chat-20B-Inverted)
|
||||
|
||||
| Metric | Value |
|
||||
|-----------------------|---------------------------|
|
||||
| Avg. | 50.81 |
|
||||
| ARC (25-shot) | 61.69 |
|
||||
| HellaSwag (10-shot) | 85.32 |
|
||||
| MMLU (5-shot) | 58.0 |
|
||||
| TruthfulQA (0-shot) | 53.77 |
|
||||
| Winogrande (5-shot) | 75.61 |
|
||||
| GSM8K (5-shot) | 9.1 |
|
||||
| DROP (3-shot) | 12.16 |
|
||||
26
config.json
Normal file
26
config.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"_name_or_path": "Undi95/MLewd-L2-Chat-13B",
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": 2,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 5120,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 13824,
|
||||
"max_position_embeddings": 4096,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 40,
|
||||
"num_hidden_layers": 62,
|
||||
"num_key_value_heads": 40,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_scaling": null,
|
||||
"rope_theta": 10000.0,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "float16",
|
||||
"transformers_version": "4.33.2",
|
||||
"use_cache": true,
|
||||
"vocab_size": 32000
|
||||
}
|
||||
3
model-00001-of-00005.safetensors
Normal file
3
model-00001-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffc1a67ab6e7fc4e8768e7b1b2cc2722264f97931c14707a8d4fa0d01c734b75
|
||||
size 10313078440
|
||||
3
model-00002-of-00005.safetensors
Normal file
3
model-00002-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e026880e174e09dda9afdabdbdbea8dbc93a7715b25a54e1364c8f145398f140
|
||||
size 9956562936
|
||||
3
model-00003-of-00005.safetensors
Normal file
3
model-00003-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39c8eb8c6c136f92a954a8e9ba889063fcd255b6b7748f3cbe27f86250f64e96
|
||||
size 9993273392
|
||||
3
model-00004-of-00005.safetensors
Normal file
3
model-00004-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca91ec49c29a695395de4aa1da8e99ed5ba6b202e075a5a5f040c3f6a55c8864
|
||||
size 9725876032
|
||||
3
model-00005-of-00005.safetensors
Normal file
3
model-00005-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a31fffa8dc5ca19c8800f23d9303c0c14c2490f965713e278df25983cb50c8b
|
||||
size 327680128
|
||||
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
23
special_tokens_map.json
Normal file
23
special_tokens_map.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
93391
tokenizer.json
Normal file
93391
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
3
tokenizer.model
Normal file
3
tokenizer.model
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
||||
size 499723
|
||||
34
tokenizer_config.json
Normal file
34
tokenizer_config.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"__type": "AddedToken",
|
||||
"content": "<s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": {
|
||||
"__type": "AddedToken",
|
||||
"content": "</s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"legacy": false,
|
||||
"model_max_length": 1000000000000000019884624838656,
|
||||
"pad_token": null,
|
||||
"padding_side": "right",
|
||||
"sp_model_kwargs": {},
|
||||
"tokenizer_class": "LlamaTokenizer",
|
||||
"unk_token": {
|
||||
"__type": "AddedToken",
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"use_default_system_prompt": true
|
||||
}
|
||||
Reference in New Issue
Block a user