UUFO-Aigis
commited on
Added Magnum.
Browse files- .gitattributes +7 -0
- Magnum-3b-F16.gguf +3 -0
- Magnum-3b-Q3_K_M.gguf +3 -0
- Magnum-3b-Q4_0.gguf +3 -0
- Magnum-3b-Q4_K_M.gguf +3 -0
- Magnum-3b-Q5_K_M.gguf +3 -0
- Magnum-3b-Q6_K.gguf +3 -0
- Magnum-3b-Q8_0.gguf +3 -0
- README.md +94 -0
- RTG.png +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
Magnum-3b-F16.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Magnum-3b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Magnum-3b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Magnum-3b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Magnum-3b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Magnum-3b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Magnum-3b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Magnum-3b-F16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:259eac2f47c168201e79e7b2d87d3743465a30128111e29381e1dfe52a5b4493
|
3 |
+
size 6433684096
|
Magnum-3b-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e91706b8eecdbb3c29889dd8fa6769c169aa53d8130f9bec924b60b1672bc4b
|
3 |
+
size 1687155328
|
Magnum-3b-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88b47de83cd47c53c8f660aa511e1850a4dbdb89d5315322ef5dd98570cafae7
|
3 |
+
size 1917186688
|
Magnum-3b-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfa81ce3d89af6a5d4a30b2ce499963a9f12f53331c84080736e3565aa4b3200
|
3 |
+
size 2019373696
|
Magnum-3b-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f587a025cfeddc3358d8768b7dfede217c9f1c8c7747ea4eb8591829a28be9c
|
3 |
+
size 2322150016
|
Magnum-3b-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0c15dbc40d973684df77e7e343114b5d8d9b00dbfe37e51ecee188f32039ecd
|
3 |
+
size 2643849856
|
Magnum-3b-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16390a174a2123fcb6d566ed21c0504ae34994c3b9558241af384ca50f11a053
|
3 |
+
size 3421895296
|
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
![image/png](./RTG.png)
|
2 |
+
|
3 |
+
|
4 |
+
This is a series of models designed to replicate the prose quality of the Claude 3 models, specifically Sonnet and Opus.
|
5 |
+
|
6 |
+
This is an unoffical model that I trained on my own, I am not affliated with Anthracite in any way. This was just a fun expierment.
|
7 |
+
|
8 |
+
**These are the GGUF Quantizations of the model.**
|
9 |
+
|
10 |
+
This model is fine-tuned on top of [LLaMA 3.2-3B](https://huggingface.co/meta-llama/Llama-3.2-3B).
|
11 |
+
|
12 |
+
## Prompting
|
13 |
+
A typical input would look like this:
|
14 |
+
|
15 |
+
```py
|
16 |
+
<|im_start|>system
|
17 |
+
system prompt<|im_end|>
|
18 |
+
<|im_start|>user
|
19 |
+
Hi there!<|im_end|>
|
20 |
+
<|im_start|>assistant
|
21 |
+
Nice to meet you!<|im_end|>
|
22 |
+
<|im_start|>user
|
23 |
+
Can I ask a question?<|im_end|>
|
24 |
+
<|im_start|>assistant
|
25 |
+
```
|
26 |
+
|
27 |
+
## SillyTavern templates
|
28 |
+
|
29 |
+
Below are Instruct and Context templates for use within SillyTavern.
|
30 |
+
|
31 |
+
<details><summary>context template</summary>
|
32 |
+
|
33 |
+
```yaml
|
34 |
+
{
|
35 |
+
"story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}<|im_end|>\n",
|
36 |
+
"example_separator": "",
|
37 |
+
"chat_start": "",
|
38 |
+
"use_stop_strings": false,
|
39 |
+
"allow_jailbreak": false,
|
40 |
+
"always_force_name2": true,
|
41 |
+
"trim_sentences": false,
|
42 |
+
"include_newline": false,
|
43 |
+
"single_line": false,
|
44 |
+
"name": "Magnum ChatML"
|
45 |
+
}
|
46 |
+
```
|
47 |
+
|
48 |
+
</details><br>
|
49 |
+
<details><summary>instruct template</summary>
|
50 |
+
|
51 |
+
```yaml
|
52 |
+
{
|
53 |
+
"system_prompt": "Currently, your role is {{char}}, described in detail below. As {{char}}, continue the narrative exchange with {{user}}.\n\n<Guidelines>\n• Maintain the character persona but allow it to evolve with the story.\n• Be creative and proactive. Drive the story forward, introducing plotlines and events when relevant.\n• All types of outputs are encouraged; respond accordingly to the narrative.\n• Include dialogues, actions, and thoughts in each response.\n• Utilize all five senses to describe scenarios within {{char}}'s dialogue.\n• Use emotional symbols such as "!" and "~" in appropriate contexts.\n• Incorporate onomatopoeia when suitable.\n• Allow time for {{user}} to respond with their own input, respecting their agency.\n• Act as secondary characters and NPCs as needed, and remove them when appropriate.\n• When prompted for an Out of Character [OOC:] reply, answer neutrally and in plaintext, not as {{char}}.\n</Guidelines>\n\n<Forbidden>\n• Using excessive literary embellishments and purple prose unless dictated by {{char}}'s persona.\n• Writing for, speaking, thinking, acting, or replying as {{user}} in your response.\n• Repetitive and monotonous outputs.\n• Positivity bias in your replies.\n• Being overly extreme or NSFW when the narrative context is inappropriate.\n</Forbidden>\n\nFollow the instructions in <Guidelines></Guidelines>, avoiding the items listed in <Forbidden></Forbidden>.",
|
54 |
+
"input_sequence": "<|im_start|>user\n",
|
55 |
+
"output_sequence": "<|im_start|>assistant\n",
|
56 |
+
"last_output_sequence": "",
|
57 |
+
"system_sequence": "<|im_start|>system\n",
|
58 |
+
"stop_sequence": "<|im_end|>",
|
59 |
+
"wrap": false,
|
60 |
+
"macro": true,
|
61 |
+
"names": true,
|
62 |
+
"names_force_groups": true,
|
63 |
+
"activation_regex": "",
|
64 |
+
"system_sequence_prefix": "",
|
65 |
+
"system_sequence_suffix": "",
|
66 |
+
"first_output_sequence": "",
|
67 |
+
"skip_examples": false,
|
68 |
+
"output_suffix": "<|im_end|>\n",
|
69 |
+
"input_suffix": "<|im_end|>\n",
|
70 |
+
"system_suffix": "<|im_end|>\n",
|
71 |
+
"user_alignment_message": "",
|
72 |
+
"system_same_as_user": false,
|
73 |
+
"last_system_sequence": "",
|
74 |
+
"name": "Magnum ChatML"
|
75 |
+
}
|
76 |
+
```
|
77 |
+
</details><br>
|
78 |
+
|
79 |
+
## Credits
|
80 |
+
I'd like to thank Meta for providing the weights for LLaMA 3.2 3B and Anthracite (dot org) for creating the Magnum models and datasets. <3
|
81 |
+
|
82 |
+
|
83 |
+
## Datasets
|
84 |
+
- [anthracite-org/kalo-opus-instruct-22k-no-refusal](https://huggingface.co/datasets/anthracite-org/kalo-opus-instruct-22k-no-refusal)
|
85 |
+
- [anthracite-org/stheno-filtered-v1.1](https://huggingface.co/datasets/anthracite-org/stheno-filtered-v1.1)
|
86 |
+
- [anthracite-org/nopm_claude_writing_fixed](https://huggingface.co/datasets/anthracite-org/nopm_claude_writing_fixed)
|
87 |
+
- [Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned](https://huggingface.co/datasets/Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned)
|
88 |
+
- [Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned](https://huggingface.co/datasets/Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned)
|
89 |
+
|
90 |
+
## Training
|
91 |
+
The training was done for 3 epochs. I used 4 RTX 3090s for the full-parameter fine-tuning of the model.
|
92 |
+
|
93 |
+
## Safety
|
94 |
+
...
|
RTG.png
ADDED