File size: 9,427 Bytes
5b41646
 
5d0f723
 
 
 
 
 
 
 
5b41646
5d0f723
5b41646
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8109bfa
5b41646
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
---
datasets:
- PocketDoc/Dans-Personamaxx-Logs
- anthracite-org/kalo-opus-instruct-22k-no-refusal
- lodrick-the-lafted/kalo-opus-instruct-3k-filtered
- anthracite-org/nopm_claude_writing_fixed
- anthracite-org/kalo_opus_misc_240827
- anthracite-org/kalo_misc_part2
- NewEden/Claude-Instruct-5K
- NewEden/Claude-Instruct-2.7K
base_model:
- NewEden/MistralAI-Nemo-Instruct-ChatML
tags:
- roleplay
- storywriting
- axolotl
- text-generation-inference
- finetune
---
<!DOCTYPE html>
<html>
<head>
    <style>
:root {
    --primary: #6e2d8e;
    --secondary: #9a4dca;
    --accent: #b388ff;
    --bg: #121212;
    --card-bg: #1e1e2e;
    --text: #e0e0e0;
    --highlight: #bb86fc;
    --code-bg: #1a0a2a;
    --code-border: #6a1b9a;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-image: radial-gradient(circle at 25% 25%, rgba(110, 45, 142, 0.1) 0%, transparent 50%);
}
.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    background: linear-gradient(90deg, transparent, rgba(110, 45, 142, 0.3), transparent);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
}
h1 {
    color: var(--highlight);
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.5);
}
.tagline {
    font-style: italic;
    color: var(--secondary);
    text-shadow: 0 0 5px rgba(154, 77, 202, 0.3);
}
.model-img {
    border-radius: 10px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 25px rgba(179, 136, 255, 0.4);
    max-width: 100%;
    height: auto;
    transition: transform 0.3s, box-shadow 0.3s;
}
.model-img:hover {
    transform: scale(1.01);
    box-shadow: 0 0 35px rgba(179, 136, 255, 0.6);
}
.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(110, 45, 142, 0.2);
    border-left: 3px solid var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 45, 142, 0.3);
}
h2 {
    color: var(--highlight);
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 5px;
    margin-top: 0;
}
h3 {
    color: var(--accent);
    margin-bottom: 10px;
}
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--highlight);
    text-decoration: underline;
}
code {
    background-color: var(--code-bg);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent);
    border: 1px solid var(--code-border);
}
pre {
    background-color: var(--code-bg);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    border-left: 3px solid var(--accent);
    color: var(--accent);
    font-family: 'Courier New', Courier, monospace;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.badge-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.badge {
    transition: transform 0.3s;
    filter: drop-shadow(0 0 5px rgba(179, 136, 255, 0.5));
}
.badge:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(179, 136, 255, 0.7));
}
.details {
    background-color: var(--code-bg);
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--code-border);
}
.details summary {
    cursor: pointer;
    font-weight: bold;
    color: var(--accent);
    transition: color 0.3s;
}
.details summary:hover {
    color: var(--highlight);
}
.quant-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.quant-link {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(110, 45, 142, 0.3);
}
.quant-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 45, 142, 0.5);
    color: white;
}
.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: var(--secondary);
    padding-top: 20px;
    border-top: 1px solid rgba(154, 77, 202, 0.3);
}
ul {
    padding-left: 20px;
}
li {
    margin-bottom: 8px;
}
img {
    max-width: 100%;
    height: auto;
}
    </style>
</head>
<body>
    <div class="header">
        <h1>Rei-12B</h1>
        <p class="tagline">Another prototype Magnum... (This time with Weird loss function(that ruins VRAM usage!!!)!)</p>
        <img src="https://cdn-uploads.huggingface.co/production/uploads/66c26b6fb01b19d8c3c2467b/nqMkoIsmScaTFHCFirGsc.png" alt="Rei Model" class="model-img" width="500px">
    </div>
    <div class="card">
        <h2>✨ Overview</h2>
        <p>A Model meant to replicate the style of Claude models Opus and Sonnet, Taking the previous Rei-12B and training it with a Custom Subseqence Loss function.</p>
        <p>Fine-tuned on top of <a href="https://huggingface.co/NewEden/MistralAI-Nemo-Instruct-ChatML" style="color: var(--accent);">Mistral-Nemo-Instruct (ChatML'ified)</a></p>
    </div>
    <div class="card">
        <h2>📥 Quantized Models</h2>
        <div class="quant-links">
            <a href="https://huggingface.co/mradermacher/Rei-12B-V3-Base-GGUF" class="">GGUF Quant</a>
        </div>
    </div>
    <div class="card">
        <h2>💬 Prompt Format</h2>
        <p>Rei-12B uses the ChatML format. A typical conversation should be structured as:</p>
        <pre><code>&lt;|im_start|>user
Hi there!&lt;|im_end|>
&lt;|im_start|>assistant
Nice to meet you!&lt;|im_end|>
&lt;|im_start|>user
Can I ask a question?&lt;|im_end|>
&lt;|im_start|>assistant</code></pre>
        <h3>Recommended System Prompt</h3>
        <div class="details">
            <details>
                <summary>View Euryale System Prompt</summary>
                <p>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>.</p>
            </details>
        </div>
    </div>
    <div class="card">
        <h2>⚙️ Training</h2>
        <h3>Hparams</h3>
        <ul>
            <li>normal training cares about reducing overall error for the full context, but late context is easier to reduce and most tokens are not early tokensm, A mod to the loss function cares about reducing error for all context lengths, which leads to more emphasis on improving early context performance</li>
            <li>You can find the modeling mod here: https://huggingface.co/datasets/Delta-Vector/Configs/blob/main/modeling_mistral.py</li>
        </ul>
        <h3>Configuration</h3>
        <div class="details">
            <details>
                <summary>View Axolotl Config(Same config as the Previous Rei)</summary>
                <p>https://wandb.ai/new-eden/Rei-V2/artifacts/axolotl-config/config-7hvbucx9/v0/files/axolotl_config_pw8f0c6u.yml</p>
            </details>
        </div>
        <p>The model was trained for 1 epochs on 8x <a href="https://www.nvidia.com/en-us/data-center/h100/" style="color: var(--accent);">NVIDIA H100s</a> GPUs generously provided by @Kalomaze</p>
        <div class="badge-container">
            <a href="https://github.com/OpenAccess-AI-Collective/axolotl">
                <img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" class="badge">
            </a>
        </div>
    </div>
    <div class="card">
        <h2>⚠️ Credits</h2>
        <p><em>
I'd like to thank, Ruka/Sama twinkman | LucyKnada | Kubernetes Bad | PocketDoc | Tav | Trappu | Alicat | And the rest of Anthracite/Pygmalion for testing, feedback, and support.
</em></p>
    </div>
    <div class="footer">
        <p>Rei-12B | V3</p>
    </div>
</body>
</html>