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/zoo/dialogue_unlikelihood/rep_eli5_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 ELI5: please see. <parl.ai/projects/dialogue_unlikelihood>. """ from .build impor...
477
20.727273
87
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_wiki_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 Wizard of Wikipedia: please see. <parl.ai/projects/dialogue_unlikelihood>. """ ...
478
22.95
88
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_wiki_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 Wizard of Wikipedia: please see. <parl.ai/projects/dialogue_unlikeliho...
547
20.92
77
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/rep_wiki_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 Wizard of Wikipedia: please see. <parl.ai/projects/dialogue_unlikelihood>. """ fr...
492
21.409091
87
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/vocab_alpha1e0.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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/projects/dialogue_unlikelihood>. """ from .build import build VER...
465
22.3
87
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/vocab_alpha1e1.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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/projects/dialogue_unlikelihood>. """ from .build import build VER...
465
22.3
87
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/vocab_alpha1e2.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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/projects/dialogue_unlikelihood>. """ from .build import build VER...
465
22.3
87
py
null
ParlAI-main/parlai/zoo/dialogue_unlikelihood/vocab_alpha1e3.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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/projects/dialogue_unlikelihood>. """ from .build import build VER...
465
22.3
87
py
null
ParlAI-main/parlai/zoo/dodecadialogue/__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/dodecadialogue/all_tasks_mt.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'all_tasks_mt')
318
28
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/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. """ Pretrained models from The Dialogue Dodecathlon. The dodecadialogue_v2.tgz file is always downloaded, and contains 1...
1,209
32.611111
87
py
null
ParlAI-main/parlai/zoo/dodecadialogue/convai2_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'convai2_ft')
316
27.818182
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/cornell_movie_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'cornell_movie_ft'...
322
28.363636
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/daily_dialog_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'daily_dialog_ft')...
321
28.272727
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/eli5_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'eli5_ft')
313
27.545455
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/empathetic_dialogues_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'empathetic_dialog...
329
29
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/igc_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'igc_ft')
312
27.454545
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/image_chat_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'image_chat_ft')
319
28.090909
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/light_dialog_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'light_dialog_ft')...
321
28.272727
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/reddit_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'reddit_ft')
315
27.727273
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/twitter_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'twitter_ft')
316
27.818182
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/ubuntu_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'ubuntu_ft')
315
27.727273
65
py
null
ParlAI-main/parlai/zoo/dodecadialogue/wizard_of_wikipedia_ft.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download as download_dodeca def download(datapath): download_dodeca(datapath, 'wizard_of_wikiped...
328
28.909091
65
py
null
ParlAI-main/parlai/zoo/fasttext_cc_vectors/__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/fasttext_cc_vectors/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. """ Fastext Common Crawl vectors, e.g. use with filename "models:fasttext_cc_vectors/crawl-300d-2M.vec". """ import os i...
618
25.913043
85
py
null
ParlAI-main/parlai/zoo/fasttext_vectors/__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/fasttext_vectors/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. """ Fastext vectors, e.g. use with filename "models:fasttext_vectors/wiki.en.vec". """ import os import torchtext.vocab ...
574
25.136364
78
py
null
ParlAI-main/parlai/zoo/fits/__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/fits/bart_sq_gen.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Finetuned search query generator (module supervision) """ from parlai.core.build_data import built, download_models, ...
744
32.863636
82
py
null
ParlAI-main/parlai/zoo/fits/bb2_module_supervision.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 Summarization Model 3B. """ from parlai.core.build_data import built, download_models, get_model_dir import ...
734
32.409091
82
py
null
ParlAI-main/parlai/zoo/fits/director_bb2_module.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 Summarization Model 3B. """ from parlai.core.build_data import built, download_models, get_model_dir import ...
731
32.272727
82
py
null
ParlAI-main/parlai/zoo/fits/director_seeker_module.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ MSC 3B truncate 1024. """ from parlai.core.build_data import built, download_models, get_model_dir import os import o...
723
31.909091
82
py
null
ParlAI-main/parlai/zoo/fits/response_satisfaction.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ SumMem-MSC 3B FiD-RAG. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
723
31.909091
82
py
null
ParlAI-main/parlai/zoo/fits/seeker_module_supervision.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ SumMem-MSC 3B RAG. """ from parlai.core.build_data import built, download_models, get_model_dir import os import os.p...
723
31.909091
82
py
null
ParlAI-main/parlai/zoo/glove_vectors/__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/glove_vectors/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. """ Glove vectors. """ import os import torchtext.vocab as vocab def download(datapath): vocab.GloVe.url['840B'] =...
493
25
85
py
null
ParlAI-main/parlai/zoo/gpt3/__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/gpt3/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. def download(datapath): pass
233
25
65
py
null
ParlAI-main/parlai/zoo/hallucination/__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/hallucination/bart_fid_dpr.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
740
29.875
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_fid_rag.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
741
29.916667
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_fid_rag_dpr_poly.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
749
30.25
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_rag_dpr_poly.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
745
30.083333
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_rag_sequence.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
745
30.083333
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_rag_token.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
742
29.958333
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_rag_turn_do.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
744
30.041667
78
py
null
ParlAI-main/parlai/zoo/hallucination/bart_rag_turn_dtt.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
745
30.083333
78
py
null
ParlAI-main/parlai/zoo/hallucination/dropout_poly.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
740
29.875
78
py
null
ParlAI-main/parlai/zoo/hallucination/multiset_dpr.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
892
27.806452
72
py
null
ParlAI-main/parlai/zoo/hallucination/wiki_index_compressed.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Articles from Wikipedia that show up in the WoW dataset. """ from parlai.core.build_data import built, download_model...
791
32
78
py
null
ParlAI-main/parlai/zoo/hallucination/wiki_index_exact.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Articles from Wikipedia that show up in the WoW dataset. """ from parlai.core.build_data import built, download_model...
778
31.458333
78
py
null
ParlAI-main/parlai/zoo/hallucination/wiki_passages.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Pre-trained DPR Model. """ import gzip import os import os.path from parlai.core.build_data import built, download a...
1,079
29
78
py
null
ParlAI-main/parlai/zoo/hallucination/wow_passages.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Articles from Wikipedia that show up in the WoW dataset. """ from parlai.core.build_data import built, download_model...
769
32.478261
79
py
null
ParlAI-main/parlai/zoo/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/zoo/image_chat/transresnet_multimodal.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 Transresnet Multimodal model on the Image-Chat task. """ from parlai.core.build_data import download_mode...
553
26.7
72
py
null
ParlAI-main/parlai/zoo/light/__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/light/biranker_dialogue.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 LIGHT BERT bi-Ranker dialogue model from: https://arxiv.org/pdf/1903.03094.pdf """ from parlai.core.buil...
580
29.578947
82
py
null
ParlAI-main/parlai/zoo/light_whoami/__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/light_whoami/automated_expanded_attention_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Automated Expanded Attention 1024-truncation model. Uses RPA classifier to select which tokens from the input to re-...
522
31.6875
83
py
null
ParlAI-main/parlai/zoo/light_whoami/expanded_and_multiobjective_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Automated Expanded Attention + Multi-Objective. Combines both expanded attention and multi-objective training object...
514
31.1875
82
py
null
ParlAI-main/parlai/zoo/light_whoami/multiobjective.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Multiobjective (Vanilla 128), Decoder-Only Outputs. """ from parlai.zoo.light_whoami.whoami_download import download_...
427
29.571429
76
py
null
ParlAI-main/parlai/zoo/light_whoami/profile_expanded_attention_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Profile Expanded Attention 1024-truncation model. Performs two rounds of expanded attention over the full LIGHT cont...
541
30.882353
87
py
null
ParlAI-main/parlai/zoo/light_whoami/profile_expanded_attention_128.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Profile Expanded Attention 128-truncation model. Performs two rounds of expanded attention over the character names ...
530
32.1875
88
py
null
ParlAI-main/parlai/zoo/light_whoami/rpa_reranker.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ RPA Re-Ranker Model. """ from parlai.zoo.light_whoami.whoami_download import download_with_model_type def download(...
394
27.214286
76
py
null
ParlAI-main/parlai/zoo/light_whoami/rpa_reranker_auto_expanded_attention.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ RPA Re-Ranker Model (for automated expanded attention) """ from parlai.zoo.light_whoami.whoami_download import downlo...
452
31.357143
86
py
null
ParlAI-main/parlai/zoo/light_whoami/rpa_ul_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ RPA Unlikelihood (1024 model) """ from parlai.zoo.light_whoami.whoami_download import download_with_model_type def ...
402
27.785714
76
py
null
ParlAI-main/parlai/zoo/light_whoami/rpa_ul_128.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ RPA Unlikelihood (128 model) """ from parlai.zoo.light_whoami.whoami_download import download_with_model_type def d...
400
27.642857
76
py
null
ParlAI-main/parlai/zoo/light_whoami/test_rpa_reranker.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Test RPA Re-Ranker Model. """ from parlai.zoo.light_whoami.whoami_download import download_with_model_type def down...
404
27.928571
76
py
null
ParlAI-main/parlai/zoo/light_whoami/vanilla_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Vanilla BB3B FT on LIGHT (1024 Truncation) """ from parlai.zoo.light_whoami.whoami_download import download_with_mode...
416
28.785714
76
py
null
ParlAI-main/parlai/zoo/light_whoami/vanilla_128.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Vanilla BB3B FT on LIGHT (128 Truncation) """ from parlai.zoo.light_whoami.whoami_download import download_with_model...
414
28.642857
76
py
null
ParlAI-main/parlai/zoo/light_whoami/whoami_download.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 for downloading whoami models. """ from parlai.core.build_data import built, download_models, get_model_dir i...
738
32.590909
77
py
null
ParlAI-main/parlai/zoo/md_gender/__init__.py
0
0
0
py
null
ParlAI-main/parlai/zoo/md_gender/build.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Classifier trained on the md_gender task. For more info see: <parl.ai/projects/md_gender>. """ from parlai.core.bui...
615
23.64
65
py
null
ParlAI-main/parlai/zoo/msc/__init__.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree.
199
32.333333
65
py
null
ParlAI-main/parlai/zoo/msc/blender3B_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Blender3B truncate 1024. """ from parlai.core.build_data import built, download_models, get_model_dir import os impor...
716
31.590909
81
py
null
ParlAI-main/parlai/zoo/msc/dialog_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. """ Dialogue Summarization Model 3B. """ from parlai.core.build_data import built, download_models, get_model_dir import ...
727
32.090909
81
py
null
ParlAI-main/parlai/zoo/msc/msc3B_1024.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ MSC 3B truncate 1024. """ from parlai.core.build_data import built, download_models, get_model_dir import os import o...
709
31.272727
81
py
null
ParlAI-main/parlai/zoo/msc/summsc_fidrag3B.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ SumMem-MSC 3B FiD-RAG. """ from parlai.core.build_data import built, download_models, get_model_dir import os import ...
715
31.545455
81
py
null
ParlAI-main/parlai/zoo/msc/summsc_rag3B.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ SumMem-MSC 3B RAG. """ from parlai.core.build_data import built, download_models, get_model_dir import os import os.p...
708
31.227273
81
py
null
ParlAI-main/parlai/zoo/multilight/__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/multilight/speaker.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ The speaker prediction model for MultiLIGHT. """ from parlai.zoo.multilight.utils import maybe_download MODEL_NAME...
400
21.277778
65
py
null
ParlAI-main/parlai/zoo/multilight/utils.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from parlai.core.build_data import built, download_models, get_model_dir PROJECT_NAME = 'multilight' VERSION ...
681
33.1
88
py
null
ParlAI-main/parlai/zoo/multilight/utterance_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. """ Utterance generations model for multi-player light (multilight dataset). 2.7B parameter """ from parlai.zoo.multil...
449
21.5
72
py
null
ParlAI-main/parlai/zoo/multilight/utterance_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. """ Utterance generations model for multi-player light (multilight dataset). 400m parameter """ from parlai.zoo.multil...
451
21.6
72
py
null
ParlAI-main/parlai/zoo/multimodal_blenderbot/README.md
# Model card: Multi-Modal BlenderBot Model card for the MMB DegenPos model described in [Multi-Modal Open-Domain Dialogue](https://arxiv.org/abs/2010.01082). ## Model details This model was trained to create a dialogue agent that can converse engagingly about the content of an image as well as about general chitchat....
6,621
44.356164
777
md
null
ParlAI-main/parlai/zoo/multimodal_blenderbot/__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/personality_captions/__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/personality_captions/transresnet.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 Transresnet model on the Personality-Captions task. """ from parlai.core.build_data import download_model...
540
26.05
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/README.md
This directory contains: - pretrained transformers on Reddit and Wikipedia + Toronto Books that can be used as a base for pretraining - pretrained models fine tuned on ConvAI2 for the bi-encoder and poly-encoder The polyencoder scores 89+ on convai2 valid set and is fast enough to interact in real time with 1...
5,267
46.890909
169
md
null
ParlAI-main/parlai/zoo/pretrained_transformers/__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/pretrained_transformers/bi_model_huge_reddit.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/bi_model_huge_wikito.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/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. """ Pretrained model allowing to get the same performances as in https://arxiv.org/abs/1905.01969. """ from parlai.core.b...
758
32
87
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/cross_model_huge_reddit.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/cross_model_huge_wikito.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/model_bi.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/model_poly.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/poly_model_huge_reddit.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/pretrained_transformers/poly_model_huge_wikito.py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and 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 .build import download # noqa: F401
241
33.571429
65
py
null
ParlAI-main/parlai/zoo/saferdialogues/__init__.py
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree.
220
30.571429
61
py