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/taskmaster/test/taskmaster_train.yml | acts:
- - episode_done: false
id: taskmaster
labels:
- Ok, what area are you thinking about?
text: Hi, I'm looking to book a table for Korean fod.
- - episode_done: false
id: taskmaster
labels:
- Ok, great. There's Thursday Kitchen, it has great reviews.
text: Somewhere in Southern NYC,... | 873 | 28.133333 | 84 | yml |
null | ParlAI-main/parlai/tasks/taskmaster/test/taskmaster_valid.yml | acts:
- - episode_done: false
eval_labels:
- Ok, what area are you thinking about?
id: taskmaster
text: Hi, I'm looking to book a table for Korean fod.
- - episode_done: false
eval_labels:
- Ok, great. There's Thursday Kitchen, it has great reviews.
id: taskmaster
text: Somewhere in Sou... | 898 | 28.966667 | 84 | yml |
null | ParlAI-main/parlai/tasks/taskmaster/test/taskmaster_woz_dialogue_test.yml | acts:
- - episode_done: false
eval_labels:
- 'Okay! let me see what we got.
I found 2 options.'
id: taskmaster:woz_dialogue
text: Oh well, I've tried to go see Aquaman in Reno, Nevada.
- - episode_done: false
eval_labels:
- Century Summit Sierra is the first.
id: taskmaster:woz_dialog... | 908 | 26.545455 | 75 | yml |
null | ParlAI-main/parlai/tasks/taskmaster/test/taskmaster_woz_dialogue_train.yml | acts:
- - episode_done: false
id: taskmaster:woz_dialogue
labels:
- 'Okay! let me see what we got.
I found 2 options.'
text: Oh well, I've tried to go see Aquaman in Reno, Nevada.
- - episode_done: false
id: taskmaster:woz_dialogue
labels:
- Century Summit Sierra is the first.
tex... | 883 | 25.787879 | 75 | yml |
null | ParlAI-main/parlai/tasks/taskmaster/test/taskmaster_woz_dialogue_valid.yml | acts:
- - episode_done: false
eval_labels:
- 'Okay! let me see what we got.
I found 2 options.'
id: taskmaster:woz_dialogue
text: Oh well, I've tried to go see Aquaman in Reno, Nevada.
- - episode_done: false
eval_labels:
- Century Summit Sierra is the first.
id: taskmaster:woz_dialog... | 908 | 26.545455 | 75 | yml |
null | ParlAI-main/parlai/tasks/taskmaster2/README.md | # Taskmaster 2
Originally from the
[Google Research Datasets](https://github.com/google-research-datasets/Taskmaster/blob/master/TM-2-2020/README.md).
See that page for details.
| 179 | 29 | 115 | md |
null | ParlAI-main/parlai/tasks/taskmaster2/__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/taskmaster2/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.
"""
Taskmaster-2 implementation for ParlAI.
No official train/valid/test splits are available as of 2020-05-18, so we m... | 7,886 | 33.142857 | 87 | py |
null | ParlAI-main/parlai/tasks/taskmaster2/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 = "... | 4,014 | 30.865079 | 88 | py |
null | ParlAI-main/parlai/tasks/taskmaster2/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 = "taskmaster2"
... | 416 | 25.0625 | 65 | py |
null | ParlAI-main/parlai/tasks/taskmaster2/test/taskmaster2_UserSimulatorTeacher_test.yml | acts:
- - domain: sports
episode_done: false
eval_labels:
- 'USER: Hey, what''s the Denver Broncos record?'
id: Taskmaster2_UserSimulatorTeacher
text: 'GOAL: api_name = nfl ; name.team = Denver Broncos'
type: 'USER: '
- - domain: sports
episode_done: false
eval_labels:
- 'USER: What ... | 1,452 | 29.914894 | 91 | yml |
null | ParlAI-main/parlai/tasks/taskmaster2/test/taskmaster2_UserSimulatorTeacher_train.yml | acts:
- - domain: sports
episode_done: false
id: Taskmaster2_UserSimulatorTeacher
labels:
- 'USER: Hey. How are the Denver Nuggets doing this year?'
text: 'GOAL: api_name = nba ; name.team = Denver Nuggets | api_name = nba ; name.player
= Nikola Jokic'
type: 'USER: '
- - domain: sports
... | 1,335 | 29.363636 | 91 | yml |
null | ParlAI-main/parlai/tasks/taskmaster2/test/taskmaster2_UserSimulatorTeacher_valid.yml | acts:
- - domain: sports
episode_done: false
eval_labels:
- 'USER: '
id: Taskmaster2_UserSimulatorTeacher
text: 'GOAL: api_name = mls ; name.team = Vancouver Whitecaps FC? | api_name =
mls ; day.match = last Saturday | api_name = mls ; position.player = goalkeeper'
type: 'USER: '
- - domai... | 1,457 | 30.695652 | 86 | yml |
null | ParlAI-main/parlai/tasks/taskmaster2/test/taskmaster2_test.yml | acts:
- - domain: sports
episode_done: false
eval_labels:
- 'APIS: '
id: Taskmaster2_SystemTeacher
slots: {}
text: 'APIS: '
type: 'APIS: '
- - domain: sports
episode_done: false
eval_labels:
- 'APICALL: api_name = nfl ; name.team = Denver Broncos'
id: Taskmaster2_SystemTeache... | 1,601 | 27.607143 | 87 | yml |
null | ParlAI-main/parlai/tasks/taskmaster2/test/taskmaster2_train.yml | acts:
- - domain: sports
episode_done: false
id: Taskmaster2_SystemTeacher
labels:
- 'APIS: '
slots: {}
text: 'APIS: '
type: 'APIS: '
- - domain: sports
episode_done: false
id: Taskmaster2_SystemTeacher
labels:
- 'APICALL: api_name = nba ; name.team = Denver Nuggets'
slot... | 1,239 | 24.306122 | 78 | yml |
null | ParlAI-main/parlai/tasks/taskmaster2/test/taskmaster2_valid.yml | acts:
- - domain: sports
episode_done: false
eval_labels:
- 'APIS: '
id: Taskmaster2_SystemTeacher
slots: {}
text: 'APIS: '
type: 'APIS: '
- - domain: sports
episode_done: false
eval_labels:
- 'APICALL: '
id: Taskmaster2_SystemTeacher
slots: {}
text: 'USER: '
type... | 931 | 20.181818 | 44 | yml |
null | ParlAI-main/parlai/tasks/taskmaster3/__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/taskmaster3/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.
"""
Taskmaster-3 implementation for ParlAI.
No official train/valid/test splits are available as of 2020-05-18, so we m... | 7,046 | 31.625 | 88 | py |
null | ParlAI-main/parlai/tasks/taskmaster3/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 = (... | 5,232 | 29.964497 | 82 | py |
null | ParlAI-main/parlai/tasks/taskmaster3/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 = "taskmaster3:Sys... | 429 | 25.875 | 65 | py |
null | ParlAI-main/parlai/tasks/taskmaster3/test/taskmaster3_SystemTeacher_test.yml | acts:
- - domain: ''
episode_done: false
eval_labels:
- 'APIS: '
id: Taskmaster3_SystemTeacher
slots: {}
text: 'APIS: '
type: 'APIS: '
- - domain: ''
episode_done: false
eval_labels:
- 'APICALL: '
id: Taskmaster3_SystemTeacher
slots: {}
text: 'USER: Can you help me or... | 1,103 | 23.533333 | 82 | yml |
null | ParlAI-main/parlai/tasks/taskmaster3/test/taskmaster3_SystemTeacher_train.yml | acts:
- - domain: ''
episode_done: false
id: Taskmaster3_SystemTeacher
labels:
- 'APIS: '
slots: {}
text: 'APIS: '
type: 'APIS: '
- - domain: ''
episode_done: false
id: Taskmaster3_SystemTeacher
labels:
- 'APICALL: api_name = resolve_movie ; name.movie = that live action asia... | 1,747 | 28.133333 | 86 | yml |
null | ParlAI-main/parlai/tasks/taskmaster3/test/taskmaster3_SystemTeacher_valid.yml | acts:
- - domain: ''
episode_done: false
eval_labels:
- 'APIS: '
id: Taskmaster3_SystemTeacher
slots: {}
text: 'APIS: '
type: 'APIS: '
- - domain: ''
episode_done: false
eval_labels:
- 'APICALL: api_name = find_movies ; description.other = new'
id: Taskmaster3_SystemTeacher
... | 1,399 | 25.923077 | 82 | yml |
null | ParlAI-main/parlai/tasks/taskmaster3/test/taskmaster3_UserSimulatorTeacher_test.yml | acts:
- - domain: ''
episode_done: false
eval_labels:
- 'USER: Can you help me order 5 tickets to a movie this Friday?'
id: Taskmaster3_UserSimulatorTeacher
text: 'GOAL: api_name = find_movies ; name.theater = Century 16 theater | api_name
= get_movie_attribute ; attribute = description.plot ;... | 2,294 | 40.727273 | 92 | yml |
null | ParlAI-main/parlai/tasks/taskmaster3/test/taskmaster3_UserSimulatorTeacher_train.yml | acts:
- - domain: ''
episode_done: false
id: Taskmaster3_UserSimulatorTeacher
labels:
- 'USER: im looking for a place playing that new live action Asian disney movie'
text: 'GOAL: api_name = resolve_movie ; name.movie = that live action asian disney
movie | api_name = find_theaters ; location ... | 1,977 | 34.963636 | 88 | yml |
null | ParlAI-main/parlai/tasks/taskmaster3/test/taskmaster3_UserSimulatorTeacher_valid.yml | acts:
- - domain: ''
episode_done: false
eval_labels:
- 'USER: What new movies are popular with friends on my contact list?'
id: Taskmaster3_UserSimulatorTeacher
text: 'GOAL: api_name = find_movies ; description.other = new | api_name = find_movies
; description.other = popular with friends | ... | 2,098 | 37.87037 | 100 | yml |
null | ParlAI-main/parlai/tasks/taskntalk/README.md | Task: Task N' Talk
===================
Description: Dataset of synthetic shapes described by attributes, for agents to play a cooperative QA game, from Kottur et al. '17.
Link: https://arxiv.org/abs/1706.08502
Tags: #TaskNTalk, #All, #Goal
| 244 | 26.222222 | 132 | md |
null | ParlAI-main/parlai/tasks/taskntalk/__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/taskntalk/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 parlai.utils.io import PathManager
from .build import build
import json
i... | 3,737 | 27.753846 | 87 | py |
null | ParlAI-main/parlai/tasks/taskntalk/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 itertools
import json
import os
import random
import parlai.core.build_data as build_data
from parlai.utils.io i... | 4,163 | 30.78626 | 87 | py |
null | ParlAI-main/parlai/tasks/tod_json/README.md | # TOD Json Task Agent
Takes a .jsonl conversation output from model-model chats from `tod_world_script.py`, puts it into the TOD intermediate conversations format so we can use it in a variety of different teachers.
For example, to see the display of the data:
```
parlai dd -t tod_json:SystemTeacher --jsonfile-datapa... | 496 | 40.416667 | 193 | md |
null | ParlAI-main/parlai/tasks/tod_json/__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/tod_json/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 task simply loads the specified file: useful for quick tests without
# setting up a new task.
from typing impor... | 9,036 | 35.003984 | 438 | py |
null | ParlAI-main/parlai/tasks/triviaqa/README.md | Task: TriviaQA
===============
Description: Open-domain QA dataset with question-answer-evidence triples, from Joshi et al. '17.
Link: https://arxiv.org/abs/1705.03551
Tags: #TriviaQA, #All, #QA
| 199 | 21.222222 | 98 | md |
null | ParlAI-main/parlai/tasks/triviaqa/__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/triviaqa/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, MultiTaskTeacher
from parlai.utils.io import PathManager
from .build impo... | 6,284 | 33.157609 | 83 | py |
null | ParlAI-main/parlai/tasks/triviaqa/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 json
import os
... | 3,822 | 40.107527 | 82 | py |
null | ParlAI-main/parlai/tasks/twitter/README.md | Task: Twitter
==============
Description: Twitter data from: https://github.com/Marsan-Ma/chat_corpus/. No train/valid/test split was provided so 10k for valid and 10k for test was chosen at random.
Tags: #Twitter, #All, #ChitChat
| 233 | 32.428571 | 169 | md |
null | ParlAI-main/parlai/tasks/twitter/__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/twitter/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 ParlAIDialogTeacher
from .build import build
import copy
import os
def _path(opt):
... | 695 | 25.769231 | 65 | py |
null | ParlAI-main/parlai/tasks/twitter/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.
try:
from emoji.unicode_codes import UNICODE_EMOJI
import un... | 3,851 | 29.571429 | 91 | py |
null | ParlAI-main/parlai/tasks/twitter/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 = '... | 329 | 26.5 | 65 | py |
null | ParlAI-main/parlai/tasks/twitter/test/twitter_test.yml | acts:
- - episode_done: true
eval_labels:
- too bad you don't actually go to my school you liar @face_with_tears_of_joy@
id: twitter
text: when you find so you decide to stay in her class @face_with_tears_of_joy@
@winking_face@
- - episode_done: true
eval_labels:
- and she had her blue , d... | 1,084 | 32.90625 | 83 | yml |
null | ParlAI-main/parlai/tasks/twitter/test/twitter_train.yml | acts:
- - episode_done: true
id: twitter
labels:
- before you go to work open each episode up in its own tab
text: psych is being taken off of netflix tomorrow and i have 8 episodes left
and i work tonight kill me
- - episode_done: true
id: twitter
labels:
- would you have sat and wait... | 1,162 | 34.242424 | 84 | yml |
null | ParlAI-main/parlai/tasks/twitter/test/twitter_valid.yml | acts:
- - episode_done: true
eval_labels:
- white ford boys @face_with_steam_from_nose@ @face_with_steam_from_nose@ @face_with_tears_of_joy@
id: twitter
text: if you see any clowns tn lmk . me and the boys cleaning the streets @face_with_steam_from_nose@
@face_with_steam_from_nose@
- - episode_don... | 1,214 | 35.818182 | 105 | yml |
null | ParlAI-main/parlai/tasks/ubuntu/README.md | Task: Ubuntu
=============
Description: Dialogs between an Ubuntu user and an expert trying to fix issue, we use the V2 version, which cleaned the data to some extent. From Lowe et al. '15.
Link: https://arxiv.org/abs/1506.08909.
Tags: #Ubuntu, #All, #ChitChat
| 265 | 28.555556 | 163 | md |
null | ParlAI-main/parlai/tasks/ubuntu/__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/ubuntu/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, FixedDialogTeacher
from parlai.utils.io import PathManager
from .build i... | 3,898 | 31.764706 | 88 | py |
null | ParlAI-main/parlai/tasks/ubuntu/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.c... | 1,163 | 28.846154 | 75 | py |
null | ParlAI-main/parlai/tasks/ubuntu/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 = '... | 405 | 24.375 | 65 | py |
null | ParlAI-main/parlai/tasks/ubuntu/test/ubuntu_multiturn_test.yml | acts:
- - episode_done: false
eval_labels:
- 'looks like it used to be exported by lightdm, but the line had the comment
"// FIXME: Is this required?" so I guess it isn''t surprising it is gone'
id: ubuntu:multiturn
text: anyone knows why my stock oneiric exports env var 'USERNAME'? I mean what
... | 1,530 | 41.527778 | 88 | yml |
null | ParlAI-main/parlai/tasks/ubuntu/test/ubuntu_multiturn_train.yml | acts:
- - episode_done: false
id: ubuntu:multiturn
labels:
- it would be very easy to keep a hash db of message-ids . sounds good
text: i think we could import the old comments via rsync, but from there we need
to go via email. I think it is easier than caching the status on each bug and
th... | 1,129 | 33.242424 | 89 | yml |
null | ParlAI-main/parlai/tasks/ubuntu/test/ubuntu_multiturn_valid.yml | acts:
- - episode_done: true
eval_labels:
- already is
id: ubuntu:multiturn
text: Any ideas on how lts will be released ?
- - episode_done: true
eval_labels:
- We are talking 12.04 not 10.04 .
id: ubuntu:multiturn
text: already is
- - episode_done: true
eval_labels:
- https://hel... | 1,049 | 32.870968 | 133 | yml |
null | ParlAI-main/parlai/tasks/ubuntu/test/ubuntu_test.yml | acts:
- - episode_done: true
eval_labels:
- nice thanks! .
id: ubuntu
label_candidates:
- my humble apologies .
- '!nomodeset > acer . I''m assuming it is a driver issue. . !pm > acer . i DON''T
pm. ;) . OOPS SORRY FOR THE CAPS .'
- ok .
- '#ubuntu-offtopic .'
- thx . unfortuna... | 6,990 | 51.56391 | 93 | yml |
null | ParlAI-main/parlai/tasks/ubuntu/test/ubuntu_train.yml | acts:
- - episode_done: true
id: ubuntu
labels:
- basically each xfree86 upload will NOT force users to upgrade 100Mb of fonts
for nothing . no something i did in my spare time. .
text: "i think we could import the old comments via rsync, but from there we need\
\ to go via email. I think it... | 7,761 | 68.927928 | 107 | yml |
null | ParlAI-main/parlai/tasks/ubuntu/test/ubuntu_valid.yml | acts:
- - episode_done: true
eval_labels:
- We are talking 12.04 not 10.04 .
id: ubuntu
label_candidates:
- you are still asking for the unity logout menu right? .
- 'lsb_release -sc . well... regardless. I believe the solution is going to be
to live boot to cd, chroot into the machine and... | 7,778 | 56.198529 | 136 | yml |
null | ParlAI-main/parlai/tasks/visdial/README.md | Task: VisDial
==============
Description: Task which requires agents to hold a meaningful dialog about visual content. From Das et al. '16.
Link: https://arxiv.org/abs/1611.08669
Tags: #VisDial, #All, #Visual
| 213 | 22.777778 | 111 | md |
null | ParlAI-main/parlai/tasks/visdial/__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/visdial/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 .build import build
from parlai.utils.io import PathManager
from par... | 3,332 | 31.359223 | 86 | py |
null | ParlAI-main/parlai/tasks/visdial/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
import json
fr... | 2,812 | 35.064103 | 87 | py |
null | ParlAI-main/parlai/tasks/vqa_v1/README.md | Task: VQAv1
============
Description: Open-ended question answering about visual content. From Agrawal et al. '15.
Link: https://arxiv.org/abs/1505.00468
Tags: #VQAv1, #All, #Visual
| 186 | 19.777778 | 90 | md |
null | ParlAI-main/parlai/tasks/vqa_v1/__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/vqa_v1/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
import json
impo... | 17,758 | 34.027613 | 88 | py |
null | ParlAI-main/parlai/tasks/vqa_v1/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... | 2,109 | 35.37931 | 85 | py |
null | ParlAI-main/parlai/tasks/vqa_v2/README.md | Task: VQAv2
============
Description: Bigger, more balanced version of the original VQA dataset. From Goyal et al. '16.
Link: https://arxiv.org/abs/1612.00837
Tags: #VQAv2, #All, #Visual
| 191 | 20.333333 | 95 | md |
null | ParlAI-main/parlai/tasks/vqa_v2/__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/vqa_v2/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.utils.io import PathManager
from parlai.core.teachers import FixedDialogTeacher
from parlai.core.image_featu... | 5,937 | 33.126437 | 88 | py |
null | ParlAI-main/parlai/tasks/vqa_v2/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... | 2,135 | 35.827586 | 88 | py |
null | ParlAI-main/parlai/tasks/webquestions/README.md | Task: Web Questions
====================
Description: Open-domain QA dataset from Web queries from Berant et al. '13.
Link: http://www.aclweb.org/anthology/D13-1160
Tags: #WebQuestions, #All, #QA
| 200 | 21.333333 | 77 | md |
null | ParlAI-main/parlai/tasks/webquestions/__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/webquestions/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... | 692 | 25.653846 | 69 | py |
null | ParlAI-main/parlai/tasks/webquestions/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 json
import os
im... | 2,414 | 30.363636 | 104 | py |
null | ParlAI-main/parlai/tasks/wikimovies/README.md | Task: WikiMovies
=================
Description: Closed-domain QA dataset asking templated questions about movies, answerable from Wikipedia. From Miller et al. '16.
Link: https://arxiv.org/abs/1606.03126
Tags: #WikiMovies, #All, #QA
| 237 | 25.444444 | 130 | md |
null | ParlAI-main/parlai/tasks/wikimovies/__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/wikimovies/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... | 1,895 | 27.727273 | 88 | py |
null | ParlAI-main/parlai/tasks/wikimovies/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,178 | 30.026316 | 75 | py |
null | ParlAI-main/parlai/tasks/wikimovies/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/wikimovies/test/wikimovies_test.yml | acts:
- - episode_done: true
eval_labels:
- Before the Rain
id: wikimovies
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/wikimovies/test/wikimovies_train.yml | acts:
- - episode_done: true
id: wikimovies
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
... | 3,257 | 22.438849 | 52 | yml |
null | ParlAI-main/parlai/tasks/wikimovies/test/wikimovies_valid.yml | acts:
- - episode_done: true
eval_labels:
- Once Were Warriors, Tracker, River Queen
id: wikimovies
label_candidates:
- '"""damn dirty apes"""'
- '"""found footage"""'
- '"""the hunter"""'
- '"""underaged sex""=child porn"'
- '"5'
- '"dope"""'
- '"dwayne ""the rock"" johnson"... | 3,282 | 22.618705 | 60 | yml |
null | ParlAI-main/parlai/tasks/wikipedia/README.md | Task: Wikipedia
================
Description: Dump of Wikipedia articles from 2/3/18
Tags: #Wikipedia, #All
Notes: Specify ':full' for the full articles to be returned, otherwise defaults to ':summary', which provides the first paragraphs. To put the article in the labels and the title in the text, specify ':key-valu... | 379 | 41.222222 | 267 | md |
null | ParlAI-main/parlai/tasks/wikipedia/__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/wikipedia/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.
"""
Provides a dump of Wikipedia articles from 2/3/18.
One can either load full articles, using 'wikipedia:full',
or sim... | 6,906 | 33.193069 | 87 | py |
null | ParlAI-main/parlai/tasks/wikipedia/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,295 | 31.4 | 75 | py |
null | ParlAI-main/parlai/tasks/wikiqa/README.md | Task: WikiQA
=============
Description: Open domain QA from Wikipedia dataset from Yang et al. '15.
Link: https://www.microsoft.com/en-us/research/publication/wikiqa-a-challenge-dataset-for-open-domain-question-answering/
Tags: #WikiQA, #All, #QA
| 251 | 27 | 121 | md |
null | ParlAI-main/parlai/tasks/wikiqa/__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/wikiqa/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... | 979 | 25.486486 | 74 | py |
null | ParlAI-main/parlai/tasks/wikiqa/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... | 2,789 | 35.233766 | 88 | py |
null | ParlAI-main/parlai/tasks/wikiqa/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/wikiqa/test/wikiqa_test.yml | acts:
- - episode_done: true
eval_labels:
- As such, African immigrants are to be distinguished from African American people,
the latter of whom are descendants of mostly West and Central Africans who were
involuntarily brought to the United States by means of the historic Atlantic
slave trade... | 9,047 | 57.753247 | 92 | yml |
null | ParlAI-main/parlai/tasks/wikiqa/test/wikiqa_train.yml | acts:
- - episode_done: true
id: wikiqa
label_candidates:
- The ice facade is approximately 60 m high
- Ice formations in the Titlis glacier cave
- A glacier cave is a cave formed within the ice of a glacier .
- Glacier caves are often called ice caves , but this term is properly used to
d... | 7,081 | 51.850746 | 93 | yml |
null | ParlAI-main/parlai/tasks/wikiqa/test/wikiqa_valid.yml | acts:
- - episode_done: true
eval_labels:
- Employing over 6,000, BMC is often credited with pioneering the BSM concept
as a way to help better align IT operations with business needs.
- 'For 2011, the company recorded an annual revenue of $2.1 billion, making it
the #20 largest software company... | 10,726 | 59.60452 | 91 | yml |
null | ParlAI-main/parlai/tasks/wikisql/README.md | Task: WikiSQL semantic parsing task
====================================
Description: Dataset for parsing sentences to SQL code, given a table. Implemented as part of the DecaNLP task. More info can be found here:https://github.com/salesforce/WikiSQL
Tags: #wikisql, #All, #decanlp
| 284 | 39.714286 | 177 | md |
null | ParlAI-main/parlai/tasks/wikisql/__init__.py | 0 | 0 | 0 | py | |
null | ParlAI-main/parlai/tasks/wikisql/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 DialogTeacher
from parlai.utils.i... | 3,495 | 27.655738 | 83 | py |
null | ParlAI-main/parlai/tasks/wikisql/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,403 | 30.2 | 75 | py |
null | ParlAI-main/parlai/tasks/wikisql/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 = "wikisql"
cla... | 392 | 23.5625 | 65 | py |
null | ParlAI-main/parlai/tasks/wikisql/test/wikisql_test.yml | acts:
- - episode_done: true
eval_labels:
- SELECT Nationality FROM table WHERE Player = Terrence Ross
id: wikisql
text: 'The table has column names Player, No., Nationality, Position, Years in
Toronto and School/Club Team.
What is terrence ross'' nationality'
- - episode_done: true
ev... | 1,471 | 32.454545 | 86 | yml |
null | ParlAI-main/parlai/tasks/wikisql/test/wikisql_train.yml | acts:
- - episode_done: true
id: wikisql
labels:
- SELECT Notes FROM table WHERE Current slogan = SOUTH AUSTRALIA
text: 'The table has column names State/territory, Text/background colour, Format,
Current slogan, Current series and Notes.
Tell me what the notes are for South Australia '
- ... | 1,718 | 37.2 | 86 | yml |
null | ParlAI-main/parlai/tasks/wikisql/test/wikisql_valid.yml | acts:
- - episode_done: true
eval_labels:
- SELECT Position FROM table WHERE School/Club Team = Butler CC (KS)
id: wikisql
text: 'The table has column names Player, No., Nationality, Position, Years in
Toronto and School/Club Team.
What position does the player who played for butler cc (ks... | 1,530 | 33.795455 | 85 | yml |