|
--- |
|
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><|im_start|>user |
|
Hi there!<|im_end|> |
|
<|im_start|>assistant |
|
Nice to meet you!<|im_end|> |
|
<|im_start|>user |
|
Can I ask a question?<|im_end|> |
|
<|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> |