duyntnet commited on
Commit
d21e6ff
·
verified ·
1 Parent(s): 10722eb

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +150 -0
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ pipeline_tag: text-generation
6
+ inference: false
7
+ tags:
8
+ - transformers
9
+ - gguf
10
+ - imatrix
11
+ - MN-12B-Mag-Mell-R1
12
+ ---
13
+ Quantizations of https://huggingface.co/inflatebot/MN-12B-Mag-Mell-R1
14
+
15
+
16
+ ### Open source inference clients/UIs
17
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp)
18
+ * [KoboldCPP](https://github.com/LostRuins/koboldcpp)
19
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
20
+ * [ollama](https://github.com/ollama/ollama)
21
+ * [jan](https://github.com/janhq/jan)
22
+ * [GPT4All](https://github.com/nomic-ai/gpt4all)
23
+
24
+ ### Closed source inference clients/UIs
25
+ * [LM Studio](https://lmstudio.ai/)
26
+ * [Backyard AI](https://backyard.ai/)
27
+ * More will be added...
28
+ ---
29
+
30
+ # From original readme
31
+
32
+ NOTE for newer users: "R1" here means "Revision 1". This model predates DeepSeek's R1; DeepSeek inadvertently made using this versioning scheme very annoying!
33
+
34
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
35
+
36
+ ## Usage Details
37
+
38
+ ### Sampler Settings
39
+ Mag Mell R1 was tested with Temp 1.25 and MinP 0.2. This was fairly stable up to 10K, but this might be too "hot".
40
+ If issues with coherency occur, try *in*creasing MinP or *de*creasing Temperature.
41
+
42
+ Other samplers shouldn't be necessary. XTC was shown to break outputs. DRY should be okay if used sparingly. Other penalty-type samplers should probably be avoided.
43
+
44
+ ### Formatting
45
+ The base model for Mag Mell is [Mistral-Nemo-Base-2407-chatml](https://huggingface.co/IntervitensInc/Mistral-Nemo-Base-2407-chatml), and as such ChatML formatting is recommended.
46
+
47
+ Early testing versions had a tendency to leak tokens, but this should be more or less hammered out. It recently (12-18-2024) came to attention that Cache Quantization may either cause or exacerbate this issue.
48
+
49
+ ## Merge Details
50
+ Mag Mell is a multi-stage merge, Inspired by hyper-merges like [Tiefighter](https://huggingface.co/KoboldAI/LLaMA2-13B-Tiefighter) and [Umbral Mind.](https://huggingface.co/Casual-Autopsy/L3-Umbral-Mind-RP-v2.0-8B)
51
+ Intended to be a general purpose "Best of Nemo" model for any fictional, creative use case.
52
+
53
+ 6 models were chosen based on 3 categories; they were then paired up and merged via layer-weighted SLERP to create intermediate "specialists" which are then evaluated in their domain.
54
+ The specialists were then merged into the base via DARE-TIES, with hyperparameters chosen to reduce interference caused by the overlap of the three domains.
55
+ The idea with this approach is to extract the best qualities of each component part, and produce models whose task vectors represent more than the sum of their parts.
56
+
57
+ The three specialists are as follows:
58
+
59
+ - Hero (RP, kink/trope coverage): [Chronos Gold](https://huggingface.co/elinas/Chronos-Gold-12B-1.0), [Sunrose](https://huggingface.co/Fizzarolli/MN-12b-Sunrose).
60
+
61
+ - Monk (Intelligence, groundedness): [Bophades](https://huggingface.co/nbeerbower/mistral-nemo-bophades-12B), [Wissenschaft](https://huggingface.co/nbeerbower/mistral-nemo-wissenschaft-12B).
62
+
63
+ - Deity (Prose, flair): [Gutenberg v4](https://huggingface.co/nbeerbower/mistral-nemo-gutenberg-12B-v4), [Magnum 2.5 KTO](https://huggingface.co/anthracite-org/magnum-v2.5-12b-kto).
64
+
65
+ I've been dreaming about this merge since Nemo tunes started coming out in earnest. From our testing, Mag Mell demonstrates worldbuilding capabilities unlike any model in its class, comparable to old adventuring models like Tiefighter, and prose that exhibits minimal "slop" (not bad for no finetuning,) frequently devising electrifying metaphors that left us consistently astonished.
66
+
67
+ I don't want to toot my own bugle though; I'm really proud of how this came out, but please leave your feedback, good or bad.
68
+
69
+ Special thanks as usual to Toaster for his feedback and Fizz for helping fund compute, as well as the KoboldAI Discord for their resources.
70
+
71
+ ### Merge Method
72
+
73
+ This model was merged using the [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) merge method using [IntervitensInc/Mistral-Nemo-Base-2407-chatml](https://huggingface.co/IntervitensInc/Mistral-Nemo-Base-2407-chatml) as a base.
74
+
75
+ ### Models Merged
76
+
77
+ The following models were included in the merge:
78
+ * IntervitensInc/Mistral-Nemo-Base-2407-chatml
79
+ * nbeerbower/mistral-nemo-bophades-12B
80
+ * nbeerbower/mistral-nemo-wissenschaft-12B
81
+ * elinas/Chronos-Gold-12B-1.0
82
+ * Fizzarolli/MN-12b-Sunrose
83
+ * nbeerbower/mistral-nemo-gutenberg-12B-v4
84
+ * anthracite-org/magnum-12b-v2.5-kto
85
+
86
+ ### Configuration
87
+
88
+ The following YAML configurations were used to produce this model:
89
+
90
+ #### Monk:
91
+ ```yaml
92
+ models:
93
+ - model: nbeerbower/mistral-nemo-bophades-12B
94
+ - model: nbeerbower/mistral-nemo-wissenschaft-12B
95
+ merge_method: slerp
96
+ base_model: nbeerbower/mistral-nemo-bophades-12B
97
+ parameters:
98
+ t: [0.1, 0.2, 0.4, 0.6, 0.6, 0.4, 0.2, 0.1]
99
+ dtype: bfloat16
100
+ tokenizer_source: base
101
+ ```
102
+
103
+ #### Hero:
104
+ ```yaml
105
+ models:
106
+ - model: elinas/Chronos-Gold-12B-1.0
107
+ - model: Fizzarolli/MN-12b-Sunrose
108
+ merge_method: slerp
109
+ base_model: elinas/Chronos-Gold-12B-1.0
110
+ parameters:
111
+ t: [0.1, 0.2, 0.4, 0.6, 0.6, 0.4, 0.2, 0.1]
112
+ dtype: bfloat16
113
+ tokenizer_source: base
114
+ ```
115
+
116
+ #### Deity:
117
+ ```yaml
118
+ models:
119
+ - model: nbeerbower/mistral-nemo-gutenberg-12B-v4
120
+ - model: anthracite-org/magnum-12b-v2.5-kto
121
+ merge_method: slerp
122
+ base_model: nbeerbower/mistral-nemo-gutenberg-12B-v4
123
+ parameters:
124
+ t: [0, 0.1, 0.2, 0.25, 0.25, 0.2, 0.1, 0]
125
+ dtype: bfloat16
126
+ tokenizer_source: base
127
+ ```
128
+
129
+ #### Mag Mell:
130
+ ```yaml
131
+ models:
132
+ - model: monk
133
+ parameters:
134
+ density: 0.7
135
+ weight: 0.5
136
+ - model: hero
137
+ parameters:
138
+ density: 0.9
139
+ weight: 1
140
+ - model: deity
141
+ parameters:
142
+ density: 0.5
143
+ weight: 0.7
144
+ merge_method: dare_ties
145
+ base_model: IntervitensInc/Mistral-Nemo-Base-2407-chatml
146
+ tokenizer_source: base
147
+ ```
148
+
149
+
150
+ `In Irish mythology, Mag Mell (modern spelling: Magh Meall, meaning 'delightful plain') is one of the names for the Celtic Otherworld, a mythical realm achievable through death and/or glory... Never explicitly stated in any surviving mythological account to be an afterlife; rather, it is usually portrayed as a paradise populated by deities, which is occasionally visited by some adventurous mortals. In its island guise, it was visited by various legendary Irish heroes and monks, forming the basis of the adventure myth or echtrae...`