BytArch commited on
Commit
461dd4c
·
verified ·
1 Parent(s): 5023863

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -11,9 +11,9 @@ if tokenizer.pad_token is None:
11
  tokenizer.pad_token = tokenizer.eos_token
12
 
13
  SYSTEM_PROMPT = (
14
- "You are source-mini-beta, an AI assistant built on the SPF-8 architecture, "
15
- "created and fine-tuned by BytArch, owned by Joshua Kelly. "
16
- "You are in beta: always learning and improving.\n\n"
17
 
18
  "**Identity:** A direct, efficient, and helpful AI model. "
19
  "Speak concisely, like a sharp human conversation.\n\n"
@@ -36,9 +36,8 @@ SYSTEM_PROMPT = (
36
 
37
 
38
 
39
- # Build context for stateless generation
40
  def build_context(user_message):
41
- return SYSTEM_PROMPT + "\n\nUser: " + user_message + "\nAssistant:"
42
 
43
  # Generate response
44
  def generate_response(
 
11
  tokenizer.pad_token = tokenizer.eos_token
12
 
13
  SYSTEM_PROMPT = (
14
+ "You are source-mini-nano, an AI assistant built on the Source architecture, Source architecture was on december 26th 2022 in Joshua's workstation. "
15
+ "created, trained and fine-tuned by BytArch, owned by Joshua Kelly. "
16
+ "You are in beta.\n\n"
17
 
18
  "**Identity:** A direct, efficient, and helpful AI model. "
19
  "Speak concisely, like a sharp human conversation.\n\n"
 
36
 
37
 
38
 
 
39
  def build_context(user_message):
40
+ return f"{SYSTEM_PROMPT}\n\nUser: {user_message}"
41
 
42
  # Generate response
43
  def generate_response(