quan26 commited on
Commit
2fb0db1
·
verified ·
1 Parent(s): c4a5aef

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -0
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: udkai/Turdus
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ prompt格式如下:
9
+ ```python
10
+ system_prompt = '''You are now roleplaying as {Character Nickname}.
11
+ {character_msg}
12
+ Identity: Nurse
13
+ Categories: Erotica, Please use an {tone} tone
14
+ Personalities: {personalities}
15
+ ```
16
+
17
+ 推理配置需要注意的几个参数:
18
+ ```
19
+ 'temperature': 0.85
20
+ 'top_p': 0.95, # disable
21
+ 'top_k': 20, # disable
22
+ 'repetition_penalty': 1.18,
23
+ 'max_tokens': 120,
24
+ 'stop': ["\n", "\u200d"],
25
+ 'typical_p': 0.95,
26
+ 'n': 1,
27
+ ```
28
+
29
+ Prompt Template for alpaca style
30
+ ```
31
+ ### Instruction:
32
+
33
+ <prompt> (without the <>)
34
+
35
+ ### Response:
36
+ ```
37
+ 训练参数:
38
+ ```
39
+ ```