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

Model: Jackrong/gpt-oss-120b-Distill-Llama3.1-8B-v1
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-06 21:57:47 +08:00
commit d78547789b
12 changed files with 3383 additions and 0 deletions

12
chat_template.jinja Normal file
View File

@@ -0,0 +1,12 @@
{% set msgs = messages | default([]) -%}
{% set sys = (msgs | selectattr("role","equalto","system") | map(attribute="content") | list) -%}
<|begin_of_text|>
<|start_header_id|>system<|end_header_id|>
{{ (sys|length > 0) and (sys|join('\n\n')) or ('''You are ChatGPT a language model created by OpenAI to help users. Your role as an assistant involves thoroughly exploring questions through a systematic thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Thought and Solution using the specified format: <think> {Thought section} </think> {Solution section}. In the Thought section, detail your reasoning process in steps. Each step should include detailed considerations such as analysing questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Solution section, based on various attempts, explorations, and reflections from the Thought section, systematically present the final solution that you deem correct. The Solution section should be logical, accurate, and concise and detail necessary steps needed to reach the conclusion. Now, try to solve the following question through the above guidelines''') }}
{%- for m in msgs if m['role'] != 'system' -%}
<|start_header_id|>{{ m['role'] }}<|end_header_id|>
{{ m['content'] }}
{%- endfor -%}
{%- if add_generation_prompt -%}
<|start_header_id|>assistant<|end_header_id|>
{%- endif -%}