Repository: facebookresearch/ParlAI

Issue:
Reddit Movie Dialog no longer exists
**Bug description**
[Reddit Movie Dialog](https://parl.ai/docs/tasks.html#movie-dialog-reddit) no longer exists.

**Reproduction steps**
```
TrainModel.main(
    # similar to before
    task='empathetic_dialogues,blended_skill_talk,movie_dialog_reddit,convai2,persona_chat', 
    model='transformer/generator',
    model_file='from_pretrained/model',
    
    # initialize with a pretrained model
    init_model='zoo:tutorial_transformer_generator/model',
    
    # arguments we get from the pretrained model.
    # Unfortunately, these must be looked up separately for each model.
    n_heads=16, n_layers=8, n_positions=512, text_truncate=512,
    label_truncate=128, ffn_size=2048, embedding_size=512,
    activation='gelu', variant='xlm',
    dict_lower=True, dict_tokenizer='bpe',
    dict_file='zoo:tutorial_transformer_generator/model.dict',
    learn_positional_embeddings=True,
    
    # some training arguments, specific to this fine-tuning
    # use a small learning rate with ADAM optimizer
    lr=1e-5, optimizer='adam',
    warmup_updates=100,
    # early stopping on perplexity
    validation_metric='ppl',
    # train at most 10 minutes, and validate every 0.25 epochs
    max_train_time=600, validation_every_n_epochs=0.25,
    
    # depend on your gpu. If you have a V100, this is good
    batchsize=12, fp16=True, fp16_impl='mem_efficient',
    
    # speeds up validation
    skip_generation=True,
    
    # helps us cram more examples into our gpu at a time
    dynamic_batching='full',
)
```

**Logs**
Please paste the command line output:

```
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-39-ff3044de39fe> in <module>()
     36 
     37     # helps us cram more examples into our gpu at a time
---> 38     dynamic_batching='full',
     39 )

15 frames
/usr/lib/python3.6/importlib/_bootstrap.py in _find_and_load_unlocked(name, import_)

ModuleNotFoundError: No module named 'parlai.tasks.movie_dialog_reddit'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------```



Discussion:
Nevermind, it's the documentation that needs updating. Just checked the source and it's in there. The problem is the docs don't link there (some are even broken). It'd be nice to also have the identifiers for the tasks in the docs 🙂 
Reopening for a maintainer to triage and comment
Did you happen to keep the rest of the stacktrace?
I think the rest were just generic pip install examples
This issue has not had activity in 30 days. Please feel free to reopen if you have more issues. You may apply the "never-stale" tag to prevent this from happening.
Sorry, what's going wrong with this?
It looks like it's supposed to be `movie_dialogue` maybe? I don't remember a task called `movie_dialog_reddit`. Did we delete it?

I don't see any docs that refer to `movie_dialog_reddit` anywhere
Oh I see, found the link you added. Okay, the "code" link is correct, but you inferred from the title.

Got it, good call out.

Resolving patch:
diff --git a/docs/source/generate_task_list.py b/docs/source/generate_task_list.py
--- a/docs/source/generate_task_list.py
+++ b/docs/source/generate_task_list.py
@@ -45,6 +45,7 @@
 
         urls_md = ", ".join(f"[{k}]({v})" for k, v in urls)
         fout.write(f"### {display_name}\n")
+        fout.write(f"_Usage_:  `--task {task}`\n\n")
         fout.write(f"_Links_:  {urls_md}\n\n")
         if description:
             fout.write(description + "\n")


Test patch: