Questions tagged [parlai]

Use this tag for questions concerning ParlAI, a unified platform for sharing, training and evaluating dialogue models across many tasks.

Use this tag for questions concerning ParlAI (pronounced “par-lay”), a Python framework for sharing, training and testing dialogue models, from open-domain chitchat to VQA (Visual Question Answering).

Many popular datasets are available all in one place, with the same API, such as PersonaChat, DailyDialog, Wizard of Wikipedia, Empathetic Dialogues, SQuAD, MS MARCO, QuAC, HotpotQA, QACNN & QADailyMail, CBT, BookTest, bAbI Dialogue tasks, Ubuntu Dialogue, OpenSubtitles, Image Chat, VQA, VisDial and CLEVR.

ParlAI has a wide set of reference models, from retrieval baselines to Transformers. Off-the-shelf seamless integration of Amazon Mechanical Turk for data collection and human evaluation. integration with Facebook Messenger to connect agents with humans in a chat interface. ParlAI also has a large range of helpers to create your own agents and train on several tasks with multitasking.

12 questions
3
votes
1 answer

NLP - Specify custom vocabulary / word list for text generation

I'm experimenting with text generators, like OpenAI's GPT-2, Hugging Face's transformers, and Facebook's ParlAI, and I'm wondering if I can limit or weight the output to a specified list of words? For example, how can I limit the output to only…
philipkd
  • 910
  • 7
  • 20
3
votes
0 answers

Torch's loss.backward() hanged on ParlAI

I am interested in Memory Networks and Movie Dialog QA. Recently facebook announced AI training framework called ParlAI, which supports many models and datasets. Although I tried below command on ParlAI, the training stopped at first loss.backward()…
jef
  • 3,890
  • 10
  • 42
  • 76
2
votes
2 answers

How to run a ParlAI Blender chat bot?

I wish to play with the Blender chatbot, but most of scripts on the Quick Start or Recipes pages won't work. For example From https://parl.ai/projects/recipes/ python parlai/scripts/safe_interactive.py -t blended_skill_talk -mf…
Lutosław
  • 606
  • 7
  • 24
2
votes
0 answers

install/import Pytorch on mac osx / python 3.7

I have torch all installed in a virtual env, but python cannot seem to import it. (venv) ➜ ParlAI git:(master) pip install torch Requirement already satisfied: torch in ./venv/lib/python3.7/site-packages (1.3.1) Requirement already satisfied: numpy…
dcsan
  • 11,333
  • 15
  • 77
  • 118
1
vote
1 answer

How to retrieve results for a ParlAI Mturk sandbox assignment?

I'm running a ParlAI task on Mturk sandbox using Mephisto. I'm using the "ParlAI Chat Task" code and followed the instructions given here. I'm running the task from the ParlAI repo directory ParlAI/parlai/crowdsourcing/tasks/chat_demo using the…
arulmr
  • 8,620
  • 9
  • 54
  • 69
1
vote
0 answers

Trying to train a ParlAI chatbot model. ImportError: DLL load failed: The specified procedure could not be found

I seem to be getting this error: File "examples/train_model.py", line 12, in from parlai.scripts.train_model import TrainLoop, setup_args File…
Aldin Yusmar
  • 71
  • 1
  • 2
  • 9
1
vote
1 answer

How can I run a HIT Task with ParlAi and MTurk

I tried to follow this tutorial on publishing a HIT Task on MTurk using ParlAI: how to setup a task with parlAI The tutorial says that I should run the following code in order to run the task on sandbox: $ python run.py -nh 2 -r 0.05 --sandbox…
Rainer Winkler
  • 485
  • 1
  • 7
  • 20
1
vote
1 answer

ModuleNotFoundError only occurred in conda environment

I usually use conda environments for my developing, but I faced strange problems in conda env. I cloned this python repository. Then, I tried to run a example, but it failed ModuleNotFoundError even there is exactly parlai directory. (torch) $ which…
jef
  • 3,890
  • 10
  • 42
  • 76
0
votes
1 answer

How to set Blenderbot2 search server in google collab?

I have a blenderbot2 notebook in google collab (https://colab.research.google.com/drive/1ShpZlXMslxdS56OmNfvanqZT-3TRUuLf#scrollTo=u6BYFz39ynHF) I run blenderbot2 using the following interactive mode !parlai interactive -mf…
somethingstrang
  • 1,079
  • 2
  • 14
  • 29
0
votes
1 answer

Why am I getting these tracebacks?

I'm currently trying out ParlAi by following the quickstart from the documentation. I already installed ParlAi and currently on "View a task & train a model" but when I run the code parlai display_data --task babi:task10k:1, I got these tracebacks…
Aldin Yusmar
  • 71
  • 1
  • 2
  • 9
0
votes
1 answer

ModuleNotFoundError: No module named 'mephisto.core'

I'm using the latest version of Mephisto on macOS Catalina. I am trying to run ParlAI, and specifically the acute_eval task. According to the Instructions of both Mephisto and AcuteEVAL, I should be able to execute run.py and get the task running.…
Moh
  • 1,887
  • 3
  • 18
  • 29
0
votes
0 answers

Im having Trouble with Parlai blenderbot on google collab

I am having difficulty running blenderbot on google collab. Is this a good platform to use this code on? What else will need to be installed on my device?
JRDAG
  • 11