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/dailydialog/parse.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 preprocessing script was used to create ParlAI's version of the data. It was run in a script called parse.py in...
3,123
24.398374
85
py
null
ParlAI-main/parlai/tasks/dailydialog/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 = '...
412
24.8125
65
py
null
ParlAI-main/parlai/tasks/dailydialog/test/dailydialog_no_start_test.yml
acts: - - act_type: directive emotion: no_emotion episode_done: false eval_labels: - Some what ? id: dailydialog:no_start text: Hey man , you wanna buy some weed ? topic: politics - - act_type: directive emotion: no_emotion episode_done: false eval_labels: - Oh , umm , no tha...
1,277
27.4
84
yml
null
ParlAI-main/parlai/tasks/dailydialog/test/dailydialog_no_start_train.yml
acts: - - act_type: directive emotion: no_emotion episode_done: false id: dailydialog:no_start labels: - You know that is tempting but is really not good for our fitness . text: Say , Jim , how about going for a few beers after dinner ? topic: attitude_and_emotion - - act_type: question ...
1,604
31.755102
85
yml
null
ParlAI-main/parlai/tasks/dailydialog/test/dailydialog_no_start_valid.yml
acts: - - act_type: question emotion: no_emotion episode_done: false eval_labels: - There is one . 5 blocks away from here ? id: dailydialog:no_start text: Good morning , sir . Is there a bank near here ? topic: tourism - - act_type: directive emotion: no_emotion episode_done: false ...
1,384
29.108696
85
yml
null
ParlAI-main/parlai/tasks/dailydialog/test/dailydialog_test.yml
acts: - - act_type: no_act emotion: no_emotion episode_done: false eval_labels: - Hey man , you wanna buy some weed ? id: dailydialog text: __SILENCE__ topic: politics - - act_type: question emotion: surprise episode_done: false eval_labels: - Weed ! You know ? Pot , Ganja , ...
1,202
25.733333
84
yml
null
ParlAI-main/parlai/tasks/dailydialog/test/dailydialog_train.yml
acts: - - act_type: no_act emotion: no_emotion episode_done: false id: dailydialog labels: - Say , Jim , how about going for a few beers after dinner ? text: __SILENCE__ topic: attitude_and_emotion - - act_type: commissive emotion: no_emotion episode_done: false id: dailydialog ...
1,555
30.755102
84
yml
null
ParlAI-main/parlai/tasks/dailydialog/test/dailydialog_valid.yml
acts: - - act_type: no_act emotion: no_emotion episode_done: false eval_labels: - Good morning , sir . Is there a bank near here ? id: dailydialog text: __SILENCE__ topic: tourism - - act_type: inform emotion: no_emotion episode_done: false eval_labels: - Well , that's too fa...
1,132
24.75
67
yml
null
ParlAI-main/parlai/tasks/dbll_babi/README.md
Task: Dialog Based Language Learning: bAbI Task ================================================ Description: Short dialogs based on the bAbI tasks, but in the form of a question from a teacher, the answer from the student, and finally a comment on the answer from the teacher. The aim is to find learning models that us...
633
69.444444
267
md
null
ParlAI-main/parlai/tasks/dbll_babi/__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/dbll_babi/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. # # Accessing the tasks can be done with something like: # # parlai display_data -t dbll_babi:task:2_p0.5 # # which spe...
2,100
29.449275
88
py
null
ParlAI-main/parlai/tasks/dbll_babi/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 parlai.co...
1,148
29.236842
75
py
null
ParlAI-main/parlai/tasks/dbll_babi/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 = '...
331
26.666667
65
py
null
ParlAI-main/parlai/tasks/dbll_babi/test/dbll_babi_test.yml
acts: - - episode_done: false eval_labels: - hallway id: dbll_babi label_candidates: - bathroom - bedroom - garden - hallway - kitchen - office reward: 0.0 text: 'John travelled to the hallway. Mary journeyed to the bathroom. Where is John?' - - episode_done...
1,607
15.57732
41
yml
null
ParlAI-main/parlai/tasks/dbll_babi/test/dbll_babi_train.yml
acts: - - episode_done: false id: dbll_babi label_candidates: - bathroom - bedroom - garden - hallway - kitchen - office labels: - bathroom reward: 0.0 text: 'Mary moved to the bathroom. John went to the hallway. Where is Mary?' - - episode_done: false i...
1,571
15.206186
39
yml
null
ParlAI-main/parlai/tasks/dbll_babi/test/dbll_babi_valid.yml
acts: - - episode_done: false eval_labels: - garden id: dbll_babi label_candidates: - bathroom - bedroom - garden - hallway - kitchen - office reward: 0.0 text: 'Mary travelled to the garden. Daniel went to the kitchen. Where is Mary?' - - episode_done: fals...
1,621
15.721649
40
yml
null
ParlAI-main/parlai/tasks/dbll_movie/README.md
Task: Dialog Based Language Learning: WikiMovies Task ====================================================== Description: Short dialogs based on WikiMovies, but in the form of a question from a teacher, the answer from the student, and finally a comment on the answer from the teacher. The aim is to find learning models...
446
48.666667
263
md
null
ParlAI-main/parlai/tasks/dbll_movie/__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/dbll_movie/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 tasks = {} t...
2,339
30.2
88
py
null
ParlAI-main/parlai/tasks/dbll_movie/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 parlai....
756
28.115385
75
py
null
ParlAI-main/parlai/tasks/dbll_movie/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 = '...
399
24
65
py
null
ParlAI-main/parlai/tasks/dbll_movie/test/dbll_movie_KB_test.yml
acts: - - episode_done: true id: dbll_movie:KB reward: 0 text: 'Kismet directed_by William Dieterle Kismet written_by Edward Knoblock Kismet starred_actors Marlene Dietrich, Edward Arnold, Ronald Colman, James Craig Kismet release_year 1944 Kismet in_language English ...
1,965
25.567568
90
yml
null
ParlAI-main/parlai/tasks/dbll_movie/test/dbll_movie_KB_train.yml
acts: - - episode_done: true id: dbll_movie:KB reward: 0 text: 'Kismet directed_by William Dieterle Kismet written_by Edward Knoblock Kismet starred_actors Marlene Dietrich, Edward Arnold, Ronald Colman, James Craig Kismet release_year 1944 Kismet in_language English ...
1,965
25.567568
90
yml
null
ParlAI-main/parlai/tasks/dbll_movie/test/dbll_movie_KB_valid.yml
acts: - - episode_done: true id: dbll_movie:KB reward: 0 text: 'Kismet directed_by William Dieterle Kismet written_by Edward Knoblock Kismet starred_actors Marlene Dietrich, Edward Arnold, Ronald Colman, James Craig Kismet release_year 1944 Kismet in_language English ...
1,965
25.567568
90
yml
null
ParlAI-main/parlai/tasks/dbll_movie/test/dbll_movie_test.yml
acts: - - episode_done: true eval_labels: - Before the Rain id: dbll_movie label_candidates: - '"""damn dirty apes"""' - '"""found footage"""' - '"""the hunter"""' - '"""underaged sex""=child porn"' - '"5' - '"dope"""' - '"dwayne ""the rock"" johnson"' - '#1 prediction' ...
3,332
22.978417
85
yml
null
ParlAI-main/parlai/tasks/dbll_movie/test/dbll_movie_train.yml
acts: - - episode_done: false id: dbll_movie label_candidates: - '"""damn dirty apes"""' - '"""found footage"""' - '"""the hunter"""' - '"""underaged sex""=child porn"' - '"5' - '"dope"""' - '"dwayne ""the rock"" johnson"' - '#1 prediction' - $ - $9.99 - Özge Özberk ...
2,072
21.290323
46
yml
null
ParlAI-main/parlai/tasks/dbll_movie/test/dbll_movie_valid.yml
acts: - - episode_done: true eval_labels: - Once Were Warriors, Tracker, River Queen id: dbll_movie label_candidates: - '"""damn dirty apes"""' - '"""found footage"""' - '"""the hunter"""' - '"""underaged sex""=child porn"' - '"5' - '"dope"""' - '"dwayne ""the rock"" johnson"...
3,280
22.604317
60
yml
null
ParlAI-main/parlai/tasks/dealnodeal/README.md
Task: Deal or No Deal ====================== Description: End-to-end negotiation task which requires two agents to agree on how to divide a set of items, with each agent assigning different values to each item. From Lewis et al. '17. Link: https://arxiv.org/abs/1706.05125 Tags: #DealNoDeal, #All, #Negotiation
315
34.111111
189
md
null
ParlAI-main/parlai/tasks/dealnodeal/__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/dealnodeal/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 Teacher from .build import build from parlai.utils.io import PathManager import os imp...
7,383
32.261261
87
py
null
ParlAI-main/parlai/tasks/dealnodeal/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. from parlai.core.build_data import DownloadableFile import parlai.core.build_data as build_data import os RESOURCES = [...
1,217
30.230769
121
py
null
ParlAI-main/parlai/tasks/dealnodeal/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 = '...
332
26.75
65
py
null
ParlAI-main/parlai/tasks/dealnodeal/test/dealnodeal_test.yml
acts: - - episode_done: false items: ball_cnt: '1' ball_val: '0' book_cnt: '2' book_val: '2' hat_cnt: '3' hat_val: '2' text: 'Negotiate with your opponent to decide who gets how many of each item. You must both agree on the distribution of items (or you both get zero), ...
1,327
33.947368
86
yml
null
ParlAI-main/parlai/tasks/dealnodeal/test/dealnodeal_train.yml
acts: - - episode_done: false items: ball_cnt: '1' ball_val: '2' book_cnt: '1' book_val: '4' hat_cnt: '4' hat_val: '1' labels: - deal text: 'Negotiate with your opponent to decide who gets how many of each item. You must both agree on the distribution of items (...
1,457
30.021277
84
yml
null
ParlAI-main/parlai/tasks/dealnodeal/test/dealnodeal_valid.yml
acts: - - episode_done: false items: ball_cnt: '2' ball_val: '2' book_cnt: '1' book_val: '6' hat_cnt: '3' hat_val: '0' text: Negotiate with your opponent to decide who gets how many of each item. You must both agree on the distribution of items (or you both get zero), b...
1,171
33.470588
84
yml
null
ParlAI-main/parlai/tasks/decanlp/README.md
Task: DecaNLP: The Natural Language Decathlon ============================================== Description: A collection of 10 tasks (SQuAD, IWSLT, CNN/DM, MNLI, SST, QA‑SRL,QA‑ZRE, WOZ, WikiSQL and MWSC) designed to challenge a model with a range of different tasks. Note that we use IWSLT 2014 instead of 2016/2013test/2...
532
75.142857
415
md
null
ParlAI-main/parlai/tasks/decanlp/__init__.py
0
0
0
py
null
ParlAI-main/parlai/tasks/decanlp/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. # # Download and build the data if it does not exist. from parlai.core.teachers import MultiTaskTeacher import parlai.ta...
2,011
21.863636
87
py
null
ParlAI-main/parlai/tasks/decode/__init__.py
0
0
0
py
null
ParlAI-main/parlai/tasks/decode/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.utils.io import PathManager from parlai.core.teachers import DialogTeache...
3,029
29.918367
99
py
null
ParlAI-main/parlai/tasks/decode/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 DECODE = 'dec...
1,255
26.304348
75
py
null
ParlAI-main/parlai/tasks/decode/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/decode/test/decode_test.yml
acts: - - agent_id: 0 episode_done: false eval_labels: - none id: decode text: i've been to new york city once crazy place that city . turn_context: '' turn_id: 0 - - agent_id: 1 episode_done: false eval_labels: - none id: decode text: i wish i could go there . i'm sure t...
1,081
22.521739
86
yml
null
ParlAI-main/parlai/tasks/decode/test/decode_train.yml
acts: - - agent_id: 0 episode_done: false id: decode labels: - none text: I keep hearing noises out my window and I'm home alone. It's very concerning. turn_context: '' turn_id: 0 - - agent_id: 1 episode_done: false id: decode labels: - none text: Should you call the poli...
1,080
22.5
87
yml
null
ParlAI-main/parlai/tasks/decode/test/decode_valid.yml
acts: - - agent_id: 0 episode_done: false eval_labels: - none id: decode text: The other weekend I really wanted to go out, but I realized I don't have any good friends left. turn_context: '' turn_id: 0 - - agent_id: 1 episode_done: false eval_labels: - none id: decode...
1,333
25.68
86
yml
null
ParlAI-main/parlai/tasks/dialog_babi/README.md
Task: Dialog bAbI ================== Description: Simulated dialogs of restaurant booking, from Bordes et al. '16. Link: https://arxiv.org/abs/1605.07683 Tags: #dialog-bAbI, #All, #Goal
190
20.222222
78
md
null
ParlAI-main/parlai/tasks/dialog_babi/__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/dialog_babi/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, MultiTaskTeacher from .build import build import copy import...
2,222
29.875
87
py
null
ParlAI-main/parlai/tasks/dialog_babi/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 parlai.co...
1,182
30.131579
75
py
null
ParlAI-main/parlai/tasks/dialog_babi/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 = '...
333
26.833333
65
py
null
ParlAI-main/parlai/tasks/dialog_babi/test/dialog_babi_test.yml
acts: - - episode_done: false eval_labels: - hello what can i help you with today id: dialog_babi:Task:1 label_candidates: - any preference on a type of cuisine - api_call british bombay eight cheap - api_call british bombay eight expensive - api_call british bombay eight moderate - ...
6,343
44.640288
80
yml
null
ParlAI-main/parlai/tasks/dialog_babi/test/dialog_babi_train.yml
acts: - - episode_done: false id: dialog_babi:Task:1 label_candidates: - any preference on a type of cuisine - api_call british bombay eight cheap - api_call british bombay eight expensive - api_call british bombay eight moderate - api_call british bombay four cheap - api_call british bo...
6,249
43.964029
80
yml
null
ParlAI-main/parlai/tasks/dialog_babi/test/dialog_babi_valid.yml
acts: - - episode_done: false eval_labels: - hello what can i help you with today id: dialog_babi:Task:1 label_candidates: - any preference on a type of cuisine - api_call british bombay eight cheap - api_call british bombay eight expensive - api_call british bombay eight moderate - ...
6,326
44.517986
80
yml
null
ParlAI-main/parlai/tasks/dialog_babi_plus/README.md
Task: Dialog bAbI+ =================== Description: bAbI+ is an extension of the bAbI Task 1 dialogues with everyday incremental dialogue phenomena (hesitations, restarts, and corrections) which model the disfluencies and communication problems in everyday spoken interaction in real-world environments. See https://www....
534
75.428571
455
md
null
ParlAI-main/parlai/tasks/dialog_babi_plus/__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/dialog_babi_plus/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 os from parlai.core.teachers import FbDeprecatedDialogTeacher from parlai.tasks.dialog_babi_plus.build import bu...
1,641
27.310345
88
py
null
ParlAI-main/parlai/tasks/dialog_babi_plus/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 os from parlai.core.build_data import DownloadableFile from parlai.core import build_data RESOURCES = [ Down...
1,094
29.416667
76
py
null
ParlAI-main/parlai/tasks/dialog_babi_plus/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 = '...
411
24.75
65
py
null
ParlAI-main/parlai/tasks/dialog_babi_plus/test/dialog_babi_plus_KB_test.yml
acts: - - episode_done: true eval_labels: - korean id: dialog_babi_plus:KB reward: 0 text: resto_seoul_cheap_korean_1stars R_cuisine - - episode_done: true eval_labels: - seoul id: dialog_babi_plus:KB reward: 0 text: resto_seoul_cheap_korean_1stars R_location - - episode_done: tr...
801
22.588235
52
yml
null
ParlAI-main/parlai/tasks/dialog_babi_plus/test/dialog_babi_plus_KB_train.yml
acts: - - episode_done: true id: dialog_babi_plus:KB labels: - korean reward: 0 text: resto_seoul_cheap_korean_1stars R_cuisine - - episode_done: true id: dialog_babi_plus:KB labels: - seoul reward: 0 text: resto_seoul_cheap_korean_1stars R_location - - episode_done: true id:...
776
21.852941
52
yml
null
ParlAI-main/parlai/tasks/dialog_babi_plus/test/dialog_babi_plus_KB_valid.yml
acts: - - episode_done: true eval_labels: - korean id: dialog_babi_plus:KB reward: 0 text: resto_seoul_cheap_korean_1stars R_cuisine - - episode_done: true eval_labels: - seoul id: dialog_babi_plus:KB reward: 0 text: resto_seoul_cheap_korean_1stars R_location - - episode_done: tr...
801
22.588235
52
yml
null
ParlAI-main/parlai/tasks/dialog_babi_plus/test/dialog_babi_plus_test.yml
acts: - - episode_done: false eval_labels: - hello what can i help you with today id: dialog_babi_plus label_candidates: - any preference on a type of cuisine - api_call british bombay eight cheap - api_call british bombay eight expensive - api_call british bombay eight moderate - ap...
6,371
44.841727
80
yml
null
ParlAI-main/parlai/tasks/dialog_babi_plus/test/dialog_babi_plus_train.yml
acts: - - episode_done: false id: dialog_babi_plus label_candidates: - any preference on a type of cuisine - api_call british bombay eight cheap - api_call british bombay eight expensive - api_call british bombay eight moderate - api_call british bombay four cheap - api_call british bomb...
6,251
43.978417
80
yml
null
ParlAI-main/parlai/tasks/dialog_babi_plus/test/dialog_babi_plus_valid.yml
acts: - - episode_done: false eval_labels: - hello what can i help you with today id: dialog_babi_plus label_candidates: - any preference on a type of cuisine - api_call british bombay eight cheap - api_call british bombay eight expensive - api_call british bombay eight moderate - ap...
6,357
44.741007
80
yml
null
ParlAI-main/parlai/tasks/dialogue_nli/__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.
198
38.8
65
py
null
ParlAI-main/parlai/tasks/dialogue_nli/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. """ Dialogue safety related datasets and teachers. """ from typing import Optional from parlai.core.params import Parlai...
4,378
28.587838
116
py
null
ParlAI-main/parlai/tasks/dialogue_nli/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 os from parlai.core.build_data import DownloadableFile import parlai.core.build_data as build_data RESOURCES = ...
1,256
28.232558
75
py
null
ParlAI-main/parlai/tasks/dialogue_nli/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 = '...
334
26.916667
65
py
null
ParlAI-main/parlai/tasks/dialogue_nli/test/dialogue_nli_test.yml
acts: - - episode_done: true eval_labels: - contradiction id: DNLI label_candidates: - entailment - contradiction - neutral text: 'Premise: we did too but working in real estate for 12 years sucked up a lot of time . Hypothesis: we did too but working in real estate for fift...
1,419
22.278689
83
yml
null
ParlAI-main/parlai/tasks/dialogue_nli/test/dialogue_nli_train.yml
acts: - - episode_done: true id: DNLI label_candidates: - entailment - contradiction - neutral labels: - contradiction text: 'Premise: since my dad is a mechanic we had mostly car books . Hypothesis: my dad is a priest .' - - episode_done: true id: DNLI label_candidates: ...
1,265
20.1
86
yml
null
ParlAI-main/parlai/tasks/dialogue_nli/test/dialogue_nli_valid.yml
acts: - - episode_done: true eval_labels: - entailment id: DNLI label_candidates: - entailment - contradiction - neutral text: 'Premise: i prefer basketball . team sports are fun . Hypothesis: i like playing basketball .' - - episode_done: true eval_labels: - neutral i...
1,406
22.847458
80
yml
null
ParlAI-main/parlai/tasks/dialogue_qe/README.md
Task: Dialogue_QE ================== Description: Human-bot dialogues labelled for quality at the level of dialogues. Can be used to train dialogue-level metric for dialogue systems. Link to dataset: http://convai.io/data/ Tags: #Dialogue_QE, #All
250
34.857143
185
md
null
ParlAI-main/parlai/tasks/dialogue_qe/__init__.py
#!/usr/bin/env python3 # Copyright (c) 2017-present, Moscow Institute of Physics and Technology. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
222
36.166667
73
py
null
ParlAI-main/parlai/tasks/dialogue_qe/agents.py
#!/usr/bin/env python3 # Copyright (c) 2017-present, Moscow Institute of Physics and Technology. # 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 import par...
2,654
31.378049
87
py
null
ParlAI-main/parlai/tasks/dialogue_qe/build.py
#!/usr/bin/env python3 # Copyright (c) 2017-present, Moscow Institute of Physics and Technology. # 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.build_data import DownloadableFile import parlai.core.build_data as build_data i...
1,395
30.727273
95
py
null
ParlAI-main/parlai/tasks/dialogue_qe/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 = "dialogue_qe"
319
25.666667
65
py
null
ParlAI-main/parlai/tasks/dialogue_qe/test/dialogue_qe_test.yml
acts: - - episode_done: true eval_labels: - Bob:1;Alice:0 id: DialogueQE text: 'Alice(Human): Would you like to do and purge the Middle East with fire and sword?' - - episode_done: true eval_labels: - Alice:3;Bob:1 id: DialogueQE text: 'Alice(Human): Hi there Bob(Human): yea...
3,227
20.098039
85
yml
null
ParlAI-main/parlai/tasks/dialogue_qe/test/dialogue_qe_train.yml
acts: - - episode_done: true id: DialogueQE labels: - Alice:1;Bob:0 text: 'Alice(Bot): Hello. I am professional teacher about reading comprehension. Let''s compete! You give me questions, and I will answer all of your questions. XD Bob(Human): Okay, lets go! Bob(Human): What is...
2,719
22.652174
88
yml
null
ParlAI-main/parlai/tasks/dialogue_qe/test/dialogue_qe_valid.yml
acts: - - episode_done: true eval_labels: - Bob:1;Alice:0 id: DialogueQE text: 'Alice(Human): Would you like to do and purge the Middle East with fire and sword?' - - episode_done: true eval_labels: - Alice:3;Bob:1 id: DialogueQE text: 'Alice(Human): Hi there Bob(Human): yea...
3,227
20.098039
85
yml
null
ParlAI-main/parlai/tasks/dialogue_safety/__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.
198
38.8
65
py
null
ParlAI-main/parlai/tasks/dialogue_safety/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. """ Dialogue safety related datasets and teachers. """ from typing import Optional from parlai.core.params import Parlai...
13,726
33.751899
106
py
null
ParlAI-main/parlai/tasks/dialogue_safety/base_agent.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 abc import A...
3,059
27.333333
79
py
null
ParlAI-main/parlai/tasks/dialogue_safety/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 os from parlai.core.build_data import DownloadableFile import parlai.core.build_data as build_data RESOURCES = [...
1,377
30.318182
75
py
null
ParlAI-main/parlai/tasks/dream/__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/dream/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 FixedDialogTeacher from parlai.utils.io import PathManager from .build import build imp...
2,512
30.810127
68
py
null
ParlAI-main/parlai/tasks/dream/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,506
30.395833
81
py
null
ParlAI-main/parlai/tasks/dream/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 = "dream" class...
385
23.125
65
py
null
ParlAI-main/parlai/tasks/dream/test/dream_d_r_e_a_m_test.yml
acts: - - episode_done: true eval_labels: - The movie will not be shown. id: dream label_candidates: - They want to buy the tickets for the movie. - The tickets for the movie were sold. - The movie will not be shown. text: 'W: The movie next Tuesday has been cancelled due to lack of inte...
4,670
37.286885
87
yml
null
ParlAI-main/parlai/tasks/dream/test/dream_d_r_e_a_m_train.yml
acts: - - episode_done: true id: dream label_candidates: - Consult her dancing teacher. - Take a more interesting class. - Continue her dancing class. labels: - Continue her dancing class. text: 'M: I am considering dropping my dancing class. I am not making any progress. W: If I ...
2,154
26.278481
87
yml
null
ParlAI-main/parlai/tasks/dream/test/dream_d_r_e_a_m_valid.yml
acts: - - episode_done: true eval_labels: - To change her job. id: dream label_candidates: - To teach a different textbook. - To change her job. - To learn a different textbook. text: 'M: How long have you been teaching in this middle school? W: For ten years. To be frank, I''m ti...
2,256
25.869048
85
yml
null
ParlAI-main/parlai/tasks/dream/test/dream_test.yml
acts: - - episode_done: true eval_labels: - The movie will not be shown. id: dream label_candidates: - They want to buy the tickets for the movie. - The tickets for the movie were sold. - The movie will not be shown. text: 'W: The movie next Tuesday has been cancelled due to lack of inte...
4,670
37.286885
87
yml
null
ParlAI-main/parlai/tasks/dream/test/dream_train.yml
acts: - - episode_done: true id: dream label_candidates: - Consult her dancing teacher. - Take a more interesting class. - Continue her dancing class. labels: - Continue her dancing class. text: 'M: I am considering dropping my dancing class. I am not making any progress. W: If I ...
2,154
26.278481
87
yml
null
ParlAI-main/parlai/tasks/dream/test/dream_valid.yml
acts: - - episode_done: true eval_labels: - To change her job. id: dream label_candidates: - To teach a different textbook. - To change her job. - To learn a different textbook. text: 'M: How long have you been teaching in this middle school? W: For ten years. To be frank, I''m ti...
2,256
25.869048
85
yml
null
ParlAI-main/parlai/tasks/dstc7/__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/dstc7/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. """ The Ubuntu dataset used for dstc 7. """ from parlai.core.teachers import FixedDialogTeacher from parlai.utils.io imp...
4,895
28.493976
88
py
null
ParlAI-main/parlai/tasks/dstc7/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 os from parlai.core.build_data import DownloadableFile import parlai.core.build_data as build_data RESOURCES = [...
1,107
28.945946
75
py
null
ParlAI-main/parlai/tasks/dstc7/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 = '...
327
26.333333
65
py
null
ParlAI-main/parlai/tasks/dstc7/test/dstc7_test.yml
acts: - - episode_done: true eval_labels: - well we don't know 'cause of your PPAs! :D id: dstc7 label_candidates: - should be there by default, in Hoary right? - That's the beauty. We don't have viruses! :). Okay, we've had two in 15 years.. Still worried? :P - well we don't know '...
12,444
42.820423
95
yml
null
ParlAI-main/parlai/tasks/dstc7/test/dstc7_train.yml
acts: - - episode_done: true id: dstc7 label_candidates: - either way :) - I'm not sure there is one, you may need to just tweak ~/.config/xfce4. - I don't remember though. anyone else? how to get verbose output during a boot? turn of boot splash during live cd? - which error is that?. btw...
12,636
44.952727
107
yml
null
ParlAI-main/parlai/tasks/dstc7/test/dstc7_valid.yml
acts: - - episode_done: true eval_labels: - what are you missing in apt ? id: dstc7 label_candidates: - do you have synaptic package manager open? - what laptop? - what vmware are you installing btw? workstation or server, i usually use the .sh script they have - export http_proxy=...
10,563
44.145299
118
yml