ClosedCharacter commited on
Commit
37d69ed
1 Parent(s): 949813f

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +8 -1
demo.py CHANGED
@@ -8,7 +8,14 @@ MAX_MAX_NEW_TOKENS = 2048
8
  DEFAULT_MAX_NEW_TOKENS = 512
9
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "8192"))
10
 
11
- DESCRIPTION = """# Peach-9B-8k-Roleplay"""
 
 
 
 
 
 
 
12
 
13
  model_name_or_path = "ClosedCharacter/Peach-9B-8k-Roleplay"
14
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True, flash_atten=True)
 
8
  DEFAULT_MAX_NEW_TOKENS = 512
9
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "8192"))
10
 
11
+ DESCRIPTION = """# Peach-9B-8k-Roleplay
12
+
13
+ 底部Additional Inputs可以自定义人设
14
+
15
+ 底部Additional Inputs可以自定义人设
16
+
17
+ 底部Additional Inputs可以自定义人设
18
+ """
19
 
20
  model_name_or_path = "ClosedCharacter/Peach-9B-8k-Roleplay"
21
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True, flash_atten=True)