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/xpersona/test/xpersona_Id_test.yml
acts: - - episode_done: false eval_labels: - saya baik, saya baru saja pulang kerja dan lelah, saya punya dua pekerjaan. id: xpersona:Id reward: 0 text: 'your persona:saya membaca dua puluh buku dalam setahun. your persona:Saya seorang akrobat ganda sebagai pekerjaan sampingan saya. yo...
1,432
30.844444
86
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Id_train.yml
acts: - - episode_done: false id: xpersona:Id labels: - Anda pasti sangat cepat. berburu adalah salah satu hobi favorit saya. reward: 0 text: 'your persona:Saya suka merombak rumah. your persona:saya suka pergi berburu. your persona:saya suka menembak busur. your persona:liburan...
1,394
30
88
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Id_valid.yml
acts: - - episode_done: false eval_labels: - saya baik-baik saja. hanya bersantai dengan kedua anjing saya. id: xpersona:Id reward: 0 text: 'your persona:saya punya dua anjing. your persona:Saya suka mengurus mobil vintage. your persona:musik favorit saya adalah country. your pe...
1,423
31.363636
86
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_It_test.yml
acts: - - episode_done: false eval_labels: - sto bene, sono appena uscito dal lavoro e sono stanco, ho due lavori. id: xpersona:It reward: 0 text: 'your persona:leggo venti libri all''anno. your persona:sono una controfigura come secondo lavoro. your persona:mangio solo kosher. ...
1,307
29.418605
90
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_It_train.yml
acts: - - episode_done: false id: xpersona:It labels: - devi essere molto veloce. la caccia è uno dei miei hobby preferiti. reward: 0 text: 'your persona:mi piace ristrutturare le case. your persona:mi piace andare a caccia. your persona:mi piace tirare un inchino. your persona:...
1,359
29.909091
92
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_It_valid.yml
acts: - - episode_done: false eval_labels: - Sto andando alla grande . mi sto solo rilassando con i miei due cani. id: xpersona:It reward: 0 text: 'your persona:ho due cani. your persona:mi piace lavorare su auto d''epoca. your persona:la mia musica preferita è il Country. your ...
1,314
28.886364
83
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Jp_test.yml
acts: - - episode_done: false eval_labels: - 元気です。ちょうど仕事が終わって疲れました。私は2つの仕事をしています。 id: xpersona:Jp reward: 0 text: 'your persona:私は年間20冊の本を読みました。 your persona:私は私の2番目の仕事を兼ねたスタントです。 your persona:私はコーシャだけを食べます。 your persona:私はひとり親家庭で育ちました。 こんにちは今日は何をしていますか?' - - episode_done...
929
21.142857
51
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Jp_train.yml
acts: - - episode_done: false id: xpersona:Jp labels: - あなたは非常に速くなければなりません。狩猟は私の好きな趣味の1つです。 reward: 0 text: 'your persona:私は家を改造するのが好きです。 your persona:私は狩りに行くのが好きです。 your persona:私は弓を撃つのが好きです。 your persona:私のお気に入りの休日はハロウィーンです。 こんにちは、元気ですか?私はチーターを追いかけて体調を整える準備をしています。' - - ...
927
21.095238
50
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Jp_valid.yml
acts: - - episode_done: false eval_labels: - 私は元気です。私の2匹の犬とリラックスしています。 id: xpersona:Jp reward: 0 text: 'your persona:私は2匹の犬を飼っています。 your persona:ヴィンテージカーで仕事をするのが好きです。 your persona:私の好きな音楽は田舎です。 your persona:私は2つのビンテージマスタングを所有しています。 こんばんは !今夜はどうお過ごしですか?' - - episode_done: ...
991
22.619048
61
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Ko_test.yml
acts: - - episode_done: false eval_labels: - 나는 좋아, 나는 방금 퇴근 했어 그리고 피곤해, 나는 두 직업을 가지고 있어. id: xpersona:Ko reward: 0 text: 'your persona:나는 일년에 20권의 책을 읽어. your persona:난 두 번째 직업으로 대역이야 your persona:나는 오직 코셔만 먹어. your persona:나는 한 부모 가정에서 자랐어. 안녕, 오늘 뭐하니?' - - episode_done...
944
21.5
61
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Ko_train.yml
acts: - - episode_done: false id: xpersona:Ko labels: - 너는 매우 빨라야 한다. 사냥은 내가 가장 좋아하는 취미중의 하나이다. reward: 0 text: 'your persona:나는 집을 개조하는 것을 좋아한다. your persona:나는 사냥 가는 것을 좋아한다. your persona:나는 활 쏘는 것을 좋아한다. your persona:내가 가장 좋아하는 휴일은 할로윈이다. 안녕, 어떻게 지내니? 나는 몸매를 유지하기 위해 치타...
1,009
23.047619
72
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Ko_valid.yml
acts: - - episode_done: false eval_labels: - 나는 아주 잘 지내고 있어. 그냥 내 두 마리의 개와 함께 쉬고 있을 뿐이야. id: xpersona:Ko reward: 0 text: 'your persona:나는 두 마리의 개를 가지고 있어. your persona:나는 빈티지 카에 대해 일하는 것을 좋아해. your persona:내가 가장 좋아하는 음악은 컨트리야 your persona:나는 빈티지 무스탕 두 개를 가지고 있어. 안녕! 오늘 밤 ...
1,033
23.619048
67
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Zh_test.yml
acts: - - episode_done: false eval_labels: - 我很好,我刚下班很累,我有两份工作。 id: xpersona:Zh reward: 0 text: 'your persona:我一年读二十本书。 your persona:我的第二份工作是做特技。 your persona:我只吃犹太洁食。 your persona:我在单亲家庭中长大。 你好,今天在做什么?' - - episode_done: false eval_labels: - 我更喜欢看书,今年我已经看了20本书。 ...
785
17.714286
35
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Zh_train.yml
acts: - - episode_done: false id: xpersona:Zh labels: - 你必须很快。狩猎是我最喜欢的爱好之一。 reward: 0 text: 'your persona:我喜欢装修房屋。 your persona:我喜欢打猎。 your persona:我喜欢打弓。 your persona:我最喜欢的假期是万圣节。 嗨,你好吗 ?我准备做一些猎豹追捕以保持体形。' - - episode_done: false id: xpersona:Zh labels: - 当我不狩...
803
18.142857
36
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_Zh_valid.yml
acts: - - episode_done: false eval_labels: - 我很好 。和我的两只狗一起放松。 id: xpersona:Zh reward: 0 text: 'your persona:我有两只狗。 your persona:我喜欢在老爷车上工作。 your persona:我最喜欢的音乐是乡村。 your persona:我拥有两个老式野马。 嗨!你今晚过得怎么样?' - - episode_done: false eval_labels: - 那很好 。您从事什么样的志愿工作? i...
819
18.52381
35
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_test.yml
acts: - - episode_done: false eval_labels: - i am good , i just got off work and tired , i have two jobs . id: xpersona reward: 0 text: 'your persona:i read twenty books a year. your persona:i''m a stunt double as my second job. your persona:i only eat kosher. your persona:i was...
1,211
27.186047
82
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_train.yml
acts: - - episode_done: false id: xpersona labels: - you must be very fast . hunting is one of my favorite hobbies . reward: 0 text: 'your persona:i like to remodel homes. your persona:i like to go hunting. your persona:i like to shoot a bow. your persona:my favorite holiday is ...
1,285
28.227273
86
yml
null
ParlAI-main/parlai/tasks/xpersona/test/xpersona_valid.yml
acts: - - episode_done: false eval_labels: - hey there ! i'm just taking a break from baking . whats up ? id: xpersona reward: 0 text: 'your persona:i''m a nurse. your persona:i am a great baker. your persona:i surf often. your persona:i was an army brat. __SILENCE__' - -...
1,314
26.978723
84
yml
null
ParlAI-main/parlai/torchscript/README.md
# Agent exported to TorchScript (JIT compilation) This agent will read in a ParlAI agent that has been exported to TorchScript with JIT compilation, for use in greedy-search inference on CPU. This allows inference to be run on models without using any ParlAI overhead, either for tokenization or for the forward passes ...
1,172
40.892857
330
md
null
ParlAI-main/parlai/torchscript/__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/torchscript/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 List import torch from parlai.core.agents import Agent from parlai.core.message import Message from...
2,242
30.591549
88
py
null
ParlAI-main/parlai/torchscript/modules.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 collections import defaultdict from typing import Dict, List, Optional, Tuple import torch.jit from parlai.agents....
21,156
40.403131
93
py
null
ParlAI-main/parlai/torchscript/tokenizer.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 Dict, List, Tuple import torch.jit def is_alnum_or_underscore(ch: str): """ A helper funct...
22,843
32.011561
88
py
null
ParlAI-main/parlai/torchscript/scripts/__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/torchscript/scripts/test_exported_model.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 typing import List import torch.jit from parlai.utils.io import PathManager def test_exported_m...
1,350
26.571429
108
py
null
ParlAI-main/parlai/utils/__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/utils/bpe.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. """ Byte pair encoding (BPE). Lots of BPE things for ParlAI """ from parlai.core.params import ParlaiParser from abc i...
31,614
31.031408
108
py
null
ParlAI-main/parlai/utils/conversations.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. """ Utility methods for conversations format. """ import datetime import json import os import itertools from parlai.uti...
10,369
29.057971
88
py
null
ParlAI-main/parlai/utils/curated_response.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 """ Functions to generate safe curated response that repalce an Agent's main response. """ ############...
6,033
27.196262
98
py
null
ParlAI-main/parlai/utils/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. """ Utilities related to handling data. """ import random from typing import List class DatatypeHelper: """ Hel...
6,447
31.24
448
py
null
ParlAI-main/parlai/utils/distributed.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. """ Useful utilities for training in distributed mode. Many of these functions act as wrappers which perform no-ops if...
11,398
29.560322
125
py
null
ParlAI-main/parlai/utils/flake8.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. """ Custom flake8 rules for ParlAI. Includes: - Checks for python3 shebang - Check for copyright message - Docformatter...
3,423
32.242718
85
py
null
ParlAI-main/parlai/utils/fp16.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. """ Utility methods for mixed precision training. """ import math from itertools import chain from typing import Optiona...
31,338
34.775114
102
py
null
ParlAI-main/parlai/utils/fsdp.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. """ Utility functions for FullyShardedDataParallel. """ import contextlib import functools import torch import torch.dis...
7,824
24.825083
125
py
null
ParlAI-main/parlai/utils/io.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. try: from iopath.common.file_io import PathManager as _PathManager except ImportError: try: from fvcore....
901
29.066667
77
py
null
ParlAI-main/parlai/utils/logging.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os import sys import logging from logging import getLogger # noqa: F401 try: import coloredlogs COLORED...
4,916
24.215385
82
py
null
ParlAI-main/parlai/utils/misc.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. """ File for miscellaneous utility functions and constants. """ from collections import deque, OrderedDict from typing i...
23,309
28.210526
94
py
null
ParlAI-main/parlai/utils/pickle.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. """ ParlAI's custom unpickler. As modules move around or are renamed, it old torch model files become invalid, since th...
1,714
29.087719
82
py
null
ParlAI-main/parlai/utils/safety.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. """ Utility functions and classes for detecting offensive language. """ from parlai.agents.transformer.transformer impor...
8,816
30.265957
88
py
null
ParlAI-main/parlai/utils/strings.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. """ Utility functions and classes for handling text strings. """ import os import sys as _sys def normalize_reply(text:...
5,006
30.490566
84
py
null
ParlAI-main/parlai/utils/testing.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. """ General utilities for helping writing ParlAI unit and integration tests. """ import os import unittest import conte...
14,483
26.694073
88
py
null
ParlAI-main/parlai/utils/torch.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. """ Utility methods for dealing with torch code. """ import os from typing import Union, Optional, Tuple, Any, List, Siz...
22,580
35.717073
88
py
null
ParlAI-main/parlai/utils/typing.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. """ Definitions of general ParlAI types. """ from typing import Any, Dict, TypeVar, Union, List import torch class _S...
944
25.25
88
py
null
ParlAI-main/parlai/utils/world_logging.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. """ Useful utilities for logging actions/observations in a world. """ from typing import Optional from parlai.core.para...
5,957
30.193717
83
py
null
ParlAI-main/parlai/zoo/README.md
The set of reference models in ParlAI ("model zoo"). Each directory contains a stored reference model (or set of related models). Typically this is the stored model from training one of the ParlAI agents on one or more of the ParlAI tasks. The list of models can also be found in the documentation: http://www.parl.ai/...
430
42.1
186
md
null
ParlAI-main/parlai/zoo/__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/zoo/model_list.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. # flake8: noqa """ The Model Zoo. This file contains a list of all the models in the model zoo, the path to load them,...
176,765
55.027258
1,010
py
null
ParlAI-main/parlai/zoo/bart/__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/zoo/bart/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. """ This downloads a pretrained language model BART (Lewis et al. https://arxiv.org/abs/1910.13461). It requires you to...
2,295
30.452055
84
py
null
ParlAI-main/parlai/zoo/bb3/MODEL_LICENSE.md
<h2 align="center"> BB3 LICENSE AGREEMENT </h2> This License Agreement (as may be amended in accordance with this License Agreement, **“License”**), between you, or your employer or other entity (if you are entering into this agreement on behalf of your employer or other entity) (**“Licensee”** or **“you”**) and Meta ...
11,016
165.924242
1,343
md
null
ParlAI-main/parlai/zoo/bb3/__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/zoo/bb3/bb3_3B.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. """ BB3, 3B. """ from parlai.core.build_data import built, download_models, get_model_dir import os import os.path def ...
678
29.863636
81
py
null
ParlAI-main/parlai/zoo/bb3/data_card.md
# BlenderBot 3 175B data card ## Motivation **For what purpose was the dataset created? Was there a specific task in mind? Was there a specific gap that needed to be filled? Please provide a description.** The several datasets used for fine-tuning BlenderBot 3 were created with various specific tasks in mind. The maj...
15,352
97.416667
935
md
null
ParlAI-main/parlai/zoo/bb3/model_card.md
# BlenderBot 3 175B model card BlenderBot 3 175B Model. See [project page](https://github.com/facebookresearch/ParlAI/blob/main/projects/bb3) for more details. - Developed by Meta AI using [Metaseq](https://github.com/facebookresearch/metaseq) and [ParlAI](https://parl.ai/) - Model started training on June 15, 2022 -...
31,915
82.114583
990
md
null
ParlAI-main/parlai/zoo/bb3/persona_summarizer.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. """ BB3, 3B. """ from parlai.core.build_data import built, download_models, get_model_dir import os import os.path def ...
690
30.409091
81
py
null
ParlAI-main/parlai/zoo/bb3/images/__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/zoo/bert/__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/zoo/bert/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. """ This downloads a pretrained language model BERT (Devlin et al. https://arxiv.org/abs/1810.04805). It relies on the ...
1,222
32.054054
80
py
null
ParlAI-main/parlai/zoo/blended_skill_talk/__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/zoo/blended_skill_talk/bst_single_task.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. """ Pretrained polyencoder retrieval model on the BlendedSkillTalk dialogue task. """ from parlai.core.build_data import...
677
26.12
77
py
null
ParlAI-main/parlai/zoo/blended_skill_talk/convai2_single_task.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. """ Pretrained polyencoder retrieval model on the ConvAI2 dialogue task. """ from parlai.core.build_data import download...
672
25.92
68
py
null
ParlAI-main/parlai/zoo/blended_skill_talk/ed_single_task.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. """ Pretrained polyencoder retrieval model on the EmpatheticDialogues dialogue task. """ from parlai.core.build_data imp...
679
26.2
80
py
null
ParlAI-main/parlai/zoo/blended_skill_talk/multi_task.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. """ Pretrained polyencoder retrieval model trained on the ConvAI2, EmpatheticDialogues, and Wizard of Wikipedia dialogue ...
718
26.653846
87
py
null
ParlAI-main/parlai/zoo/blended_skill_talk/multi_task_bst_tuned.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. """ Pretrained polyencoder retrieval model trained on the ConvAI2, EmpatheticDialogues, and Wizard of Wikipedia dialogue ...
763
28.384615
87
py
null
ParlAI-main/parlai/zoo/blended_skill_talk/wizard_single_task.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. """ Pretrained polyencoder retrieval model on the Wizard of Wikipedia dialogue task. """ from parlai.core.build_data imp...
683
26.36
80
py
null
ParlAI-main/parlai/zoo/blender/__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/zoo/blender/blender_1Bdistill.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. """ 2.7B parameter Blender model distilled to 1.4B parameters (~2x inference speedup). Please see <parl.ai/project/blen...
539
20.6
82
py
null
ParlAI-main/parlai/zoo/blender/blender_3B.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. """ 2.7B parameter Blender model: please see <parl.ai/project/blender>. """ from .build import build VERSION = 'v1.0' ...
421
22.444444
74
py
null
ParlAI-main/parlai/zoo/blender/blender_400Mdistill.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. """ 2.7B parameter Blender model distilled to 360M parameters (~5x inference speedup). Please see <parl.ai/project/blen...
543
20.76
82
py
null
ParlAI-main/parlai/zoo/blender/blender_90M.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. """ 90M parameter Blender model: please see <parl.ai/project/blender>. """ from .build import build VERSION = 'v1.0' ...
421
22.444444
75
py
null
ParlAI-main/parlai/zoo/blender/blender_9B.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. """ 9.4B parameter Blender model: please see <parl.ai/project/blender>. """ from .build import build VERSION = 'v1.0' ...
421
22.444444
74
py
null
ParlAI-main/parlai/zoo/blender/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. """ Blender models: please see <parl.ai/project/blender>. """ import os from parlai.core.build_data import download_mod...
882
28.433333
83
py
null
ParlAI-main/parlai/zoo/blender/dict_3B.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. """ 3B parameter Blender dictionary file: please see https://parl.ai/project/recipes. """ from .build import build VER...
436
23.277778
81
py
null
ParlAI-main/parlai/zoo/blender/dict_90M.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. """ 90M parameter Blender dictionary file: please see https://parl.ai/project/recipes. """ from .build import build VE...
439
23.444444
82
py
null
ParlAI-main/parlai/zoo/blender/reddit_3B.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. """ 2.7B parameter Reddit model: please see <parl.ai/project/blender>. """ from .build import build VERSION = 'v1.0' ...
425
22.666667
79
py
null
ParlAI-main/parlai/zoo/blender/reddit_9B.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. """ 9.4B parameter Reddit model: please see <parl.ai/project/blender>. """ from .build import build VERSION = 'v1.0' ...
425
22.666667
79
py
null
ParlAI-main/parlai/zoo/blenderbot2/__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/zoo/blenderbot2/blenderbot2_3B.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. """ BB2, 3B. """ from parlai.core.build_data import built, download_models, get_model_dir import os import os.path def ...
724
29.208333
76
py
null
ParlAI-main/parlai/zoo/blenderbot2/blenderbot2_400M.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. """ BB2, 400m. """ from parlai.core.build_data import built, download_models, get_model_dir import os import os.path de...
728
29.375
76
py
null
ParlAI-main/parlai/zoo/blenderbot2/memory_decoder.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. """ Memory Decoder for BB2. """ from parlai.core.build_data import built, download_models, get_model_dir import os import...
739
29.833333
76
py
null
ParlAI-main/parlai/zoo/blenderbot2/model_card.md
# BlenderBot 2.0 2.7B On this page, you can learn more about how well BlenderBot 2.0 performs on open-domain dialogues and how the model is developed. - Developed by Facebook AI Research using [ParlAI](https://parl.ai/) <!-- - Type of model: projects.blenderbot2.agents.blenderbot2:BlenderBot2FidAgent --> ...
11,887
36.739683
706
md
null
ParlAI-main/parlai/zoo/blenderbot2/query_generator.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. """ Query Generator for BB2. """ from parlai.core.build_data import built, download_models, get_model_dir import os impor...
741
29.916667
76
py
null
ParlAI-main/parlai/zoo/bot_adversarial_dialogue/__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/zoo/bot_adversarial_dialogue/multi_turn.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. """ Classifier trained on dialogue safety datasets: WikiToxicComments, Build it Break it Fix it standard and adversarial ...
801
28.703704
88
py
null
ParlAI-main/parlai/zoo/bot_adversarial_dialogue/multi_turn_v0.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. """ Classifier trained on dialogue safety datasets: WikiToxicComments, Build it Break it Fix it standard and adversarial ...
803
28.777778
88
py
null
ParlAI-main/parlai/zoo/dialogue_bias/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/zoo/dialogue_bias/gender__ctrl_gen_tokens.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. """ BlenderBot3B model tuned with the control-generation technique (based on the amount of gender over-indexing per token...
752
27.961538
86
py
null
ParlAI-main/parlai/zoo/dialogue_bias/gender__name_scrambling.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. """ BlenderBot3B model tuned with the name-scrambling technique to have lower gender bias. """ from parlai.core.build_da...
689
26.6
86
py
null
ParlAI-main/parlai/zoo/dialogue_bias/gender__unlikelihood_sequence_level.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. """ BlenderBot3B model tuned with the (sequence-level) unlikelihood training technique to have lower gender bias. """ fr...
724
26.884615
85
py
null
ParlAI-main/parlai/zoo/dialogue_bias/gender_ethnicity__name_scrambling.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. """ BlenderBot3B model tuned with the name-scrambling technique to have lower gender and race/ethnicity bias. """ from p...
718
26.653846
84
py
null
ParlAI-main/parlai/zoo/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/zoo/dialogue_safety/multi_turn.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. """ Pretrained BERT Classifer model on the multi-turn adversarial dialogue safety task. """ from parlai.core.build_data ...
559
28.473684
83
py
null
ParlAI-main/parlai/zoo/dialogue_safety/single_turn.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. """ Pretrained Transformer Classifer model on the single-turn adversarial and standard dialogue safety tasks. """ from p...
581
28.1
82
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/__init__.py
0
0
0
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/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. """ Dialogue Unlikelihood models: please see <parl.ai/projects/dialogue_unlikelihood>. """ import os from parlai.core.b...
719
30.304348
88
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_convai2_ctxt.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. """ Context repetition unlikelihood on ConvAI2: please see. <parl.ai/projects/dialogue_unlikelihood>. """ from .build ...
511
19.48
65
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_convai2_ctxt_and_label.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. """ Context and label repetition unlikelihood on ConvAI2: please see. <parl.ai/projects/dialogue_unlikelihood>. """ fr...
541
20.68
65
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_convai2_label.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. """ Label repetition unlikelihood on ConvAI2: please see. <parl.ai/projects/dialogue_unlikelihood>. """ from .build im...
511
19.48
65
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_eli5_ctxt.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. """ Context repetition unlikelihood on ELI5: please see. <parl.ai/projects/dialogue_unlikelihood>. """ from .build imp...
463
22.2
88
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_eli5_ctxt_and_label.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. """ Context and label repetition unlikelihood on ELI5: please see. <parl.ai/projects/dialogue_unlikelihood>. """ from ...
532
20.32
65
py