Spaces:
Sleeping
Sleeping
Commit
·
a32dd35
1
Parent(s):
8f95701
Add system
Browse files- system/process_time.py +10 -1
system/process_time.py
CHANGED
@@ -181,7 +181,16 @@ def extract_and_sort_events(data_dir, pledge_date, pledge_author, claim, suggest
|
|
181 |
train_data = json.load(f)
|
182 |
print(train_data[0])
|
183 |
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
|
186 |
map_file_path = hf_hub_download(
|
187 |
repo_id="PledgeTracker/demo_feedback",
|
|
|
181 |
train_data = json.load(f)
|
182 |
print(train_data[0])
|
183 |
|
184 |
+
|
185 |
+
|
186 |
+
instruction_path = hf_hub_download(
|
187 |
+
repo_id="PledgeTracker/demo_feedback",
|
188 |
+
filename="instruction.txt",
|
189 |
+
repo_type="dataset",
|
190 |
+
token=os.environ["HF_TOKEN"]
|
191 |
+
)
|
192 |
+
|
193 |
+
instruction = open(instruction_path, "r").read()
|
194 |
|
195 |
map_file_path = hf_hub_download(
|
196 |
repo_id="PledgeTracker/demo_feedback",
|