初始化项目,由ModelHub XC社区提供模型
Model: Kooten/DaringMaid-13B 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
|
||||
43
README.md
Normal file
43
README.md
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
license: cc-by-nc-4.0
|
||||
language:
|
||||
- en
|
||||
pipeline_tag: text-generation
|
||||
---
|
||||
|
||||
# DaringMaid-13B
|
||||
My goal was to make a Noromaid that's smarter and better at following instructions.
|
||||
|
||||
After trying a bunch of different recipes I think this one turned out pretty good
|
||||
|
||||
- I used [sequelbox/DynamicFactor](https://huggingface.co/sequelbox/DynamicFactor) as a base to as its supposed "improve overall knowledge, precise communication, conceptual understanding, and technical skill" over the base llama2.
|
||||
- [NeverSleep/Noromaid](https://huggingface.co/NeverSleep/Noromaid-13b-v0.1.1) of course.
|
||||
- [Undi95/Utopia](https://huggingface.co/Undi95/Utopia-13B) has been recommended again recently and its still really good so in the mixer it goes
|
||||
- I liked [tavtav/Rose](https://huggingface.co/tavtav/Rose-20B) so i threw in a bit of [CalderaAI/Thorns](https://huggingface.co/CalderaAI/13B-Thorns-l2)
|
||||
- There was recently a model that tried to pass itself off as [Gryphe/MythoMax](https://huggingface.co/Gryphe/MythoMax-L2-13b), i made a merge with that model before it was revealed to be MythoMax and it turned out pretty good so i used it.
|
||||
|
||||
The .yml config files for mergekit with the exact merges can be found in the ["Recipe"](https://huggingface.co/Kooten/DaringMaid-13B/tree/main/Recipe) folder in the [fp16 repo](https://huggingface.co/Kooten/DaringMaid-13B)
|
||||
|
||||
# Quants
|
||||
EXL2: [8bpw](https://huggingface.co/Kooten/DaringMaid-13B-8bpw-exl2), [5bpw](https://huggingface.co/Kooten/DaringMaid-13B-5bpw-exl2), [4bpw](https://huggingface.co/Kooten/DaringMaid-13B-4bpw-exl2)
|
||||
|
||||
[GGUF](https://huggingface.co/Kooten/DaringMaid-13B-GGUF):
|
||||
[Q3_K_M](https://huggingface.co/Kooten/DaringMaid-13B-GGUF/blob/main/DaringMaid-13B-Q3_K_M.gguf) - [Q4_K_M](https://huggingface.co/Kooten/DaringMaid-13B-GGUF/blob/main/DaringMaid-13B-Q4_K_M.gguf) - [Q5_K_M](https://huggingface.co/Kooten/DaringMaid-13B-GGUF/blob/main/DaringMaid-13B-Q5_K_M.gguf)
|
||||
|
||||
|
||||
## Prompt template:
|
||||
I have been using Undi/Ikaris SillyTavern presets for Noromaid: [Context](https://files.catbox.moe/ifmhai.json), [Instruct](https://files.catbox.moe/ttw1l9.json).
|
||||
|
||||
### Alpaca:
|
||||
```
|
||||
Below is an instruction that describes a task. Write a response that appropriately completes the request. Do not include descriptions of non-visual qualities such as personality, movements, scents, mental traits, or anything which could not be seen in a still photograph. Do not write in full sentences. Prefix your description with the phrase 'full body portrait,'
|
||||
|
||||
### Instruction:
|
||||
{prompt}
|
||||
|
||||
### Response:
|
||||
|
||||
```
|
||||
|
||||
### Contact
|
||||
Kooten on discord.
|
||||
17
Recipe/DaringMaid-13B-A.yml
Normal file
17
Recipe/DaringMaid-13B-A.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
models:
|
||||
- model: /home/kooten/Merge/DynamicFactor
|
||||
# no parameters necessary for base model
|
||||
- model: /home/kooten/Merge/Noromaid-13b-v0.1.1
|
||||
parameters:
|
||||
density: 0.6
|
||||
weight: [0.5, 0.2, 0.7, 0.3]
|
||||
- model: /home/kooten/Merge/Utopia-13B
|
||||
parameters:
|
||||
density: 0.5
|
||||
weight: [0.2, 0.7, 0.3, 0.6]
|
||||
merge_method: dare_ties
|
||||
base_model: /home/kooten/Merge/DynamicFactor
|
||||
parameters:
|
||||
normalize: true
|
||||
int8_mask: true
|
||||
dtype: float16
|
||||
17
Recipe/DaringMaid-13B-B.yml
Normal file
17
Recipe/DaringMaid-13B-B.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
models:
|
||||
- model: /home/kooten/Merge/DynamicFactor
|
||||
# no parameters necessary for base model
|
||||
- model: /home/kooten/Merge/13B-Thorns-l2
|
||||
parameters:
|
||||
density: 0.6
|
||||
weight: [0.5, 0.2, 0.7, 0.3]
|
||||
- model: /home/kooten/Merge/MythoMax-L2-13b
|
||||
parameters:
|
||||
density: 0.5
|
||||
weight: [0.2, 0.7, 0.3, 0.6]
|
||||
merge_method: dare_ties
|
||||
base_model: /home/kooten/Merge/DynamicFactor
|
||||
parameters:
|
||||
normalize: true
|
||||
int8_mask: true
|
||||
dtype: float16
|
||||
16
Recipe/DaringMaid-13B-Final.yml
Normal file
16
Recipe/DaringMaid-13B-Final.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
slices:
|
||||
- sources:
|
||||
- model: /mnt/Tank/DaringMaid/Parts/DaringMaid-13B-A
|
||||
layer_range: [0, 40]
|
||||
- model: /mnt/Tank/DaringMaid/Parts/DaringMaid-13B-B
|
||||
layer_range: [0, 40]
|
||||
merge_method: slerp
|
||||
base_model: /mnt/Tank/DaringMaid/Parts/DaringMaid-13B-A
|
||||
parameters:
|
||||
t:
|
||||
- filter: self_attn
|
||||
value: 0.5
|
||||
- filter: mlp
|
||||
value: 0.5
|
||||
- value: 0.5 # fallback for rest of tensors
|
||||
dtype: float16
|
||||
27
config.json
Normal file
27
config.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"_name_or_path": "/mnt/Tank/DaringMaid/Parts/DaringMaid-13B-A",
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"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": 40,
|
||||
"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.35.2",
|
||||
"use_cache": false,
|
||||
"vocab_size": 32000
|
||||
}
|
||||
3
model-00001-of-00003.safetensors
Normal file
3
model-00001-of-00003.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:163bbfe5144cc9af8a6023f6d7d74f711544710457bd527413a864aeaa4dc80a
|
||||
size 9985398280
|
||||
3
model-00002-of-00003.safetensors
Normal file
3
model-00002-of-00003.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10775e48ebf9b3dc328689516e529fb72eeaf724f159b80a7b3658a202cab415
|
||||
size 9814994664
|
||||
3
model-00003-of-00003.safetensors
Normal file
3
model-00003-of-00003.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0a0d2d321778501394bd7c6130e9c81d73035cb24d967dbdb4fc5e34b27c7d3
|
||||
size 6231377608
|
||||
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": "</s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
93396
tokenizer.json
Normal file
93396
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
|
||||
43
tokenizer_config.json
Normal file
43
tokenizer_config.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"added_tokens_decoder": {
|
||||
"0": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"1": {
|
||||
"content": "<s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"2": {
|
||||
"content": "</s>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"bos_token": "<s>",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "</s>",
|
||||
"legacy": false,
|
||||
"max_length": 2048,
|
||||
"model_max_length": 2048,
|
||||
"pad_token": "</s>",
|
||||
"padding_side": "right",
|
||||
"sp_model_kwargs": {},
|
||||
"stride": 0,
|
||||
"tokenizer_class": "LlamaTokenizer",
|
||||
"truncation_side": "right",
|
||||
"truncation_strategy": "longest_first",
|
||||
"unk_token": "<unk>",
|
||||
"use_default_system_prompt": false
|
||||
}
|
||||
Reference in New Issue
Block a user