Spaces:
Running
Running
victormiller
commited on
Commit
•
0d11c1f
1
Parent(s):
e3fd33e
Update curated.py
Browse files- curated.py +2 -2
curated.py
CHANGED
@@ -511,7 +511,7 @@ def get_freelaw_data(data_source: str = "Freelaw", doc_id: int = 3, target: str
|
|
511 |
target=target,
|
512 |
)
|
513 |
|
514 |
-
freelaw_examples =
|
515 |
|
516 |
def get_se_data(data_source: str = "StackExchange", doc_id: int = 3, target: str = "foo"):
|
517 |
doc_id = max(0, min(int(doc_id), 9))
|
@@ -535,7 +535,7 @@ def get_se_data(data_source: str = "StackExchange", doc_id: int = 3, target: str
|
|
535 |
target=target,
|
536 |
)
|
537 |
|
538 |
-
se_examples =
|
539 |
|
540 |
def get_phil_data(data_source: str = "PhilPapers", doc_id: int = 3, target: str = "foo"):
|
541 |
doc_id = max(0, min(int(doc_id), 9))
|
|
|
511 |
target=target,
|
512 |
)
|
513 |
|
514 |
+
freelaw_examples = DV2("data/curated_samples/freelaw_raw.json", "data/curated_samples/freelaw_extract.json", 0)
|
515 |
|
516 |
def get_se_data(data_source: str = "StackExchange", doc_id: int = 3, target: str = "foo"):
|
517 |
doc_id = max(0, min(int(doc_id), 9))
|
|
|
535 |
target=target,
|
536 |
)
|
537 |
|
538 |
+
se_examples = DV2("data/curated_samples/stackexchange_raw.json", "data/curated_samples/stackexchange_extract.json", 0)
|
539 |
|
540 |
def get_phil_data(data_source: str = "PhilPapers", doc_id: int = 3, target: str = "foo"):
|
541 |
doc_id = max(0, min(int(doc_id), 9))
|