likewendy commited on
Commit
3c4cd05
·
1 Parent(s): c48005f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from transformers import AutoModelForCausalLM, AutoTokenizer
5
 
6
  # 定义系统提示语
7
- system_prompt = """You are Skywork-o1, a thinking model developed by Skywork AI, specializing in solving complex problems involving mathematics, coding, and logical reasoning through deep thought. When faced with a user's request, you first engage in a lengthy and in-depth thinking process to explore possible solutions to the problem. After completing your thoughts, you then provide a detailed explanation of the solution process in your response."""
8
 
9
  # 初始化模型和分词器
10
  model_name = "Skywork/Skywork-o1-Open-Llama-3.1-8B"
 
4
  from transformers import AutoModelForCausalLM, AutoTokenizer
5
 
6
  # 定义系统提示语
7
+ system_prompt = """你是 Skywork-o1Skywork AI 开发的思维模型,擅长通过深度思考解决涉及数学、编码和逻辑推理的复杂问题。面对用户请求时,你首先会进行一段漫长而深入的思考过程,探索问题的可能解决方案。完成思考后,你会在回复中详细解释解决过程。"""
8
 
9
  # 初始化模型和分词器
10
  model_name = "Skywork/Skywork-o1-Open-Llama-3.1-8B"