We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59634b8 commit 6edfb1aCopy full SHA for 6edfb1a
run_ac.py
@@ -110,6 +110,8 @@ def parse_data_to_record_dict(record_chunk):
110
# the script `labeling_functions` does not exist. It will be inserted at runtime
111
import attribute_calculators
112
113
+ DEFAULT_USER_PROMPT = attribute_calculators.USER_PROMPT
114
+
115
vocab = spacy.blank(iso2_code).vocab
116
117
with open("docbin_full.json", "r") as infile:
@@ -127,7 +129,7 @@ def parse_data_to_record_dict(record_chunk):
127
129
__print_progress(0.0)
128
130
for record_dict in record_dict_list:
131
attribute_calculators.USER_PROMPT = prepare_and_render_mustache(
- attribute_calculators.USER_PROMPT, record_dict
132
+ DEFAULT_USER_PROMPT, record_dict
133
)
134
135
idx += 1
0 commit comments