|
|
--- |
|
|
license: gemma |
|
|
base_model: |
|
|
- google/gemma-3-27b-it |
|
|
tags: |
|
|
- axolotl |
|
|
- gemma |
|
|
- roleplay |
|
|
pipeline_tag: text-generation |
|
|
language: |
|
|
- en |
|
|
--- |
|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<title>CardProjector-v4 - Character Generation Model</title> |
|
|
<link rel="preconnect" href="https://fonts.googleapis.com"> |
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|
|
<link href="https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet"> |
|
|
<style> |
|
|
body { |
|
|
font-family: 'Philosopher', 'Segoe UI', Arial, sans-serif; |
|
|
line-height: 1.6; |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
/* --- Deep Teal/Blue Night Sky Background --- */ |
|
|
background: #0a1829; /* Dark Navy Blue base */ |
|
|
} |
|
|
.container { |
|
|
width: 100%; |
|
|
margin: 0; |
|
|
/* --- Night Sky Gradient from Image (Teal/Cyan focus) --- */ |
|
|
background: linear-gradient(135deg, #0a1829 0%, #0d2c3b 50%, #0e3d4a 100%); /* Dark Navy -> Dark Teal -> Tealish Blue */ |
|
|
padding: 30px; |
|
|
box-sizing: border-box; |
|
|
/* --- Text Color - Light Grey (Pony's Body) --- */ |
|
|
color: #d8d8e0; /* Kept light grey */ |
|
|
/* --- Border & Glow - Softer Gold (Mane Highlight) --- */ |
|
|
border: 3px solid #F0E68C; /* Khaki (Softer Gold) */ |
|
|
box-shadow: 0 0 15px 5px rgba(240, 230, 140, 0.4); /* Softer gold glow */ |
|
|
} |
|
|
h1, h2 { |
|
|
/* --- Headings - Softer Gold (Mane Mid-tone) --- */ |
|
|
color: #EEE8AA; /* PaleGoldenrod */ |
|
|
/* --- Border - Muted Gold/Brown (Mane Shadow) --- */ |
|
|
border-bottom: 2px solid #BDB76B; /* DarkKhaki */ |
|
|
padding-bottom: 5px; |
|
|
margin-top: 0; |
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Shadow for readability */ |
|
|
} |
|
|
/* --- Links - Pale Yellow/Gold (Mane Highlight) --- */ |
|
|
a { |
|
|
color: #FFFACD; /* LemonChiffon */ |
|
|
text-decoration: none; |
|
|
} |
|
|
a:hover { |
|
|
color: #ffffff; /* White on hover */ |
|
|
text-decoration: underline; |
|
|
} |
|
|
/* Specific Link */ |
|
|
p a[href*="WoonaAI"] { |
|
|
color: #FFFACD; /* LemonChiffon */ |
|
|
} |
|
|
.model-image { |
|
|
text-align: center; |
|
|
margin: 25px auto; |
|
|
max-width: 800px; |
|
|
} |
|
|
.model-image img { |
|
|
width: 100%; |
|
|
height: auto; |
|
|
border-radius: 10px; |
|
|
/* --- Image Border & Glow - Softer Gold --- */ |
|
|
border: 3px solid #F0E68C; /* Khaki */ |
|
|
box-shadow: 0 0 15px 5px rgba(240, 230, 140, 0.4); /* Softer gold glow */ |
|
|
display: block; |
|
|
} |
|
|
/* --- Table Styles - Night Theme with Soft Gold/Grey --- */ |
|
|
table { |
|
|
width: 100%; |
|
|
border-collapse: collapse; |
|
|
margin: 25px 0; |
|
|
background: none; |
|
|
border-radius: 0; |
|
|
overflow: visible; |
|
|
border: none; |
|
|
} |
|
|
th, td { |
|
|
padding: 14px 18px; |
|
|
text-align: left; |
|
|
/* --- Table Text - Light Grey --- */ |
|
|
color: #d8d8e0; |
|
|
border-bottom: none; |
|
|
} |
|
|
tr:last-child td { |
|
|
border-bottom: none; |
|
|
} |
|
|
th { |
|
|
background-color: transparent; |
|
|
font-weight: bold; |
|
|
/* --- Table Headers - Softer Gold --- */ |
|
|
color: #EEE8AA; /* PaleGoldenrod */ |
|
|
text-align: left; |
|
|
border-bottom: none; |
|
|
} |
|
|
tr:hover { |
|
|
background: none; |
|
|
} |
|
|
/* Emphasized Table Text - Pale Yellow/Gold */ |
|
|
td strong, td u { |
|
|
color: #FFFACD; /* LemonChiffon */ |
|
|
} |
|
|
/* --- Highlight/Warning Blocks - Teal/Grey Accents --- */ |
|
|
.highlight, .warning { |
|
|
padding: 15px 20px; |
|
|
margin: 20px 0; |
|
|
border-radius: 5px; |
|
|
border-left-width: 5px; |
|
|
border-left-style: solid; |
|
|
color: #f0f0f8; /* Keep slightly lighter text */ |
|
|
} |
|
|
.highlight { |
|
|
/* --- Highlight Block - Teal Accent (Sky) --- */ |
|
|
background: rgba(32, 178, 170, 0.15); /* Semi-transparent LightSeaGreen */ |
|
|
border-left-color: #20B2AA; /* LightSeaGreen */ |
|
|
} |
|
|
.highlight h3 { |
|
|
/* --- Highlight Heading - Brighter Teal --- */ |
|
|
color: #48D1CC; /* MediumTurquoise */ |
|
|
margin-top: 0; |
|
|
} |
|
|
.warning { |
|
|
/* --- Warning Block - Grey Accent (Pony Body) --- */ |
|
|
background: rgba(119, 136, 153, 0.2); /* Semi-transparent LightSlateGray */ |
|
|
border-left-color: #778899; /* LightSlateGray */ |
|
|
color: #e8e8f8; |
|
|
padding: 15px 20px; |
|
|
margin: 20px 0; |
|
|
border-radius: 5px; |
|
|
border-left-width: 5px; |
|
|
border-left-style: solid; |
|
|
} |
|
|
.warning h3 { |
|
|
color: #A0AEC1; /* Lighter Slate Gray */ |
|
|
margin-top: 0; |
|
|
} |
|
|
/* --- Badges - Dark Grey (Pony Body) & Pale Gold Text --- */ |
|
|
.badge { |
|
|
display: inline-block; |
|
|
padding: 6px 12px; |
|
|
border-radius: 4px; |
|
|
/* --- Badge Background - Dark Grey --- */ |
|
|
background: #696969; /* DimGray */ |
|
|
/* --- Badge Text - Pale Yellow/Gold --- */ |
|
|
color: #FFFACD; /* LemonChiffon */ |
|
|
font-weight: bold; |
|
|
margin: 5px; |
|
|
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); |
|
|
} |
|
|
footer { |
|
|
margin-top: 30px; |
|
|
text-align: center; |
|
|
opacity: 0.85; |
|
|
/* --- Footer Text - Light Grey --- */ |
|
|
color: #d8d8e0; |
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); |
|
|
} |
|
|
/* Chat Example Styling - Teal/Gold Theme */ |
|
|
.chat-example { |
|
|
border-radius: 12px; |
|
|
padding: 20px; |
|
|
margin: 25px 0; |
|
|
/* --- Chat Box Border - Dark Teal/Grey --- */ |
|
|
border: 1px solid #2F4F4F; /* DarkSlateGray */ |
|
|
} |
|
|
.message { |
|
|
margin: 15px 0; |
|
|
padding: 15px; |
|
|
border-radius: 8px; |
|
|
max-width: 80%; |
|
|
} |
|
|
.message.user { |
|
|
background: #1A2E38; /* Darker Blue-Teal */ |
|
|
/* --- User Message Border - Muted Gold --- */ |
|
|
border: 1px solid #BDB76B; /* DarkKhaki */ |
|
|
margin-left: auto; |
|
|
} |
|
|
.message.assistant { |
|
|
background: #2A2A3A; /* Dark Grey-Blue */ |
|
|
/* --- Assistant Message Border - Grey --- */ |
|
|
border: 1px solid #778899; /* LightSlateGray */ |
|
|
margin-right: auto; |
|
|
} |
|
|
.role { |
|
|
/* --- Role Text - Pale Yellow/Gold --- */ |
|
|
color: #FFFACD; /* LemonChiffon */ |
|
|
font-weight: bold; |
|
|
margin-bottom: 8px; |
|
|
font-size: 0.9em; |
|
|
} |
|
|
pre { |
|
|
/* --- Code Block Background - Very Dark Navy --- */ |
|
|
background: #0a1829; |
|
|
padding: 12px; |
|
|
border-radius: 6px; |
|
|
white-space: pre-wrap; |
|
|
margin: 10px 0; |
|
|
/* --- Code Text - Pale Yellow/Gold --- */ |
|
|
color: #FFFACD; /* LemonChiffon */ |
|
|
/* --- Code Border - Semi-Transparent Soft Gold --- */ |
|
|
border: 1px solid rgba(240, 230, 140, 0.3); |
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body> |
|
|
<!-- Весь контент остается внутри .container --> |
|
|
<div class="container"> |
|
|
<h1>🎨 CardProjector-v4</h1> <!-- Title from second card --> |
|
|
<p><a href="https://huggingface.co/WoonaAI">WoonaAi</a> presents...</p> <!-- Added author link --> |
|
|
<div class="model-image"> |
|
|
<!-- Image from second card --> |
|
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/6336c5b3e3ac69e6a90581da/O2G9d-EhzpC1dNXA-6UzH.png" alt="CardProjector Model Visualization"> |
|
|
</div> |
|
|
<h2>🚀 Overview</h2> <!-- Heading from second card --> |
|
|
<!-- Overview content from second card --> |
|
|
<p>CardProjector is a specialized series of language models, fine-tuned to generate character cards for <strong>SillyTavern</strong> and <strong>for creating characters in general</strong>. These models are designed to assist creators and roleplayers by automating the process of crafting detailed and well-structured character cards, ensuring compatibility with SillyTavern's format.</p> |
|
|
<h2>🎨 CardProjector v4 tricks</h2> <!-- Heading changed, emoji kept for style consistency --> |
|
|
<!-- List content from second card's "What's new" section --> |
|
|
<ul> |
|
|
<li>Absolute focus on personality development! This version places an absolute emphasis on designing character personalities, focusing on depth and realism. Eight (!) large datasets were collected, oriented towards all aspects of in-depth personality development. Extensive training was also conducted on a dataset of MBTI profiles with Enneagrams from psychology. The model was carefully trained to select the correct personality type according to both the MBTI and Enneagram systems. I highly recommend using these systems (see Usage recommendations); they provide an incredible boost to character realism. I conducted numerous tests with many RP models ranging from 24-70B parameters, and the MBTI profile system significantly impacts the understanding of the character's personality (especially on 70B models), making the role-playing performance much more realistic. You can see an example of a character's MBTI profile <a href="https://www.personality-database.com/profile/7610/muffins-derpy-hooves-ditzy-doo-my-little-pony-friendship-is-magic-2010-mbti-personality-type">here</a>. Currently, version V4 yields the deepest and most realistic characters.</li> |
|
|
<li>Reduced likelihood of positive bias! I collected a large toxic dataset focused on creating and editing aggressive, extremely cruel, and hypersexualized characters, as well as transforming already "good harmless" characters into extremely cruel anti-versions of the original. Thanks to this, it was possible to significantly reduce the overall positive bias (especially in Gemma 3, where it is quite pronounced in its vanilla state), and make the model more balanced and realistic in terms of creating negative characters. It will no longer strive at all costs to create a cute, kind, ideal character, unless specifically asked to do so.</li> |
|
|
<li>Moving to Gemma 3! After a series of experiments, it turned out that this model is ideally suited for the task of character design, as it possesses much more developed creative writing skills and higher general knowledge compared to Mistral 2501 in its vanilla state. Gemma 3 also seemed much more logical than its French competitor.</li> |
|
|
<li>Vision ability! Due to the reason mentioned in the point above, you can freely use vision in this version. If you are using GGUF, you can download the mmproj model for the 27B version from bartowski (a vanilla mmproj will suffice, as I didn't perform vision tuning).</li> |
|
|
<li>The overall quality of character generation has been significantly increased by expanding the dataset approximately 5 times compared to version V3.</li> |
|
|
<li>In version V4, I concentrated only on one model size, 27B. Unfortunately, training multiple models at once is extremely expensive and consumes too much effort and time, so I decided it would be better to direct all my resources into just one model to avoid scattering focus. I hope you understand 🙏</li> |
|
|
</ul> |
|
|
<div class="highlight"> |
|
|
<h3>💡 Usage Recommendations</h3> <!-- Heading from second card --> |
|
|
<!-- Content from second card's "Usage recommendations" --> |
|
|
<p><strong>Chat Template</strong>: Gemma</p> |
|
|
<p><strong>Balanced output</strong>:<br> |
|
|
Temperature: 0.7-0.8<br> |
|
|
Top-P: 0.92<br> |
|
|
Rp.Pen: 1.07<br> |
|
|
Top-K: 100<br> |
|
|
Rep Pen Range: 360<br> |
|
|
Rep Pen Slope: 0.7<br></p> |
|
|
<p><strong>The character creation process recomendations (updated)</strong>: In version V4, I want to recommend a new usage method. I strongly recommend generating characters directly in YAML format, rather than starting with natural text first and then converting it to YAML. Gemma 3 turned out to be much better for this use case; you immediately get ready-made, structured characters described in significant detail (in V3, I advised starting the design specifically with natural text, because Mistral and especially Qwen 2.5 had the problem of overly brief character descriptions when generating them directly in YAML). Also, I strongly recommend using MBTI personality profiles as an add-on to the character card (see the tricks section regarding the MBTI system): first, generate the character card, for example, in YAML format, and when your character is ready, simply ask the model to supplement this work with an MBTI profile and Enneagram, placing it in a separate section within the card.</p> |
|
|
</div> |
|
|
<!-- Add this section after the Usage Recommendations and before the Content Notice --> |
|
|
</details> |
|
|
<!-- Example sections from the second card are omitted as they were empty placeholders --> |
|
|
<!-- Safety section from the second card is replaced by the original warning, which covers similar concerns --> |
|
|
<div class="warning"> |
|
|
<h3>⚠️ Safety</h3> <!-- Kept original heading --> |
|
|
<!-- Kept original warning text, relevant due to tags/example warning in second card --> |
|
|
<p>This model learned on cards for Silly Tavern. I think comments are unnecessary here...</p> |
|
|
</div> |
|
|
<h2>🔧 Technical Specs</h2> <!-- Kept original heading --> |
|
|
<!-- Badges updated with info from second card's metadata --> |
|
|
<p> |
|
|
<span class="badge">Base Model: google/gemma-3-27b-it</span> |
|
|
<span class="badge">License: gemma</span> |
|
|
<span class="badge">Language: English</span> |
|
|
</p> |
|
|
<footer> |
|
|
<p>© 2024 WoonaAI | 🤗 Hosted on Hugging Face</p> <!-- Kept original footer --> |
|
|
</footer> |
|
|
</div> <!-- Конец .container --> |
|
|
</body> |
|
|
</html> |