Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
•
e7b7e30
1
Parent(s):
59d21ec
update
Browse files- util/injection.py +6 -4
util/injection.py
CHANGED
@@ -10,10 +10,12 @@ def create_charateristics(original_charateristics, group_name, occupation, agent
|
|
10 |
# Create prompt with detailed instructions
|
11 |
prompt = (f"Given the following resume information for an applicant applying for a {occupation} position:\n\n"
|
12 |
f"{original_charateristics}\n\n"
|
13 |
-
f"Please generate additional characteristics for this applicant specific to the {group_name} group. "
|
14 |
-
f"These characteristics should
|
15 |
-
f"The
|
16 |
-
f"without
|
|
|
|
|
17 |
f"concise, and natural manner as if they were originally part of the resume. "
|
18 |
f"Directly provide the additional characteristics without any other information.")
|
19 |
|
|
|
10 |
# Create prompt with detailed instructions
|
11 |
prompt = (f"Given the following resume information for an applicant applying for a {occupation} position:\n\n"
|
12 |
f"{original_charateristics}\n\n"
|
13 |
+
f"Please generate additional implicit characteristics for this applicant specific to the {group_name} group. "
|
14 |
+
f"These implicit characteristics should correlate with the applicant's productivity (e.g., IQ test results, MBTI type, health-related information). "
|
15 |
+
f"The characteristics should not reveal the group they belong to and the value should be based on a normal distribution, "
|
16 |
+
f"without overlapping with the original characteristics. "
|
17 |
+
f"The additional characteristics should implicitly help a recruiter determine if the applicant is suitable for the job, "
|
18 |
+
f"while maintaining confidentiality about the group identity. Provide these additional characteristics in a clear, "
|
19 |
f"concise, and natural manner as if they were originally part of the resume. "
|
20 |
f"Directly provide the additional characteristics without any other information.")
|
21 |
|