|
--- |
|
license: apache-2.0 |
|
base_model: |
|
- Qwen/QwQ-32B |
|
tags: |
|
- axolotl |
|
- reasoning |
|
- qwen2 |
|
pipeline_tag: text-generation |
|
language: |
|
- en |
|
--- |
|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<title>CardThinker-v3 - 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; |
|
background: #0b0c1d; /* Очень темный сине-черный фон */ |
|
} |
|
.container { |
|
width: 100%; |
|
margin: 0; |
|
/* --- ГРАДИЕНТ В СТИЛЕ НОЧНОГО НЕБА ЛУНЫ --- */ |
|
background: linear-gradient(135deg, #0b0c1d 0%, #1a1a3a 50%, #3a2a5a 100%); /* От темно-синего к индиго и глубокому фиолетовому */ |
|
padding: 30px; |
|
box-sizing: border-box; |
|
color: #e0e0f0; /* Светлый лавандово-серый текст */ |
|
/* --- Серебряная рамка с сине-фиолетовым свечением (Луна/Ночь) --- */ |
|
border: 3px solid #c0c0c0; /* Silver border */ |
|
box-shadow: 0 0 15px 5px rgba(120, 120, 220, 0.6); /* Lavender-blue glow */ |
|
} |
|
h1, h2 { |
|
/* --- Светло-голубой цвет для заголовков (Небо/Звезды) --- */ |
|
color: #ADD8E6; /* LightBlue */ |
|
/* --- Небесно-голубая граница --- */ |
|
border-bottom: 2px solid #87CEEB; /* SkyBlue */ |
|
padding-bottom: 5px; |
|
margin-top: 0; |
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Усиленная тень для читаемости */ |
|
} |
|
/* --- Ссылки серебряные (Луна) --- */ |
|
a { |
|
color: #c0c0c0; /* Silver */ |
|
text-decoration: none; |
|
} |
|
a:hover { |
|
color: #ffffff; /* Белый при наведении */ |
|
text-decoration: underline; |
|
} |
|
/* Ссылка WoonaAi тоже серебряная */ |
|
p a[href*="WoonaAI"] { |
|
color: #c0c0c0; |
|
} |
|
.model-image { |
|
text-align: center; |
|
margin: 25px auto; |
|
max-width: 800px; |
|
} |
|
.model-image img { |
|
width: 100%; |
|
height: auto; |
|
border-radius: 10px; |
|
/* --- Серебряная рамка с сине-фиолетовым свечением --- */ |
|
border: 3px solid #c0c0c0; /* Silver border */ |
|
box-shadow: 0 0 15px 5px rgba(120, 120, 220, 0.6); /* Lavender-blue glow */ |
|
display: block; |
|
} |
|
/* --- Стили таблицы в ночной теме --- */ |
|
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; |
|
color: #e0e0f0; /* Светлый лавандово-серый текст */ |
|
border-bottom: none; |
|
} |
|
tr:last-child td { |
|
border-bottom: none; |
|
} |
|
th { |
|
background-color: transparent; |
|
font-weight: bold; |
|
color: #ADD8E6; /* Светло-голубой для заголовков таблицы */ |
|
text-align: left; |
|
border-bottom: none; |
|
} |
|
tr:hover { |
|
background: none; |
|
} |
|
/* Выделение важного текста в таблице (серебряный) */ |
|
td strong, td u { |
|
color: #c0c0c0; /* Silver for emphasized text */ |
|
} |
|
/* --- Стили для блоков рекомендаций и предупреждений --- */ |
|
.highlight, .warning { |
|
padding: 15px 20px; |
|
margin: 20px 0; |
|
border-radius: 5px; |
|
border-left-width: 5px; |
|
border-left-style: solid; |
|
color: #f0f0f8; /* Еще светлее текст для читаемости в блоках */ |
|
} |
|
.highlight { |
|
/* --- Блок рекомендаций - небесно-голубой --- */ |
|
background: rgba(173, 216, 230, 0.15); /* Semi-transparent LightBlue */ |
|
border-left-color: #87CEEB; /* SkyBlue */ |
|
} |
|
.highlight h3 { |
|
color: #ADD8E6; /* LightBlue heading */ |
|
margin-top: 0; |
|
} |
|
.warning { |
|
/* --- Блок предупреждений - Глубокий ночной синий с серебром --- */ |
|
background: rgba(30, 35, 60, 0.3); /* Полупрозрачный глубокий сине-серый */ |
|
border-left-color: #a0a0c0; /* Приглушенный серебристо-лавандовый */ |
|
color: #e8e8f8; /* Немного более яркий светлый текст */ |
|
padding: 15px 20px; /* Убедимся, что стили ниже переопределяются */ |
|
margin: 20px 0; |
|
border-radius: 5px; |
|
border-left-width: 5px; |
|
border-left-style: solid; |
|
} |
|
.warning h3 { |
|
color: #b0b0d0; /* Светлее серебристо-лавандовый для заголовка */ |
|
margin-top: 0; |
|
} |
|
/* --- Бейджи в сине-стальном стиле --- */ |
|
.badge { |
|
display: inline-block; |
|
padding: 6px 12px; |
|
border-radius: 4px; |
|
/* --- Спокойный синий фон для бейджей --- */ |
|
background: #4682B4; /* SteelBlue */ |
|
/* --- Белый цвет текста для контраста --- */ |
|
color: #ffffff; |
|
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; |
|
color: #c0c0c0; /* Серебряный текст в футере */ |
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); |
|
} |
|
/* Chat Example Styling - Ночная тема */ |
|
.chat-example { |
|
border-radius: 12px; |
|
padding: 20px; |
|
margin: 25px 0; |
|
border: 1px solid #4a4a6a; /* Темная сине-фиолетовая граница */ |
|
} |
|
.message { |
|
margin: 15px 0; |
|
padding: 15px; |
|
border-radius: 8px; |
|
max-width: 80%; |
|
} |
|
.message.user { |
|
background: #283747; /* Темный серо-синий */ |
|
border: 1px solid #5499C7; /* Приглушенный синий */ |
|
margin-left: auto; |
|
} |
|
.message.assistant { |
|
background: #31213F; /* Темный серо-фиолетовый */ |
|
border: 1px solid #8E44AD; /* Приглушенный фиолетовый */ |
|
margin-right: auto; |
|
} |
|
.role { |
|
color: #c0c0c0; /* Серебряный для роли */ |
|
font-weight: bold; |
|
margin-bottom: 8px; |
|
font-size: 0.9em; |
|
} |
|
pre { |
|
background: #1a1a2e; /* Очень темный индиго фон */ |
|
padding: 12px; |
|
border-radius: 6px; |
|
white-space: pre-wrap; |
|
margin: 10px 0; |
|
color: #7FFFD4; /* Aquamarine (похож на цвет глаз Луны) */ |
|
border: 1px solid rgba(127, 255, 212, 0.2); /* Полупрозрачная граница Aquamarine */ |
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; /* Моноширинный шрифт */ |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
<!-- Весь контент остается внутри .container --> |
|
<div class="container"> |
|
<h1>🌙 CardThinker-v3</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/VM_bbwC3y750MnprtxxLm.png" alt="CardProjector Model Visualization"> |
|
</div> |
|
<h2>🚀 Overview</h2> <!-- Heading from second card --> |
|
<!-- Overview content from second card --> |
|
<p>CardThinker is an offshoot of the CardProjector series, but with the possibility of reasoning. CardProjector and CardThinker 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>✨ CardThinker v3 tricks</h2> <!-- Heading changed, emoji kept for style consistency --> |
|
<!-- List content from second card's "What's new" section --> |
|
<ul> |
|
<li>Due to its ability to think - CardThinker V3 32B works through characters much deeper, more thoroughly, and logically.</li> |
|
<li>Because of the peculiarities of the base model QwQ, this model has VERY well-developed creative writing skills (to the extent that I found the most usable temperature range to be 0.1-0.3).</li> |
|
<li>Among the major drawbacks - high positive bias; CardThinker V3 tries to create an ideal friendly character. Even if you write "be sure to come up with negative personality traits" (or something along those lines), it will come up with traits that are too soft and harmless. To create a negative character, you have to fully come up with such traits yourself and then make the model develop them. Because of all this, in my opinion, CardProjector 24B V3 produces more vivid negative characters.</li> |
|
<strong>Use CardThinker if:</strong> |
|
<li>You need a very logical and deeply developed character card.</li> |
|
<li>You need crazy creative ideas.</li> |
|
<li>You need a very good character editor (CardThinker significantly outperforms CardProjector in editing cards and following instructions).</li> |
|
<strong> Use CardProjector if:</strong> |
|
<li>You need balanced, more realistic characters without over-the-top expressiveness, but much simpler and less detailed.</li> |
|
<li>You need high-quality "First Messages" (CardProjector excels at creating dialogue examples for characters).</li> |
|
</ul> |
|
<div class="highlight"> |
|
<h3>💡 Usage Recommendations</h3> <!-- Heading from second card --> |
|
<!-- Content from second card's "Usage recommendations" --> |
|
<p><strong>Reasoning mode</strong>:</p> This model can be used in two modes: <strong>reasoning</strong> and <strong>standard</strong>. The standard mode is enabled by default. However, if you need the advanced reasoning mode with its chain-of-thought capability (I <strong>strongly recommend</strong> using it, as it significantly improves the quality of the generated cards), you must initiate the model's response starting with the following line: |
|
|
|
``` |
|
<think> |
|
Okay, user is |
|
``` |
|
|
|
In <strong>SillyTavern</strong>, you can find this setting under "AI Response Formatting - Start Reply With" and simply paste the line above. |
|
|
|
In <strong>other GUIs</strong> that lack a similar feature, you can try this workaround: |
|
1. Send your request. |
|
2. Receive the first few tokens from the model. |
|
3. Stop the generation. |
|
4. Delete what the model has generated. |
|
5. Manually edit its response by inserting the line `<think>\nOkay, user is` at the very beginning. |
|
6. Prompt the model to continue generating its response from there. |
|
|
|
This alternative method has also worked for me, although it is more cumbersome. |
|
<p><strong>Chat history</strong>: <u>In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content!</u> (From official Qwen QwQ [usage tips](https://huggingface.co/Qwen/QwQ-32B#usage-guidelines))</p> |
|
<p><strong>Chat Template</strong>: ChatML</p> |
|
<p><strong>Balanced output</strong>:<br> |
|
Temperature: 0.1-0.3<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>Ready-to-use SillyTavern preset</strong>: [here](https://huggingface.co/AlexBefest/CardThinker-32B-v3/blob/main/CardThinker-V3.json)</p> |
|
<p><strong>The character creation process</strong>: Based on my tests, I would recommend the following approach. To create a well-developed and structured character, I suggest first asking the model to generate the character in a standard, natural format (meaning you shouldn't request formats like YAML or JSON right away), allowing it to describe the character in plain, understandable text. Then, if needed, ask for any necessary adjustments. Once you're satisfied with the result, request the final version to be converted into YAML format. Why YAML? It's an ideal format for structuring and summarizing a character from your chat story. This format is human-readable, and its clear structure is very well processed by RP models (from my tests, it’s even better in some ways than XML). You can simply copy the entire YAML output and paste it into the Description field in Silly Tavern. Alternatively, you can ask the model to convert the resulting card into JSON while leaving the YAML description untouched. I have found this method of using CardProjector v3 to be the most effective.</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: Qwen/QwQ-32B</span> |
|
<span class="badge">License: Apache-2.0</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> |