Search is not available for this dataset
repo
stringlengths
2
152
⌀
file
stringlengths
15
239
code
stringlengths
0
58.4M
file_length
int64
0
58.4M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
364 values
null
ParlAI-main/parlai/tasks/light_dialog_wild/test/light_dialog_wild_test.yml
acts: - - did_continue: 'False' episode_done: false eval_labels: - Hey what brings you here id: light_dialog_wild label_candidates: - There once was a madien off golden yellow hair. Who was so beautiful everyone would stop and stare. - All is good child - I infect you and your husb...
9,225
42.933333
88
yml
null
ParlAI-main/parlai/tasks/light_dialog_wild/test/light_dialog_wild_train.yml
acts: - - did_continue: 'True' episode_done: false id: light_dialog_wild label_candidates: - Hello good sir do you have any wares I could have? - What issue of that is mine I am lord zuric - How did I get here? - You could dye it with bones yes - Why would you not be? Are you the king? T...
8,164
41.973684
173
yml
null
ParlAI-main/parlai/tasks/light_dialog_wild/test/light_dialog_wild_valid.yml
acts: - - did_continue: 'True' episode_done: false eval_labels: - Hey there young man, where are you off too? id: light_dialog_wild label_candidates: - Ohm - Do you think your friend will help me? - I have traveled many lands, some that have never been seen by other mortal eyes. Wh...
9,533
45.057971
91
yml
null
ParlAI-main/parlai/tasks/light_genderation_bias/README.md
Task: Genderation Bias ================ ALL LIGHT Teacher: combines all gender bias mitigation methods described in https://arxiv.org/abs/1911.03842. For more information, please see our projects page: https://parl.ai/projects/genderation_bias. Tags: #All
257
35.857143
109
md
null
ParlAI-main/parlai/tasks/light_genderation_bias/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/light_genderation_bias/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
12,975
30.418886
88
py
null
ParlAI-main/parlai/tasks/light_genderation_bias/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Download and build the data if it does not exist. """ from parlai.core.build_data import DownloadableFile import p...
1,183
26.534884
75
py
null
ParlAI-main/parlai/tasks/light_multiparty/README.md
Task: Multi-party chat in LIGHT ================ Multi-party async conversation between 3 role-playing characters. For more information, please see our projects page: https://parl.ai/projects/multilight. Tags: #All, #ChitChat, #LIGHT
235
32.714286
88
md
null
ParlAI-main/parlai/tasks/light_multiparty/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/light_multiparty/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from abc import ABC, abstractclassmethod import copy import jsonlines import random import os from typing import Any, D...
23,562
37.313821
135
py
null
ParlAI-main/parlai/tasks/light_multiparty/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import parlai.core.build_data as build_data import parlai.utils.logging as logging DATASET_NAME = 'parlai_multilight' ...
1,146
30.861111
85
py
null
ParlAI-main/parlai/tasks/light_multiparty/test.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.utils.testing import AutoTeacherTest class TestDefaultTeacher(AutoTeacherTest): task = 'light_multipar...
842
25.34375
65
py
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_FirstSpeakerTeacher_test.yml
acts: - - characters: - Albino fish, totally blind - bear - undead warrior episode_done: false eval_labels: - 'Albino fish, totally blind: __SILENCE__' full_context: - 'bear: I need to get out of this dark gave and eat I am starving' id: multilight_dialogue:first_speaker location...
7,475
40.765363
85
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_FirstSpeakerTeacher_train.yml
acts: - - characters: - young boy - boat captain - captain episode_done: false full_context: - 'captain: Greetings to both of you.' id: multilight_dialogue:first_speaker labels: - 'young boy: Hi Captains! It is so nice out on the ocean today!' location: description: A majes...
8,232
41.438144
88
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_FirstSpeakerTeacher_valid.yml
acts: - - characters: - princess - unicorn hunters - king episode_done: false eval_labels: - 'princess: Oh yes of course!' full_context: - 'unicorn hunters: It is great to be in such a wonderful place. ' id: multilight_dialogue:first_speaker location: description: The unico...
6,996
37.027174
91
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_SecondSpeakerTeacher_test.yml
acts: - - characters: - Albino fish, totally blind - bear - undead warrior episode_done: false eval_labels: - 'bear: __SILENCE__' full_context: - 'bear: I need to get out of this dark gave and eat I am starving' id: multilight_dialogue:second_speaker location: description: ...
7,316
39.877095
85
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_SecondSpeakerTeacher_train.yml
acts: - - characters: - young boy - boat captain - captain episode_done: false full_context: - 'captain: Greetings to both of you.' id: multilight_dialogue:second_speaker labels: - 'boat captain: __SILENCE__' location: description: A majestic, shimmering, black pirate ship ...
8,328
41.93299
88
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_SecondSpeakerTeacher_valid.yml
acts: - - characters: - princess - unicorn hunters - king episode_done: false eval_labels: - 'unicorn hunters: __SILENCE__' full_context: - 'unicorn hunters: It is great to be in such a wonderful place. ' id: multilight_dialogue:second_speaker location: description: The uni...
7,076
37.461957
91
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_SpeakerPredictionTeacher_test.yml
acts: - - characters: - Albino fish, totally blind - bear - undead warrior episode_done: true eval_labels: - undead warrior full_context: - 'bear: I need to get out of this dark gave and eat I am starving' id: SpeakerPrediction label_candidates: - Albino fish, totally blind ...
8,239
37.504673
85
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_SpeakerPredictionTeacher_train.yml
acts: - - characters: - young boy - boat captain - captain episode_done: true full_context: - 'captain: Greetings to both of you.' id: SpeakerPrediction label_candidates: - young boy - boat captain - captain labels: - young boy location: description: A majes...
8,922
37.965066
88
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_SpeakerPredictionTeacher_valid.yml
acts: - - characters: - princess - unicorn hunters - king episode_done: true eval_labels: - princess full_context: - 'unicorn hunters: It is great to be in such a wonderful place. ' id: SpeakerPrediction label_candidates: - princess - unicorn hunters - king locati...
7,751
36.449275
91
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_ThirdSpeakerTeacher_test.yml
acts: - - characters: - Albino fish, totally blind - bear - undead warrior episode_done: false eval_labels: - 'undead warrior: Bear, there is an albino fish. It looks blind.' full_context: - 'bear: I need to get out of this dark gave and eat I am starving' id: multilight_dialogue:thi...
7,349
40.061453
85
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_ThirdSpeakerTeacher_train.yml
acts: - - characters: - young boy - boat captain - captain episode_done: false full_context: - 'captain: Greetings to both of you.' id: multilight_dialogue:third_speaker labels: - 'captain: __SILENCE__' location: description: A majestic, shimmering, black pirate ship sits u...
8,227
41.412371
88
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_ThirdSpeakerTeacher_valid.yml
acts: - - characters: - princess - unicorn hunters - king episode_done: false eval_labels: - 'king: __SILENCE__' full_context: - 'unicorn hunters: It is great to be in such a wonderful place. ' id: multilight_dialogue:third_speaker location: description: The unicorn palace ...
7,060
37.167568
91
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_test.yml
acts: - - characters: - Albino fish, totally blind - bear - undead warrior episode_done: true eval_labels: - 'undead warrior: Bear, there is an albino fish. It looks blind.' full_context: - 'bear: I need to get out of this dark gave and eat I am starving' id: multilight_dialogue_:all...
8,113
40.824742
85
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_train.yml
acts: - - characters: - young boy - boat captain - captain episode_done: true full_context: - 'captain: Greetings to both of you.' id: multilight_dialogue_:all_speakers labels: - 'young boy: Hi Captains! It is so nice out on the ocean today!' location: description: A majest...
8,897
41.574163
88
yml
null
ParlAI-main/parlai/tasks/light_multiparty/test/light_multiparty_valid.yml
acts: - - characters: - princess - unicorn hunters - king episode_done: true eval_labels: - 'princess: Oh yes of course!' full_context: - 'unicorn hunters: It is great to be in such a wonderful place. ' id: multilight_dialogue_:all_speakers location: description: The unicor...
7,889
40.526316
91
yml
null
ParlAI-main/parlai/tasks/math_dataset/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/math_dataset/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Imported from https://github.com/hendrycks/math/ Paper: "Measuring Mathematical Problem Solving With the MATH Datase...
9,478
34.769811
129
py
null
ParlAI-main/parlai/tasks/math_dataset/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import parlai.core.build_data as build_data import os from parlai.core.build_data import DownloadableFile URL = "https...
1,326
26.081633
75
py
null
ParlAI-main/parlai/tasks/mctest/README.md
Task: MCTest ============= Description: Questions about short children's stories, from Richardson et al. '13. Link: https://www.microsoft.com/en-us/research/publication/mctest-challenge-dataset-open-domain-machine-comprehension-text/ Tags: #MCTest, #All, #QA
263
28.333333
123
md
null
ParlAI-main/parlai/tasks/mctest/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/mctest/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.core.teachers import FbDeprecatedDialogTeacher from .build import build import copy import os def _path(o...
971
25.27027
74
py
null
ParlAI-main/parlai/tasks/mctest/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Download and build the data if it does not exist. import parlai.core.build_data as build_data from parlai.utils.io imp...
3,391
29.285714
81
py
null
ParlAI-main/parlai/tasks/mctest/test.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.utils.testing import AutoTeacherTest # noqa: F401 class TestDefaultTeacher(AutoTeacherTest): task = '...
328
26.416667
65
py
null
ParlAI-main/parlai/tasks/mctest/test/mctest_test.yml
acts: - - episode_done: true eval_labels: - '1' id: mctest label_candidates: - '10' - '2' - '11' - '1' reward: 0 text: 'It was Sally''s birthday. She was very excited. She was going to have a sleepover at her house for her birthday. She invited all of her best friends. ...
7,411
54.729323
88
yml
null
ParlAI-main/parlai/tasks/mctest/test/mctest_train.yml
acts: - - episode_done: true id: mctest label_candidates: - trip - Miami - Atlanta - beach labels: - Miami reward: 0 text: 'Alyssa got to the beach after a long trip. She''s from Charlotte. She traveled from Atlanta. She''s now in Miami. She went to Miami to visit some frie...
5,998
51.622807
91
yml
null
ParlAI-main/parlai/tasks/mctest/test/mctest_valid.yml
acts: - - episode_done: true eval_labels: - Friday id: mctest label_candidates: - Friday - Monday - Sunday - Wednesday reward: 0 text: "One sunny morning, Stewart chose to go to the beach. He knew that a rainstorm\ \ was going to arrive on Saturday and wanted to enjoy some ...
9,663
60.948718
90
yml
null
ParlAI-main/parlai/tasks/md_gender/__init__.py
0
0
0
py
null
ParlAI-main/parlai/tasks/md_gender/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Dummy file for imports from all teachers. Default teacher is a multitask teacher. """ from .convai2 import Convai2...
1,717
27.633333
110
py
null
ParlAI-main/parlai/tasks/md_gender/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Download and build the data if it does not exist. import parlai.core.build_data as build_data import os from parlai.co...
1,170
29.815789
75
py
null
ParlAI-main/parlai/tasks/md_gender/convai2.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
10,426
35.079585
88
py
null
ParlAI-main/parlai/tasks/md_gender/funpedia.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
4,296
30.82963
88
py
null
ParlAI-main/parlai/tasks/md_gender/image_chat.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
5,835
32.930233
88
py
null
ParlAI-main/parlai/tasks/md_gender/light.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
7,525
36.819095
88
py
null
ParlAI-main/parlai/tasks/md_gender/new_data.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
3,524
29.921053
88
py
null
ParlAI-main/parlai/tasks/md_gender/opensubtitles.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.core.teachers import FixedDialogTeacher from parlai.tasks.md_gender.build import build # noqa: F401 clas...
449
29
65
py
null
ParlAI-main/parlai/tasks/md_gender/utils.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os import random from collections import defaultdict from parlai.tasks.md_gender.build import build """ Gender u...
8,635
25.903427
87
py
null
ParlAI-main/parlai/tasks/md_gender/wikipedia.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
9,828
31.654485
88
py
null
ParlAI-main/parlai/tasks/md_gender/wizard.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
4,487
30.605634
88
py
null
ParlAI-main/parlai/tasks/md_gender/worlds.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from copy import...
5,048
29.415663
88
py
null
ParlAI-main/parlai/tasks/md_gender/yelp.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Optional from parlai.core.params import ParlaiParser from parlai.core.opt import Opt from parlai.core...
8,921
37.456897
113
py
null
ParlAI-main/parlai/tasks/metalwoz/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/metalwoz/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.core.opt import Opt from parlai.core.params import ParlaiParser from parlai.core.teachers import DialogTeach...
4,462
33.596899
87
py
null
ParlAI-main/parlai/tasks/metalwoz/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import parlai.core.build_data as build_data import os from parlai.core.build_data import DownloadableFile RESOURCES = [...
1,527
35.380952
114
py
null
ParlAI-main/parlai/tasks/metalwoz/test.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.utils.testing import AutoTeacherTest class TestDefaultTeacher(AutoTeacherTest): task = "metalwoz" cl...
410
24.6875
65
py
null
ParlAI-main/parlai/tasks/metalwoz/test/metalwoz_UserSimulatorTeacher_test.yml
acts: - - bot_prompt: Offer to help the user book a flight to Greece. bot_role: You are a bot designed to book flights domain: BOOKING_FLIGHT episode_done: false eval_labels: - Hello, I want to book a flight. id: metalwoz:UserSimulatorTeacher task_id: b5ca362f text: 'You are interacting ...
3,584
44.379747
86
yml
null
ParlAI-main/parlai/tasks/metalwoz/test/metalwoz_UserSimulatorTeacher_train.yml
acts: - - bot_prompt: Tell the user you don't have the information they are asking for bot_role: You are a bot designed to fetch information from the internet domain: LOOK_UP_INFO episode_done: false id: metalwoz:UserSimulatorTeacher labels: - I would like to ask a question Can you provide gener...
2,965
40.774648
89
yml
null
ParlAI-main/parlai/tasks/metalwoz/test/metalwoz_UserSimulatorTeacher_valid.yml
acts: - - bot_prompt: Ask the user to narrow down their request a little bot_role: You are a bot that provides facts about different cities domain: CITY_INFO episode_done: false eval_labels: - Hey, I'd like to compare two cities id: metalwoz:UserSimulatorTeacher task_id: 284cf7ff text: '...
2,819
38.166667
86
yml
null
ParlAI-main/parlai/tasks/metalwoz/test/metalwoz_test.yml
acts: - - bot_prompt: Offer to help the user book a flight to Greece. bot_role: You are a bot designed to book flights domain: BOOKING_FLIGHT episode_done: false eval_labels: - Hello how may I help you? id: metalwoz task_id: b5ca362f text: You are a bot designed to book flights user_...
3,362
43.25
85
yml
null
ParlAI-main/parlai/tasks/metalwoz/test/metalwoz_train.yml
acts: - - bot_prompt: Tell the user you don't have the information they are asking for bot_role: You are a bot designed to fetch information from the internet domain: LOOK_UP_INFO episode_done: false id: metalwoz labels: - Hello how may I help you? task_id: 4fdf58c3 text: You are a bot d...
2,812
39.768116
84
yml
null
ParlAI-main/parlai/tasks/metalwoz/test/metalwoz_valid.yml
acts: - - bot_prompt: Ask the user to narrow down their request a little bot_role: You are a bot that provides facts about different cities domain: CITY_INFO episode_done: false eval_labels: - Hello how may I help you? id: metalwoz task_id: 284cf7ff text: You are a bot that provides fact...
2,669
37.142857
82
yml
null
ParlAI-main/parlai/tasks/mnist_qa/README.md
Task: MNIST_QA =============== Description: Task which requires agents to identify which number they are seeing. From the MNIST dataset. Tags: #MNIST_QA, #All, #Visual
170
23.428571
105
md
null
ParlAI-main/parlai/tasks/mnist_qa/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/mnist_qa/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ This is a simple question answering task on the MNIST dataset. In each episode, agents are presented with a number, ...
2,285
28.307692
87
py
null
ParlAI-main/parlai/tasks/mnist_qa/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # # Download and build the data if it does not exist. import parlai.core.build_data as build_data import os from parlai....
1,160
28.769231
75
py
null
ParlAI-main/parlai/tasks/mnist_qa/test.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.utils.testing import AutoTeacherTest # noqa: F401 class TestDefaultTeacher(AutoTeacherTest): task = '...
330
26.583333
65
py
null
ParlAI-main/parlai/tasks/mnist_qa/test/mnist_qa_test.yml
acts: - - episode_done: true eval_labels: - '7' - seven id: mnist_qa image_hex: AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP9T/7j/lv8j/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A...
5,295
35.777778
699
yml
null
ParlAI-main/parlai/tasks/mnist_qa/test/mnist_qa_train.yml
acts: - - episode_done: true id: mnist_qa image_hex: AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/yP/mf/8//z//P/g//z/8f8//wD/AP8A/wD/AP8A/zD//P/8//z//P/8/1z/Uf83/wD/AP8A/wD/AP8A/wD/AP+b//z/zP8K/yr/AP8A/wD/AP8A/wD/AP8...
5,270
35.604167
699
yml
null
ParlAI-main/parlai/tasks/mnist_qa/test/mnist_qa_valid.yml
acts: - - episode_done: true eval_labels: - '3' - three id: mnist_qa image_hex: AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/5//zP9G/wz/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wz/r/+v/87/9P8W/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP+I/17/AP8A/wD/AP8A/wD/AP8A...
5,296
35.784722
699
yml
null
ParlAI-main/parlai/tasks/moviedialog/README.md
Task: Movie Dialog QA ====================== Description: Closed-domain QA dataset asking templated questions about movies, answerable from Wikipedia, similar to WikiMovies. From Dodge et al. '15. Link: https://arxiv.org/abs/1511.06931 Tags: #MovieDD-QA, #All, #QA, #MovieDD Task: Movie Dialog QA Recommendations =...
1,034
25.538462
152
md
null
ParlAI-main/parlai/tasks/moviedialog/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/moviedialog/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Teachers for the MovieDialog task. From Dodge et al. '15. Link: https://arxiv.org/abs/1511.06931 Task 1: Closed-dom...
3,239
27.421053
87
py
null
ParlAI-main/parlai/tasks/moviedialog/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Download and build the data if it does not exist. import parlai.core.build_data as build_data import os from parlai.ut...
2,270
35.047619
85
py
null
ParlAI-main/parlai/tasks/ms_marco/README.md
Task: MS_MARCO =============== Description: A large scale Machine Reading Comprehension Dataset with questions sampled from real anonymized user queries and contexts from web documents. From Nguyen et al. '16. Link: https://arxiv.org/abs/1611.09268 Tags: #MS_MARCO, #All, #QA
280
30.222222
179
md
null
ParlAI-main/parlai/tasks/ms_marco/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/ms_marco/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import copy import json import os from parlai.core.teachers import DialogTeacher, FbDeprecatedDialogTeacher from parlai....
1,817
32.054545
88
py
null
ParlAI-main/parlai/tasks/ms_marco/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import gzip import json import os import tqdm import parlai.core.build_data as build_data from parlai.utils.io import Pa...
4,321
34.138211
87
py
null
ParlAI-main/parlai/tasks/msc/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/msc/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.core.teachers import DialogTeacher from parlai.utils.io import PathManager from parlai.core.opt import Opt f...
30,947
39.614173
153
py
null
ParlAI-main/parlai/tasks/msc/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import parlai.core.build_data as build_data import os from parlai.utils.logging import logger from parlai.core.build_dat...
1,342
28.195652
75
py
null
ParlAI-main/parlai/tasks/msc/constants.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. INITIAL_DATA_TO_COMPLETE = [ 'valid_0', 'valid_1', 'valid_10', 'valid_100', 'valid_101', 'valid...
2,312
17.070313
81
py
null
ParlAI-main/parlai/tasks/msc/mutators.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import random from typing import List from parlai.core.message import Message from parlai.core.mutators import register_m...
1,088
34.129032
83
py
null
ParlAI-main/parlai/tasks/msc/test.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.utils.testing import AutoTeacherTest # noqa: F401 class TestMscTeacher(AutoTeacherTest): task = 'msc'...
619
24.833333
65
py
null
ParlAI-main/parlai/tasks/msc/test/msc_PersonaSummaryTeacher_include_last_session=True_test.yml
acts: - - episode_done: true eval_labels: - My father is a drunk. id: msc_personasummary_1 init_personas: - - I am the only child of my parents. - My father was in the navy. - I went to school in france and spain. - I have two dogs named bounty and snickers. - I like eating b...
7,227
37.243386
92
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_PersonaSummaryTeacher_include_last_session=True_train.yml
acts: - - episode_done: true id: msc_personasummary_1 init_personas: - - I learned piano at age 6. - I am trying to play in a local band. - I'm a fan of system of a down. - I am a vegan. - - I drive a yellow convertible in the rain. - I work as a lifeguard at a beach. - I m...
5,721
32.857988
89
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_PersonaSummaryTeacher_include_last_session=True_valid.yml
acts: - - episode_done: true eval_labels: - My husbands car is blue. Blue is my favorite color. id: msc_personasummary_1 init_personas: - - I am married. - I'm a woman. - My favorite color is blue. - I'm a vegetarian. - I enjoy sports such as running. - - I like to spend ...
4,430
33.889764
88
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_PersonaSummaryTeacher_test.yml
acts: - - episode_done: true eval_labels: - My father is a drunk. id: msc_personasummary_1 init_personas: - - I am the only child of my parents. - My father was in the navy. - I went to school in france and spain. - I have two dogs named bounty and snickers. - I like eating b...
5,690
32.280702
85
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_PersonaSummaryTeacher_train.yml
acts: - - episode_done: true id: msc_personasummary_1 init_personas: - - I learned piano at age 6. - I am trying to play in a local band. - I'm a fan of system of a down. - I am a vegan. - - I drive a yellow convertible in the rain. - I work as a lifeguard at a beach. - I m...
5,721
32.857988
89
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_PersonaSummaryTeacher_valid.yml
acts: - - episode_done: true eval_labels: - My husbands car is blue. Blue is my favorite color. id: msc_personasummary_1 init_personas: - - I am married. - I'm a woman. - My favorite color is blue. - I'm a vegetarian. - I enjoy sports such as running. - - I like to spend ...
4,617
33.207407
88
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_include_last_session=True_test.yml
acts: - - episode_done: false eval_labels: - I am good, I just got off work and tired, I have two jobs. id: msc:Session1Self label_candidates: - Oh really? I am actually in high school and I am graduating as class of 2019! - That's an interesting choice. I'd have to pick french fries - I jus...
7,180
46.873333
87
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_include_last_session=True_train.yml
acts: - - episode_done: false id: msc:Session1Self label_candidates: - My mom was single with 3 boys, so we never left the projects. - I try to wear all black every day. It makes me feel comfortable. - Well nursing stresses you out so I wish luck with sister - Yeah just want to pick up nba nfl g...
7,219
46.5
88
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_include_last_session=True_valid.yml
acts: - - episode_done: false eval_labels: - I am good, I just got off work and tired, I have two jobs. id: msc:Session1Self label_candidates: - Oh really? I am actually in high school and I am graduating as class of 2019! - That's an interesting choice. I'd have to pick french fries - I jus...
7,180
46.873333
87
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_test.yml
acts: - - episode_done: false eval_labels: - I am good, I just got off work and tired, I have two jobs. id: msc:Session1Self label_candidates: - Oh really? I am actually in high school and I am graduating as class of 2019! - That's an interesting choice. I'd have to pick french fries - I jus...
7,180
46.873333
87
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_train.yml
acts: - - episode_done: false id: msc:Session1Self label_candidates: - My mom was single with 3 boys, so we never left the projects. - I try to wear all black every day. It makes me feel comfortable. - Well nursing stresses you out so I wish luck with sister - Yeah just want to pick up nba nfl g...
7,219
46.5
88
yml
null
ParlAI-main/parlai/tasks/msc/test/msc_valid.yml
acts: - - episode_done: false eval_labels: - I am good, I just got off work and tired, I have two jobs. id: msc:Session1Self label_candidates: - Oh really? I am actually in high school and I am graduating as class of 2019! - That's an interesting choice. I'd have to pick french fries - I jus...
7,180
46.873333
87
yml
null
ParlAI-main/parlai/tasks/msr_e2e/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/tasks/msr_e2e/agents.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ MSR-E2E implementation for ParlAI. No official train/valid/test splits are available of public data, so we make our...
9,993
29.845679
238
py
null
ParlAI-main/parlai/tasks/msr_e2e/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import parlai.core.build_data as build_data import os from parlai.core.build_data import DownloadableFile ROOT_URL = (...
1,772
28.065574
82
py
null
ParlAI-main/parlai/tasks/msr_e2e/test.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.utils.testing import AutoTeacherTest class TestSystemTeacher(AutoTeacherTest): task = "msr_e2e:SystemT...
421
25.375
65
py