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/holl_e/test/holl_e_train.yml | acts:
- - episode_done: false
id: holl_e
labels:
- This movie is brings out the wholesome, affirmative side of the hip-hop aesthetic
without being overly preachy
text: "Pressuring Honey to take up teaching Ballet classes, her parents refuse\
\ to help with the new dance studio. Honey gets a ... | 16,492 | 77.165877 | 109 | yml |
null | ParlAI-main/parlai/tasks/holl_e/test/holl_e_valid.yml | acts:
- - episode_done: false
eval_labels:
- I liked the one in which Caesar talks to MacDonald about the apes' revolt in
front of a fire.
id: holl_e
text: "... now we will put away our hatred. Now we will put down our weapons.\
\ We have passed through the night of the fires, and those who ... | 9,675 | 72.30303 | 93 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/README.md | Task: HotpotQA
===============
Description: HotpotQA is a dataset for multi-hop question answering.The overall setting is that given some context paragraphs(e.g., a few paragraphs, or the entire Web) and a question,a QA system answers the question by extracting a span of textfrom the context. It is necessary to perform... | 447 | 48.777778 | 342 | md |
null | ParlAI-main/parlai/tasks/hotpotqa/__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/hotpotqa/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 parlai.utils.misc import warn_once
from .build import build
i... | 1,331 | 25.64 | 79 | py |
null | ParlAI-main/parlai/tasks/hotpotqa/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
from parlai.util... | 3,280 | 33.904255 | 81 | py |
null | ParlAI-main/parlai/tasks/hotpotqa/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 = "hotpotqa"
cl... | 474 | 22.75 | 65 | py |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_distractor_test.yml | acts:
- - episode_done: true
eval_labels:
- 'yes'
id: hotpotqa:distractor
text: "Ed Wood (film)\nEd Wood is a 1994 American biographical period comedy-drama\
\ film directed and produced by Tim Burton, and starring Johnny Depp as cult\
\ filmmaker Ed Wood.\n The film concerns the period in W... | 30,084 | 80.531165 | 94 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_distractor_train.yml | acts:
- - episode_done: true
id: hotpotqa:distractor
labels:
- Arthur's Magazine
text: "Radio City (Indian radio station)\nRadio City is India's first private\
\ FM radio station and was started on 3 July 2001.\n It broadcasts on 91.1 (earlier\
\ 91.0 in most cities) megahertz from Mumbai (w... | 31,959 | 80.948718 | 101 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_distractor_valid.yml | acts:
- - episode_done: true
eval_labels:
- 'yes'
id: hotpotqa:distractor
text: "Ed Wood (film)\nEd Wood is a 1994 American biographical period comedy-drama\
\ film directed and produced by Tim Burton, and starring Johnny Depp as cult\
\ filmmaker Ed Wood.\n The film concerns the period in W... | 30,084 | 80.531165 | 94 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_fullwiki_test.yml | acts:
- - episode_done: true
eval_labels:
- 'yes'
id: hotpotqa:fullwiki
text: "Adam Collis\nAdam Collis is an American filmmaker and actor.\n He attended\
\ the Duke University from 1986 to 1990 and the University of California, Los\
\ Angeles from 2007 to 2010.\n He also studied cinema at t... | 31,594 | 80.852332 | 94 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_fullwiki_train.yml | acts:
- - episode_done: true
id: hotpotqa:fullwiki
labels:
- Arthur's Magazine
text: "Radio City (Indian radio station)\nRadio City is India's first private\
\ FM radio station and was started on 3 July 2001.\n It broadcasts on 91.1 (earlier\
\ 91.0 in most cities) megahertz from Mumbai (whe... | 31,949 | 80.923077 | 101 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_fullwiki_valid.yml | acts:
- - episode_done: true
eval_labels:
- 'yes'
id: hotpotqa:fullwiki
text: "Adam Collis\nAdam Collis is an American filmmaker and actor.\n He attended\
\ the Duke University from 1986 to 1990 and the University of California, Los\
\ Angeles from 2007 to 2010.\n He also studied cinema at t... | 31,594 | 80.852332 | 94 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_test.yml | acts:
- - episode_done: true
eval_labels:
- 'yes'
id: hotpotqa
text: "Adam Collis\nAdam Collis is an American filmmaker and actor.\n He attended\
\ the Duke University from 1986 to 1990 and the University of California, Los\
\ Angeles from 2007 to 2010.\n He also studied cinema at the Univer... | 31,549 | 80.735751 | 94 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_train.yml | acts:
- - episode_done: true
id: hotpotqa
labels:
- Arthur's Magazine
text: "Radio City (Indian radio station)\nRadio City is India's first private\
\ FM radio station and was started on 3 July 2001.\n It broadcasts on 91.1 (earlier\
\ 91.0 in most cities) megahertz from Mumbai (where it was... | 31,904 | 80.807692 | 101 | yml |
null | ParlAI-main/parlai/tasks/hotpotqa/test/hotpotqa_valid.yml | acts:
- - episode_done: true
eval_labels:
- 'yes'
id: hotpotqa
text: "Adam Collis\nAdam Collis is an American filmmaker and actor.\n He attended\
\ the Duke University from 1986 to 1990 and the University of California, Los\
\ Angeles from 2007 to 2010.\n He also studied cinema at the Univer... | 31,549 | 80.735751 | 94 | yml |
null | ParlAI-main/parlai/tasks/huggingface/README.md | Task: HuggingFace
===============
Description: Can load HuggingFace datasets.
Website: https://huggingface.co/
| 112 | 17.833333 | 43 | md |
null | ParlAI-main/parlai/tasks/huggingface/__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/huggingface/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.build_data import make_dir
from parlai.core.teachers import DialogTeacher
from parlai.utils.data import... | 4,686 | 38.058333 | 136 | py |
null | ParlAI-main/parlai/tasks/igc/__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/igc/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.
"""
Image Grounded Conversations (IGC) Task.
See https://www.aclweb.org/anthology/I17-1047/ for more details. One must d... | 11,014 | 30.561605 | 87 | py |
null | ParlAI-main/parlai/tasks/image_chat/README.md | Task: Image_Chat
=================
Description: 202k dialogues and 401k utterances over 202k images from the YFCC100m dataset(https://multimediacommons.wordpress.com/yfcc100m-core-dataset/)using 215 possible personality traitssee https://klshuster.github.io/image_chat/ for more information.
Tags: #Image_Chat, #All, #V... | 753 | 74.4 | 260 | md |
null | ParlAI-main/parlai/tasks/image_chat/__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/image_chat/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.
"""
Images and Dialogues from Image-Chat dataset.
202k images, 401k utterances, over 215 different personalities.
"""
fro... | 14,335 | 32.891253 | 129 | py |
null | ParlAI-main/parlai/tasks/image_chat/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
from parlai.tas... | 1,382 | 31.162791 | 77 | py |
null | ParlAI-main/parlai/tasks/image_chat/download_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.
import argparse
from parlai.tasks.image_chat.build import build
def parse_args():
"""
Wrapper to parse CLI argu... | 781 | 22 | 76 | py |
null | ParlAI-main/parlai/tasks/image_chat/download_data.sh | #!/usr/bin/env bash
# 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.
export CURRENT_DIR=${PWD}
# Should return the ParlAI clone path
echo "Running code from: " $CURRENT_DIR
export DATA_DIR=/tm... | 464 | 28.0625 | 65 | sh |
null | ParlAI-main/parlai/tasks/insuranceqa/README.md | Task: InsuranceQA
==================
Description: Task which requires agents to identify high quality answers composed by professionals with deep domain knowledge. From Feng et al. '15.
Link: https://arxiv.org/abs/1508.01585
Tags: #InsuranceQA, #All, #QA
| 259 | 27.888889 | 149 | md |
null | ParlAI-main/parlai/tasks/insuranceqa/__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/insuranceqa/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 os
from parlai.core.teachers import FbDeprecatedDialogTeacher
from .build import build
def _path(ve... | 1,293 | 26.531915 | 71 | py |
null | ParlAI-main/parlai/tasks/insuranceqa/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 typing import Optional
import gzip
import os
from parlai.core... | 8,456 | 33.518367 | 85 | py |
null | ParlAI-main/parlai/tasks/insuranceqa/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 = "insuranceqa"
... | 455 | 21.8 | 65 | py |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_test.yml | acts:
- - episode_done: true
eval_labels:
- retirement planning be pay yourself first whether you use a qualified plan or
nonqualified plan you need determine your tax bracket and if you be invest in
the market you need determine your risk tolerance plan have differ contribution
limit so you n... | 61,620 | 76.706179 | 94 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_train.yml | acts:
- - episode_done: true
id: insuranceqa
labels:
- provided that you have name a primarybeneficiary in your life policy then yes
the proceeds from that policy upon your death will pass directly to your beneficiary
without any trouble from creditor in addition to name a beneficiary it be also... | 3,533 | 52.545455 | 90 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_v1_test.yml | acts:
- - episode_done: true
eval_labels:
- retirement planning be pay yourself first whether you use a qualified plan or
nonqualified plan you need determine your tax bracket and if you be invest in
the market you need determine your risk tolerance plan have differ contribution
limit so you n... | 61,635 | 76.725095 | 94 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_v1_train.yml | acts:
- - episode_done: true
id: insuranceqa:v1
labels:
- provided that you have name a primarybeneficiary in your life policy then yes
the proceeds from that policy upon your death will pass directly to your beneficiary
without any trouble from creditor in addition to name a beneficiary it be a... | 3,548 | 52.772727 | 90 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_v1_valid.yml | acts:
- - episode_done: true
eval_labels:
- borrowing against a life insurance policy require cash value inside that policy
term life insurance do not have cash value but whole life insurance policy may
so you will need have a whole life policy with global Life Insurance in order
to be able bo... | 63,581 | 77.014724 | 92 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_v2_test.yml | acts:
- - episode_done: true
eval_labels:
- Actually term life insurance can not be paid up . It just expires or has a steep
premium increase many times 1,000 % . The cash value policies such as whole
life , universal life , indexed universal life or variable universal life do
endow or are `` ... | 117,252 | 79.586254 | 98 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_v2_train.yml | acts:
- - episode_done: true
id: insuranceqa:v2
label_candidates:
- 'Not generally . There are five states that require most all employers carry
short term disability insurance on their employees . These states are : California
, Hawaii , New Jersey , New York , and Rhode Island . Besides this m... | 90,733 | 78.312937 | 95 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_v2_valid.yml | acts:
- - episode_done: true
eval_labels:
- Sadly no . Medicare does cover a lot of the medical and hospital expenses incurred
by a hospital stay . But it does not cover the co-pays required by Medicare
. Medicare will cover 80 % leaving the insured to cover the other 20 % along
with a payment... | 116,918 | 79.856846 | 95 | yml |
null | ParlAI-main/parlai/tasks/insuranceqa/test/insuranceqa_valid.yml | acts:
- - episode_done: true
eval_labels:
- borrowing against a life insurance policy require cash value inside that policy
term life insurance do not have cash value but whole life insurance policy may
so you will need have a whole life policy with global Life Insurance in order
to be able bo... | 63,566 | 76.996319 | 92 | yml |
null | ParlAI-main/parlai/tasks/integration_tests/README.md | Task: Integration Tests
========================
Description: Artificial tasks for ensuring models perform as expected
Tags: #integration_tests, #All, #Debug
| 160 | 22 | 69 | md |
null | ParlAI-main/parlai/tasks/integration_tests/__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/integration_tests/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.
"""
These agents contain a number of "unit test" corpora, or fake corpora that ensure models
can learn simple behavior e... | 16,616 | 27.405128 | 88 | py |
null | ParlAI-main/parlai/tasks/interactive/README.md | Task: Interactive
=================
Description: A generic task for interactive chat between two dialogue partners.
| 117 | 22.6 | 79 | md |
null | ParlAI-main/parlai/tasks/interactive/__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/interactive/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.
class DefaultTeacher:
# Dummy class.
pass
class InteractiveTeacher:
# Dummy class to add arguments for in... | 346 | 20.6875 | 65 | py |
null | ParlAI-main/parlai/tasks/interactive/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 copy import deepcopy
from typing import Optional
from parlai.core.opt import Opt
from parlai.core.params import P... | 2,993 | 29.865979 | 84 | py |
null | ParlAI-main/parlai/tasks/iwslt14/README.md | Task: IWSLT14
==============
Description: 2014 International Workshop on Spoken Language task, currently only includes en_de and de_en. From Cettolo et al. '12. Link: wit3.fbk.eu
Tags: #IWSLT14, #All, #MT, #decanlp
| 217 | 30.142857 | 149 | md |
null | ParlAI-main/parlai/tasks/iwslt14/__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/iwslt14/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 .build import build
import ... | 1,657 | 27.101695 | 78 | py |
null | ParlAI-main/parlai/tasks/iwslt14/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.... | 1,164 | 28.871795 | 75 | py |
null | ParlAI-main/parlai/tasks/iwslt14/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/iwslt14/test/iwslt14_test.yml | acts:
- - episode_done: true
eval_labels:
- you know , one of the inten@@ se pleas@@ ures of travel and one of the deli@@
ghts of eth@@ no@@ graphic research is the opportunity to live am@@ on@@ gst
those who have not for@@ gotten the old ways , who still feel their past in
the wind , touch it... | 3,000 | 54.574074 | 89 | yml |
null | ParlAI-main/parlai/tasks/iwslt14/test/iwslt14_train.yml | acts:
- - episode_done: true
id: iwslt14
labels:
- and it can be a very complicated thing , what human health is .
text: und was menschliche gesundheit ist , kann auch ziemlich kompliziert sein
.
- - episode_done: true
id: iwslt14
labels:
- and bringing those two together might seem a ... | 1,749 | 42.75 | 90 | yml |
null | ParlAI-main/parlai/tasks/iwslt14/test/iwslt14_valid.yml | acts:
- - episode_done: true
eval_labels:
- it 's that pyrami@@ d .
id: iwslt14
text: es ist diese pyrami@@ de .
- - episode_done: true
eval_labels:
- in mother 's milk .
id: iwslt14
text: durch die mutter@@ mil@@ ch .
- - episode_done: true
eval_labels:
- it had two-@@... | 996 | 31.16129 | 87 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/README.md | # Jericho World
ParlAI teachers for the [JerichoWorld Dataset](https://github.com/JerichoWorld/JerichoWorld).
## Knowledge Graph Teachers
* **StaticKGTeacher**: Maps the location name and description, and list of surounding objects to the Knowledge Graph. This taecher only looks at its current single state, hence *sta... | 1,542 | 109.214286 | 299 | md |
null | ParlAI-main/parlai/tasks/jericho_world/__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/jericho_world/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 abc
from copy import deepcopy
from typing import Any, Dict, List, Set, Union, Optional, Tuple
import json
import ... | 21,968 | 33.982484 | 113 | py |
null | ParlAI-main/parlai/tasks/jericho_world/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 git import Repo
import os
import parlai.core.build_data as build_data
from parlai.core.opt import Opt
import parla... | 1,468 | 28.38 | 81 | py |
null | ParlAI-main/parlai/tasks/jericho_world/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.
from enum import Enum
import nltk
from nltk.corpus import stopwords
class GraphMutations(Enum):
NO_MUTATION = 0
... | 1,150 | 26.404762 | 101 | py |
null | ParlAI-main/parlai/tasks/jericho_world/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 StaticKGTeacher(AutoTeacherTest):
task = 'jericho_world'
... | 706 | 24.25 | 65 | py |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_ActionKGTeacher_test.yml | acts:
- - action: west
episode_done: true
eval_labels:
- NO_MUTATION
id: jericho_world:ActionKGTeacher
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
- Chief's office
inventory_objs:
- white piece paper
locati... | 12,831 | 31.818414 | 92 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_ActionKGTeacher_train.yml | acts:
- - action: south
episode_done: true
id: jericho_world:ActionKGTeacher
labels:
- NO_MUTATION
next_state:
graph:
- - tree
- in
- Forest
- - muddy trail
- in
- Forest
- - machinery
- in
- Forest
- - underbrush
... | 24,421 | 28.782927 | 96 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_ActionKGTeacher_valid.yml | acts:
- - action: west
episode_done: true
eval_labels:
- NO_MUTATION
id: jericho_world:ActionKGTeacher
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
- Chief's office
inventory_objs:
- white piece paper
locati... | 12,831 | 31.818414 | 92 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StateToActionTeacher_test.yml | acts:
- - action: west
episode_done: true
eval_labels:
- west
id: jericho_world:StateToActionTeacher
label_candidates:
- east
- take piece
- north
- west
- west
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
... | 12,310 | 30.566667 | 92 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StateToActionTeacher_train.yml | acts:
- - action: south
episode_done: true
id: jericho_world:StateToActionTeacher
label_candidates:
- ask other about graffiti
- north
- south
labels:
- south
next_state:
graph:
- - tree
- in
- Forest
- - muddy trail
- in
- Forest
... | 22,760 | 28.031888 | 96 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StateToActionTeacher_valid.yml | acts:
- - action: west
episode_done: true
eval_labels:
- west
id: jericho_world:StateToActionTeacher
label_candidates:
- east
- take piece
- north
- west
- west
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
... | 12,310 | 30.566667 | 92 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StateToValidActionsTeacher_test.yml | acts:
- - action: west
episode_done: true
eval_labels:
- east
- take piece
- north
- west
id: jericho_world:StateToValidActionsTeacher
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
- Chief's office
inventory_... | 11,918 | 31.213514 | 92 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StateToValidActionsTeacher_train.yml | acts:
- - action: south
episode_done: true
id: jericho_world:StateToValidActionsTeacher
labels:
- ask other about graffiti
- north
next_state:
graph:
- - tree
- in
- Forest
- - muddy trail
- in
- Forest
- - machinery
- in
- ... | 22,431 | 28.361257 | 96 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StateToValidActionsTeacher_valid.yml | acts:
- - action: west
episode_done: true
eval_labels:
- east
- take piece
- north
- west
id: jericho_world:StateToValidActionsTeacher
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
- Chief's office
inventory_... | 11,918 | 31.213514 | 92 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StaticKGTeacher_test.yml | acts:
- - action: west
episode_done: true
eval_labels:
- < you , have , piece of white paper > ; < you , in , Chief's office >
id: jericho_world:StaticKGTeacher
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
- Chief's office
... | 11,341 | 32.358824 | 93 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StaticKGTeacher_train.yml | acts:
- - action: south
episode_done: true
id: jericho_world:StaticKGTeacher
labels:
- < tree , in , Forest > ; < muddy trail , in , Forest > ; < machinery , in ,
Forest > ; < underbrush , in , Forest > ; < you , in , Forest > ; < knock ,
in , Forest > ; < Forest , north , Rickety Fence >
... | 21,850 | 28.608401 | 97 | yml |
null | ParlAI-main/parlai/tasks/jericho_world/test/jericho_world_StaticKGTeacher_valid.yml | acts:
- - action: west
episode_done: true
eval_labels:
- < you , have , piece of white paper > ; < you , in , Chief's office >
id: jericho_world:StaticKGTeacher
next_state:
graph:
- - you
- have
- piece of white paper
- - you
- in
- Chief's office
... | 11,341 | 32.358824 | 93 | yml |
null | ParlAI-main/parlai/tasks/jsonfile/README.md | # JsonFile Task Agent
If you have a dialogue, QA or other text-only dataset that you can put in a text file in the format we will now describe, you can just load it directly from there, with no extra code!
E.g. use with:
python parlai/scripts/display_data.py -t jsonfile --jsonfile-datapath /tmp/data.json
See the f... | 375 | 40.777778 | 183 | md |
null | ParlAI-main/parlai/tasks/jsonfile/__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/jsonfile/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... | 2,286 | 33.134328 | 88 | py |
null | ParlAI-main/parlai/tasks/lccc/__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/lccc/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 copy
impo... | 1,445 | 27.352941 | 68 | py |
null | ParlAI-main/parlai/tasks/lccc/build.py | from parlai.core.build_data import DownloadableFile
from parlai.utils.io import PathManager
import parlai.core.build_data as build_data
import os
import json
RESOURCES = [
DownloadableFile(
'1oobhYW_S_vPPzP5bLAUTIm7TaRzryxgW',
'LCCC-base-split.zip',
'f5203511cd8d6a608008af0aa290aa516d983abc... | 2,104 | 31.890625 | 78 | py |
null | ParlAI-main/parlai/tasks/lccc/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 = 'lccc'
| 312 | 25.083333 | 65 | py |
null | ParlAI-main/parlai/tasks/lccc/test/lccc_test.yml | acts:
- - episode_done: true
eval_labels:
- 去相机家里吃……
id: lccc
text: 我饿了。
x_turn:
id: partner1
text: 我饿了。
y_turn:
id: partner2
text: 去相机家里吃……
- - episode_done: true
eval_labels:
- 你过来我们什么关系
id: lccc
text: 网络大实话里说的是也许你能在网络里找到你想要的友情但永远不会找到你想要的爱情
x_turn:
... | 1,120 | 18 | 50 | yml |
null | ParlAI-main/parlai/tasks/lccc/test/lccc_train.yml | acts:
- - episode_done: true
id: lccc
labels:
- 道歉!!再有时间找你去
text: 你去那儿竟然不喊我生气了,快点给我道歉
x_turn:
id: partner1
text: 你去那儿竟然不喊我生气了,快点给我道歉
y_turn:
id: partner2
text: 道歉!!再有时间找你去
- - episode_done: true
id: lccc
labels:
- SEED早上刚被禁用还有一个月的VIP路线呢禁了之后才买的另一个买了一年结果用了一下午就挂了... | 1,222 | 19.728814 | 70 | yml |
null | ParlAI-main/parlai/tasks/lccc/test/lccc_valid.yml | acts:
- - episode_done: true
eval_labels:
- 那个饭凉了吧唧的怎么吃啊摔
id: lccc
text: 啊我好爱虾仁蛋黄酱金枪鱼蛋黄酱
x_turn:
id: partner1
text: 啊我好爱虾仁蛋黄酱金枪鱼蛋黄酱
y_turn:
id: partner2
text: 那个饭凉了吧唧的怎么吃啊摔
- - episode_done: true
eval_labels:
- 看了下全文,那女的考试当天就表明身体不舒服了,考试不是她预约是教练自己安排的,教练还让她考试不就是教练的错... | 1,215 | 19.610169 | 86 | yml |
null | ParlAI-main/parlai/tasks/light_dialog/README.md | Task: LIGHT-Dialogue
=====================
Description: LIGHT is a text adventure game with actions and dialogue collected.The source data is collected between crowdworkers playing the game.
Link: http://parl.ai/projects/light
Tags: #LIGHT-Dialogue, #All, #Grounded
| 269 | 29 | 147 | md |
null | ParlAI-main/parlai/tasks/light_dialog/__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_dialog/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... | 10,120 | 34.264808 | 83 | py |
null | ParlAI-main/parlai/tasks/light_dialog/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.tasks.light_dialog.builder import build_from_db
from p... | 2,835 | 30.511111 | 75 | py |
null | ParlAI-main/parlai/tasks/light_dialog/builder.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
import io
import os
import pickle
from parlai.utils.misc import msg_to_str
rand = random.Random(42)
def... | 13,835 | 35.506596 | 87 | py |
null | ParlAI-main/parlai/tasks/light_dialog/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_dialog"
| 320 | 25.75 | 65 | py |
null | ParlAI-main/parlai/tasks/light_dialog/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 parlai.core... | 4,531 | 31.371429 | 84 | py |
null | ParlAI-main/parlai/tasks/light_dialog/test/light_dialog_test.yml | acts:
- - episode_done: false
eval_labels:
- Good Evening. You must be the painter of this room.
id: light_dialog
label_candidates:
- Good Evening. You must be the painter of this room.
- Is someone here?
- Is that an apple tree she's pointing at? Oh I can't believe it! This is like
th... | 12,345 | 48.782258 | 91 | yml |
null | ParlAI-main/parlai/tasks/light_dialog/test/light_dialog_train.yml | acts:
- - episode_done: false
id: light_dialog
label_candidates:
- We Navy mariners are ready to do our part to protect our fine harbor city!
- Well I'm going to give you the worst case of indigestion ever!
- Brains, brains, brains...I'm so hungry for brains.
- Hold up. Say whaaaaaat? That can... | 10,770 | 46.659292 | 90 | yml |
null | ParlAI-main/parlai/tasks/light_dialog/test/light_dialog_valid.yml | acts:
- - episode_done: false
eval_labels:
- Long time indeed! How have you been keeping?
id: light_dialog
label_candidates:
- hello, it seems we are both queens from different countries
- Warm milk and roasted meat
- I am not sir, I am happy to help you
- I do not think I am being held ... | 12,947 | 50.177866 | 97 | yml |
null | ParlAI-main/parlai/tasks/light_dialog_wild/README.md | Task: LIGHT-Dialogue-Wild
=========================
Description: LIGHT is a text adventure game with actions and dialogue.
The WILD dataset here features 41,131 training episodes of dialogue from [deploying as a game](https://arxiv.org/abs/1911.03842).
Link: http://parl.ai/projects/light
Tags: #LIGHT-Dialogue, #All,... | 332 | 32.3 | 129 | md |
null | ParlAI-main/parlai/tasks/light_dialog_wild/__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_dialog_wild/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... | 17,210 | 36.496732 | 92 | py |
null | ParlAI-main/parlai/tasks/light_dialog_wild/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 hashlib import sha1
from parlai.tasks.light_dialog_wild.build... | 3,576 | 31.225225 | 84 | py |
null | ParlAI-main/parlai/tasks/light_dialog_wild/builder.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
import io
import os
import json
from parlai.utils.misc import msg_to_str
rand = random.Random(42)
# TOD... | 28,587 | 38.269231 | 195 | py |
null | ParlAI-main/parlai/tasks/light_dialog_wild/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_dialog_w... | 325 | 26.166667 | 65 | py |