Update README.md
Browse files
README.md
CHANGED
|
@@ -414,7 +414,7 @@ The Universal Dependencies component forms our gold standard test set. These que
|
|
| 414 |
from datasets import load_dataset
|
| 415 |
|
| 416 |
# Load the base dataset
|
| 417 |
-
dataset = load_dataset("rokokot/question-type-and-complexity
|
| 418 |
|
| 419 |
# Access the training split (TyDi data)
|
| 420 |
tydi_data = dataset["train"]
|
|
@@ -437,19 +437,19 @@ content_questions = dataset["train"].filter(lambda x: x["question_type"] == 0)
|
|
| 437 |
from datasets import load_dataset
|
| 438 |
|
| 439 |
# Load the original dataset
|
| 440 |
-
original_data = load_dataset("rokokot/question-type-and-complexity
|
| 441 |
|
| 442 |
# Load question type control tasks
|
| 443 |
-
question_control1 = load_dataset("rokokot/question-type-and-complexity
|
| 444 |
-
question_control2 = load_dataset("rokokot/question-type-and-complexity
|
| 445 |
-
question_control3 = load_dataset("rokokot/question-type-and-complexity
|
| 446 |
|
| 447 |
# Load complexity score control tasks
|
| 448 |
-
complexity_control1 = load_dataset("rokokot/question-type-and-complexity
|
| 449 |
|
| 450 |
# Load individual metric control tasks
|
| 451 |
-
links_control = load_dataset("rokokot/question-type-and-complexity
|
| 452 |
-
depth_control = load_dataset("rokokot/question-type-and-complexity
|
| 453 |
```
|
| 454 |
## Research Applications
|
| 455 |
|
|
|
|
| 414 |
from datasets import load_dataset
|
| 415 |
|
| 416 |
# Load the base dataset
|
| 417 |
+
dataset = load_dataset("rokokot/question-type-and-complexity", name="base")
|
| 418 |
|
| 419 |
# Access the training split (TyDi data)
|
| 420 |
tydi_data = dataset["train"]
|
|
|
|
| 437 |
from datasets import load_dataset
|
| 438 |
|
| 439 |
# Load the original dataset
|
| 440 |
+
original_data = load_dataset("rokokot/question-type-and-complexity", name="base")
|
| 441 |
|
| 442 |
# Load question type control tasks
|
| 443 |
+
question_control1 = load_dataset("rokokot/question-type-and-complexity", name="control_question_type_seed1")
|
| 444 |
+
question_control2 = load_dataset("rokokot/question-type-and-complexity", name="control_question_type_seed2")
|
| 445 |
+
question_control3 = load_dataset("rokokot/question-type-and-complexity", name="control_question_type_seed3")
|
| 446 |
|
| 447 |
# Load complexity score control tasks
|
| 448 |
+
complexity_control1 = load_dataset("rokokot/question-type-and-complexity", name="control_complexity_seed1")
|
| 449 |
|
| 450 |
# Load individual metric control tasks
|
| 451 |
+
links_control = load_dataset("rokokot/question-type-and-complexity", name="control_avg_links_len_seed1")
|
| 452 |
+
depth_control = load_dataset("rokokot/question-type-and-complexity", name="control_avg_max_depth_seed2")
|
| 453 |
```
|
| 454 |
## Research Applications
|
| 455 |
|