初始化项目,由ModelHub XC社区提供模型

Model: Pageshift-Entertainment/pagestorm-research-preview-24b-first-chapter-only
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-11-01 05:00:18 +08:00
commit 5bf151128c
45 changed files with 16816 additions and 0 deletions

23
chat_template.jinja Normal file
View File

@@ -0,0 +1,23 @@
{% for message in messages %}{% set role = message['role'] %}{% set content = message['content'] | default('', true) %}{% if role == 'prompt' %}<|start_header_id|>prompt<|stop_header_id|>
{% elif role == 'book_preview' %}<|start_header_id|>book_preview<|stop_header_id|>
{% elif role == 'book_plan' %}<|start_header_id|>book_plan<|stop_header_id|>
{% elif role == 'first_chapter_plan' %}<|start_header_id|>first_chapter_plan<|stop_header_id|>
{% elif role == 'first_chapter_scene_breakdown' %}<|start_header_id|>first_chapter_scene_breakdown<|stop_header_id|>
{% elif role == 'first_chapter_text' %}<|start_header_id|>first_chapter_text<|stop_header_id|>
{% elif role == 'full_book_chapters_plan' %}<|start_header_id|>full_book_chapters_plan<|stop_header_id|>
{% elif role == 'book_characters_list' %}<|start_header_id|>book_characters_list<|stop_header_id|>
{% elif role == 'scene_breakdown' %}<|start_header_id|>scene_breakdown<|stop_header_id|>
{% elif role == 'chapter_text' %}<|start_header_id|>chapter_text<|stop_header_id|>
{% else %}<|start_header_id|>{{ role }}<|stop_header_id|>
{% endif %}{{ content }}{% if not loop.last or content %}<|eot_id|>{% endif %}{% endfor %}