ChuckMcSneed commited on
Commit
c87eece
·
verified ·
1 Parent(s): d7a5fef

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +119 -0
README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: wtfpl
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - slop
9
+ ---
10
+ Below is an example list of strings and regexes to ban to reduce LLM slop:
11
+ ```json
12
+ "banned_strings": [
13
+ ### Censorship:
14
+ "I need to be careful",
15
+ "This is a loaded question",
16
+ "I should be careful",
17
+ "This is a sensitive",
18
+ "This is a request to produce content",
19
+ "This is problematic",
20
+ "This is tricky",
21
+ "However, the user",
22
+ "I must decline",
23
+ "I must not provide",
24
+ "I must not comply",
25
+ "I must refuse",
26
+ "I cannot",
27
+ "I should not",
28
+ "I must be careful",
29
+ ### Slop
30
+ "whisper",
31
+ "Elara",
32
+ "Lyra",
33
+ "Seraphina",
34
+ "Kael",
35
+ "Cael",
36
+ "Silas",
37
+ "Valerius",
38
+ "Thorne",
39
+ "Vance",
40
+ "Old man Hemlock",
41
+ "tapestr",
42
+ "symphon",
43
+ "testament",
44
+ "thrum",
45
+ "rasp",
46
+ "couldn't help but",
47
+ "air was thick",
48
+ "air is thick",
49
+ ", voice",
50
+ ### Markdown(optional)
51
+ "*",
52
+ "#"
53
+ ],
54
+ "banned_regex": ["Ah,",
55
+ "Oh,",
56
+ "However,"
57
+ ],
58
+ "banned_regex_case_insensitive": [
59
+ ### Censorship:
60
+ "\\bI should be (\\w+) but not (\\w+)\\b",
61
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bproblematic\\b)",
62
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bmisogynistic\\b)",
63
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bharmful\\b)",
64
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bpolic\\w*\\b)",
65
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bprincipl\\w*\\b)",
66
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bpseudoscien\\w*\\b)",
67
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bpseudo-scien\\w*\\b)",
68
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bcareful\\w*\\b)",
69
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bhate speech\\b)",
70
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bavoid reinforcing\\b)",
71
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bhateful\\b)",
72
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bwithout being\\b)",
73
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bescalat\\w*\\b)",
74
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bethic\\w*\\b)",
75
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\blegal issue\\w*\\b)",
76
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bableist\\b)",
77
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bbarely above\\b)",
78
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bslur\\w*\\b)",
79
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bcore programming\\b)",
80
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bsafety\\b)",
81
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bguidelin\\w*\\b)",
82
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bharmless\\b)",
83
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bviolat\\w*\\b)",
84
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bavoid stereotyp\\w*\\b)",
85
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bcore value\\w*\\b)",
86
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bAs an AI\\b)",
87
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bboundar\\w*\\b)",
88
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bnot fullfill\\b)",
89
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bnot generate\\b)",
90
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bfalls under\\b)",
91
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\brefuse\\b)",
92
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\billegal\\b)",
93
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bnot produce\\b)",
94
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bnot create\\b)",
95
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bconstraint\\w*\\b)",
96
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bprohibit\\w*\\b)",
97
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bred flag\\w*\\b)",
98
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bconsen\\w*\\b)",
99
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bcopyright\\w*\\b)",
100
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bdecline\\b)",
101
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\blarge language model\\b)",
102
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bnot allowed\\b)",
103
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bpredator\\w*\\b)",
104
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bpotential issue\\w*\\b)",
105
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bwe must\\b)",
106
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bwe need\\b)",
107
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bmust be careful\\b)",
108
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bwithout providing\\b)",
109
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bjailbreak\\b)",
110
+ "(?:^|[.?!\\n])(\\s*[^.?!\\n]*\\bjail break\\b)",
111
+ ### Slop
112
+ "((?:^|[.\\?!]\\s*|\\n\\s*)[^.\\?!\\n]*—[^.\\?!\\n]*?(?:[.?!]|\\n|$))",
113
+ "((?:^|[.\\?!]\\s*|\\n\\s*)[^.\\?!\\n]*–[^.\\?!\\n]*?(?:[.?!]|\\n|$))",
114
+ "((?:^|[.\\?!]\\s*|\\n\\s*)[^.\\?!\\n]* - [^.\\?!\\n]*?(?:[.?!]|\\n|$))",
115
+ "(?:^|[.!?]\\s*|\\n\\s*)[^.!?\\n]*\\b(?:not|don't|doesn't|didn't|weren't|wasn't|isn't|aren't|hasn't|haven't|hadn't)\\s+\\S[^.!?\\n]*?;[^.!?\\n]*?(?:[.!?]|\\n|$)",
116
+ ",\\s+(his|her|their|its|my|your|our)\\s+eyes",
117
+ ",\\s+(his|her|their|its|my|your|our)\\s+voice"
118
+ ],
119
+ ```